| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Fixes LP Bug #32154.
Change-Id: I9d6ddfedcc39308811ff5264879b45b4847ec4a8
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This introduces volume support for LXC containers in Nova.
The way that this works is that when a device is attached to an
LXC container is that, the xml is parsed to find out which device to
connect to the LXC container, binds the device to the LXC container,
and allow the device through cgroups.
This bug fixes LP: #924601.
Change-Id: I00b41426ae8354b3cd4212655ecb48319a63aa9b
Signed-off-by: Chuck Short <chuck.short@canonical.com>
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Convert ApiError to EC2APIError
* Add new exceptions to replace ApiError where it didn't belong
* Fixes bug 926250
Change-Id: Ia711440ee0313faf8ea8c87e2c0a2f5b39cc55a2
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes bug 932257
Change-Id: I396c3498bca8f3e1a5131db81e6e0d1900b6f09f
|
|/ /
| |
| |
| |
| |
| | |
* Make modules use getLogger(__name__) and log to the result
Change-Id: Ib6d69b4be140ec89affc86ed11e65e422d551df1
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These compute API links were broken, previously referring to
Rackspace URLs with s/v1.0/v1.1/
The links now correctly reference long-lived locations on
docs.openstack.org.
Change-Id: I10efca2868a05982a1783688e374060acf1d0a69
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: If7ad58f131d8b780125df7ecb5c4081014064f72
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| |/ /
| | |
| | |
| | | |
Change-Id: I001b5d18c50b71e68fe6277d5f8558551a0ad377
|
|\ \ \
| |/ /
|/| |
| | | |
blueprint fast-cloning-for-xenserver 1. use_cow_images flag is reused for xenserver to check if copy on write images should be used. 2. image-id is used to tag an image which has already been streamed from glance. 3. If cow is true, when an instance of an image is created for the first time on a given xenserver, the image is streamed from glance and copy on write disk is created for the instance. 4. For subsequent instance creation requests (of the same image), a copy on write disk is created from the base image that is already present on the host. 5. If cow is false, when an instance of an image is created for the first time on a host, the image is streamed from glance and its copy is made to create a virtual disk for the instance. 6. For subsequent instance creation requests, a copy of disk is made for creating the disk for the instance. 7. Snapshot creation code was updated to handle cow=true. Now there can be upto 3 disks in the chain. The base disk needs to be uploaded too. 8. Also added a cache_images flag. Depending on whether the flag is turned on on not, images will be cached on the host."
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Implements blueprint fast-cloning-for-xenserver
1. use_cow_images flag is reused for xenserver to check if copy on write images should be used.
2. image-id is used to tag an image which has already been streamed from glance.
3. If cow is true, when an instance of an image is created for the first time on a given xenserver, the image is streamed from glance and copy on write disk is created for the instance.
4. For subsequent instance creation requests (of the same image), a copy on write disk is created from the base image that is already present on the host.
5. If cow is false, when an instance of an image is created for the first time on a host, the image is streamed from glance and its copy is made to create a virtual disk for the instance.
6. For subsequent instance creation requests, a copy of disk is made for creating the disk for the instance.
7. Snapshot creation code was updated to handle cow=true. Now there can be upto 3 disks in the chain. The base disk needs to be uploaded too.
8. Also added a cache_images flag. Depending on whether the flag is turned on on not, images will be cached on the host.
Change-Id: I54838a24b061c134877f3479c925c6ee78da14bc
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Addresses bug 744462
Rather than ldapdriver.get_user() returning None for non-existent
user, this change implements exception.LDAPUserNotFound to more
closely match the behavior of other drivers (db).
Change was made in public method only, and _check_user_exists()
which uses get_user() now catches and returns None if applicable.
Implemented test of NotFound exception in base auth test class.
Change-Id: Ia13af759931ca0c7327d54184730537bafbe52ae
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes bug 931743
Change-Id: Ibf257ca74432f8e6387ffae58f6b38477de59272
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This patch handles the refactored image caching for libvirt. The
new scheme keeps multiple copies of an image:
<fingerprint>: the image from glance
<fingerprint>_<size>: the resized image
The resized image is then copied or CoW'd across to the instance
disk. We also want to keep original images from glance longer than
we keep the resized images, as they're smaller and this reduces the
load on glance. Therefore a new flag to handle the differing rules
has been added.
Change-Id: If6d9471b3d67cb8fac3f168b1b4a3cd57b9cc9a7
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
check every python file under <nova_root>/plugins/xenserver/.
Ignore patch files.
Change-Id: Ib1170ddabe03de746aae570d30b133aaffb09c88
|
|\ \ \ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This patch converts more log messages to passing their instance.
Having the instance in a consistant format in the logs makes it
easier for operations staff to debug instance problems.
Change-Id: I842f26309e17c0923e71fbfb00bdcdb033f92297
|
|\ \ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Most of this function was bypassed and the
bypassed portion contained syntax errors.
So reneable the skipped branch and adjust to pass.
Change-Id: I364ccfbe5be5bc050ba0004133f353beed97fae7
|
|\ \ \ \ \ \ \ \ |
|
| | |_|_|_|_|/ /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* nova/network/ldapdns.py (utf-8): This function is already
available in nova.utils. Note this duplicate was catching
impossible to trigger exceptions, and was referencing an
undefined variable 'val'
Change-Id: I0e47f8b976a3326c99927990f91be473c0a85f78
|
|\ \ \ \ \ \ \ \ |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* nova/image/s3.py (S3ImageService.get): Remove
Change-Id: Ibe4526c821b9d05025956d49a6cb840d11ce013a
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/ /
|/| | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This test frequently breaks for me because of a race condition where
some small change will happen to the file system between when df is
called and when os.statvfs is called. By refactoring the test to stubs,
we can eliminate the race condition. Note that I do not modify the code
under test at all in this change, so the risk of introducing a defect is
zero.
Change-Id: I83e4b38b25fef7e5e27fcf81b5e5a566406b05dd
|
|\ \ \ \ \ \ \ \ \ |
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
fixes bug 931608
Change-Id: I355a3bba38367c820a0eddc006ef480e5134b317
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
fixes bug: 741972
Change-Id: I4a661a13c5baaa79ee647a6c1cedcef29a2642f6
|
|\ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Change-Id: Ie92a534c566dd411c2bd3e73031336974b1e5505
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
When a server had metadata with unicode characters in the values, doing a GET
on servers details would return a 500 error. This fixes that bug.
bug: 929281
Change-Id: I6162532c9a5a615802eb23e7bf9a80d3faf6e7a0
|
|\ \ \ \ \ \ \ \ \ |
|
| | |_|/ / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
It's nonsensical as anything but an integer and it makes it clearer what
type it should be.
Change-Id: Icd62023b1835d33fb977302208744657e4557d2a
|
|\ \ \ \ \ \ \ \ \ |
|
| | |_|_|/ / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This brings this code inline with the way connection.py does
instance logging now.
Change-Id: I3a9b256cb87bc273352f4b9338ae32dbc1faa6f6
|
|\ \ \ \ \ \ \ \ \
| |_|/ / / / / / /
|/| | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Fixes bug #930519
Change-Id: I53f5f85d1ef8117f6a40a90ee1e9eb12a27dcd53
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / /
|/| | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
bug: 929232
Change-Id: I6bea01b243e0c9dbd7e3b3559adbb73e42484a4c
|
|\ \ \ \ \ \ \ \ \
| |_|/ / / / / / /
|/| | | | | | | | |
|