summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge "Replace standard json module with openstack.common.jsonutils"Jenkins2012-06-0760-401/+454
|\ \ \ \
| * | | | Replace standard json module with openstack.common.jsonutilsZhongyue Luo2012-06-0760-401/+454
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements blueprint use-common-jsonutils 1. Edit openstack-common.conf and import nova/openstack/common/jsonutils.py 2. Remove json package imports and replace with jsonutils Places where using json.load hasn't changed. Change-Id: Ie6feab605fb0474fd505c56ef57b7a9ecfa5269d
* | | | Merge "Don't query nova-network on startup."Jenkins2012-06-075-18/+19
|\ \ \ \
| * | | | Don't query nova-network on startup.Russell Bryant2012-06-065-18/+19
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug 999698. nova-compute requested network info for each instance on startup via rpc. If all services get (re)started at the same time, nova-network may not be available to take this request, resulting in a lost request. To combat this issue, get the network info from the cache in the database on startup. If by some chance this information is not correct, it will get fixed up by a periodic task. Change-Id: I0bbd475e078ac2a67c99c2be4711e86d617c609a
* | / / Finalize tox config.Monty Taylor2012-06-0712-409/+65
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shrink tox.ini to the new short version. Fix the test cases to be able to be run in nosetets plus the openstack.nose_plugin, which finally removes the need for nova/testing/runner.py Also, now we'll just output directly to stdout, which will make nose collect the trace logging directly and either output it at the end of the run, or inject it into the xunit output appropriately. Change-Id: I1456e18a11a840145492038108bdfe812c8230d1
* | | Merge "Cleans up power_off and power_on semantics"Jenkins2012-06-077-86/+101
|\ \ \ | |/ / |/| |
| * | Cleans up power_off and power_on semanticsVishvananda Ishaya2012-06-067-86/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compute.api changes: * improves state handling for delete/restrore * removes hack to deal with SHUTOFF on start * fixes api tests (volume shouldn't detach on stop) compute.manager changes: * uses power_off/power_on for stop/start virt.libvirt changes: * implements power_off/power_on for libvirt * synchronizes usage of domain.create() * cleans up usage of instance.name * added tests for power_on and power_off * fixes bug 1006950 Change-Id: I91845a643e3f97955e7c81ca57c6ee5aa0a3d295
* | | Merge "Fix bug 1006664: describe non existent ec2 keypair"Jenkins2012-06-062-0/+10
|\ \ \
| * | | Fix bug 1006664: describe non existent ec2 keypairJoe Gordon2012-06-062-0/+10
| | |/ | |/| | | | | | | Change-Id: I92bfd6b51aa31abb06e21893174101da31baffd8
* | | Merge "Refactor libvirt create calls"Jenkins2012-06-063-92/+81
|\ \ \ | | |/ | |/|
| * | Refactor libvirt create callsVishvananda Ishaya2012-06-063-93/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * minimizes duplicated code for create * makes wait_for_destroy happen on shutdown instead of undefine * allows for destruction of an instance while leaving the domain * uses reset for hard reboot instead of create/destroy * makes resume_host_state use new methods instead of hard_reboot * makes rescue/unrescue not use hard reboot to recreate domain Change-Id: I2072f93ad6c889d534b04009671147af653048e7
* | | Merge "Fix whitespace in sqlite steps"Jenkins2012-06-062-6/+6
|\ \ \
| * | | Fix whitespace in sqlite stepsMichael Still2012-06-072-6/+6
| | | | | | | | | | | | | | | | Change-Id: Ieab9c492aa526903c55f17b87b70fe7c25372f5e
* | | | Merge "Fix libvirt rescue to work with whole disk images"Jenkins2012-06-062-33/+55
|\ \ \ \
| * | | | Fix libvirt rescue to work with whole disk imagesVishvananda Ishaya2012-06-012-33/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixes bug 1007266 * passes rescue image data to get_config so it only adds the kernel and ramdisk if necessary * adds tests to make sure that the kernel and ramdisk only appear if they are needed Change-Id: I32e0369a066ce2b6189b4a015b30ffd8b6d3ec66
* | | | | Merge "Make live_migration a first-class compute API."Jenkins2012-06-063-9/+18
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Make live_migration a first-class compute API.Yun Mao2012-06-063-9/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move the trivial implementation from admin_actions to compute.api * Remove the dependency to scheduler from admin_actions * Add check_instance_state like all other compute APIs to prevent undesirable behavior Change-Id: Ib5176718eae624de982f641bf3ec201fc7b4efcc
* | | | | Merge "Update libvirt imagecache to support resizes."Jenkins2012-06-062-22/+63
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Update libvirt imagecache to support resizes.Dan Prince2012-06-062-22/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates the libvirt image cache manage so that it accounts for instances which are resizing. Also fixes an issue where an exception was thrown when the image cache manager ran while instances were resizing. This is because instances which are resizing may have files in the Nova instances directory which are missing backing files. Fixes LP Bug #1006616. Change-Id: I724c6855b68eca24a00893fd96b26b1443f9da5c
* | | | | Merge "Implements resume_state_on_host_boot for libvirt."Jenkins2012-06-065-2/+28
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Implements resume_state_on_host_boot for libvirt.Dan Prince2012-06-015-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a new virt driver function to help resume guest states on host boot. This fixes a couple issue with using a reboot (like we did previously): * Using reboot would clear some task states (VERIFY_RESIZE for example) * Provides a mechanism for hypervisor specific guest restarts. Reboot would not have worked for XenServer for example... * Updates libvirt to use a hard reboot (instead of soft) Fixes LP Bug #985162. Change-Id: Iaf5aad75ec9b91f44710a18ddaf3a93378573a62
* | | | | Merge "Unused imports cleanup (folsom-2)"Jenkins2012-06-0652-93/+3
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Unused imports cleanup (folsom-2)Zhongyue Luo2012-06-0353-94/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug #1008023 Change-Id: Ifb8ecbb7430fdabd7b5d81ab23df66942abd9cb7
* | | | | Merge "Add shared_storage_test methods to compute rpcapi."Jenkins2012-06-064-95/+67
|\ \ \ \ \
| * | | | | Add shared_storage_test methods to compute rpcapi.Russell Bryant2012-06-014-95/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Part of bug 1006467. This patch adds 3 methods used to check if shared storage works between two compute hosts to the compute rpcapi. These methods are used by the scheduler. This also cuts down on some duplicated code in test_scheduler. Change-Id: If0bf7f7fdd2beb0e5280ae52daf049372f8bc9e2
* | | | | | Merge "Add get_instance_disk_info to the compute rpcapi."Jenkins2012-06-064-8/+18
|\| | | | |
| * | | | | Add get_instance_disk_info to the compute rpcapi.Russell Bryant2012-06-014-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Part of bug 1006467. This patch adds get_instance_disk_info to the compute rpcapi, which is used by the scheduler. Change-Id: Ibb4a86d92ef402a3cc993212dfb8ce073c1c542d
* | | | | | Merge "Add remove_volume_connection to the compute rpcapi."Jenkins2012-06-064-9/+17
|\| | | | | | |_|_|/ / |/| | | |
| * | | | Add remove_volume_connection to the compute rpcapi.Russell Bryant2012-06-014-9/+17
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Part of bug 1006467. Add the remove_volume_connection method to the compute rpcapi. This is used by the compute manager. Change-Id: I307d85782baa371a16c80bd9ecabf449a60a0876
* | | | Merge "Migrate security_group_instance_association to use a uuid to refer to ↵Jenkins2012-06-065-5/+207
|\ \ \ \ | | | | | | | | | | | | | | | instances."
| * | | | Migrate security_group_instance_association to use a uuid to refer to instances.Michael Still2012-06-065-5/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Continued work on blueprint finish-uuid-conversion. Change-Id: Id5c33c2aa3560462aded102c670a82997eeda949
* | | | | Merge "Prefix all nova binaries with 'nova-'."Jenkins2012-06-064-4/+4
|\ \ \ \ \
| * | | | | Prefix all nova binaries with 'nova-'.Dan Prince2012-06-064-4/+4
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Fixes LP Bug #1008625. Change-Id: I2b0dc97133b3039818a52e0b8456dc31cdbd714e
* | | | | Merge "Add zeromq driver. Implements blueprint zeromq-rpc-driver"Jenkins2012-06-067-1/+930
|\ \ \ \ \
| * | | | | Add zeromq driver. Implements blueprint zeromq-rpc-driverEric Windisch2012-06-067-1/+930
| |/ / / / | | | | | | | | | | | | | | | Change-Id: I7d941a97bf250428e70e8a4ee65ab6cb70fdfcfb
* / / / / Fix up protocol case handling for security groups.Vishvananda Ishaya2012-06-063-4/+4
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug 985184. When creating security group rules, any case for the protocol was accepted as input, such as TCP, Tcp, tcp, etc., and was stored in the database as specified. However, unless specified as all lowercase, the code to apply the rules would break and result in some rules not being applied. Change-Id: I6c723d371579eb37a94bd484d39beeb773668ed4
* | | | Migrate instance_metadata to use a uuid to refer to instances.Michael Still2012-06-0610-42/+259
| | | | | | | | | | | | | | | | | | | | | | | | Continued work on blueprint finish-uuid-conversion. Change-Id: I64302d0abb2e734422e6b0fee8f12e90f4ce711a
* | | | Merge "Adds `disabled` field for instance-types."Jenkins2012-06-0612-8/+349
|\ \ \ \
| * | | | Adds `disabled` field for instance-types.Rick Harris2012-06-0512-8/+349
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `disabled` field is intended to be used when phasing out instance-types. In this case, a delete wouldn't work because the instance-type needs to still be available for live instances using that type, but we don't want to allow *new* instances created from that type. In addition, we don't want to list hidden instance-types for regular users, but we *do* want to list them for admin-users to ensure they have a complete view of what's going on in the system. Once all references to the phased-out instance-type have been dropped, it would be safe to mark the instance-type as `deleted=True`. Change-Id: I2af1c027f4d8114aee31353007dfdd3d0bb679ed
* | | | | More meaningful help messages for libvirt migration optionsFlorian Haas2012-06-052-4/+7
|/ / / / | | | | | | | | | | | | | | | | Change-Id: I08f4724a7ef664cfebba57c5c9495494853289a8 Reference: http://libvirt.org/html/libvirt-libvirt.html#virDomainMigrate
* | | | Merge "cleanup power state (partially implements bp task-management)"Jenkins2012-06-056-29/+61
|\ \ \ \
| * | | | cleanup power state (partially implements bp task-management)Yun Mao2012-05-296-29/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed duplicate and invalid state in power_state: FAILED, SHUTOFF, BLOCKED This is the first step in cleaning up nova state machine and do better task management (bp/task-management) http://wiki.openstack.org/VMState Change-Id: I586b9058fada5efd468870fb187590fc0e37aa8f
* | | | | Merge "fix bug lp:1009041,add option "-F" to make mkfs non-interactive."Jenkins2012-06-052-1/+4
|\ \ \ \ \
| * | | | | fix bug lp:1009041,add option "-F" to make mkfs non-interactive.yaguang tang2012-06-062-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic8be1657dbad0cd91fdb5176f17f7b1ba034c2e0
* | | | | | fix the instance quota overlimit messagePádraig Brady2012-06-053-7/+17
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This addresses two closely related bugs. Bug: 998199 Fix the "used" and "total" counts in the returned diagnostic. Bug: 902218 Itemize instance quota items exceeded, in the returned diagnostic. Change-Id: Iff7781a7fb53545d44c2b4ec0ca6d65114723c8d
* | | | | Merge "Use openstack-common's policy module"Jenkins2012-06-056-19/+32
|\ \ \ \ \
| * | | | | Use openstack-common's policy moduleKevin L. Mitchell2012-06-046-19/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reworks nova to use the new policy module in openstack-common. Change-Id: Iea8651bad85f26804285616330107d9d5f23e6cb
* | | | | | Merge "Finish removing xenapi.HelperBase class"Jenkins2012-06-051-6/+0
|\ \ \ \ \ \
| * | | | | | Finish removing xenapi.HelperBase classJohannes Erdfelt2012-06-011-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The XenAPI driver has the concept of helper classes. All methods have been classmethods and the classes themselves are never instantiated. As a result, they only add an extra namespace lookup and provide no value. This is the last patch in this series Change-Id: I314dfa6555d38be9b0988270b3367c4ae86b19bb
* | | | | | | Merge "Remove network_util.NetworkHelper class"Jenkins2012-06-053-37/+27
|\| | | | | |