summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | Merge "Adds live migration support to cells API"Jenkins2013-05-222-3/+10
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Adds live migration support to cells APISam Morrison2013-05-222-3/+10
| | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 1153087 DocImpact: Cells now allows live migration within a cell, but not between cells. Change-Id: Ic8777c376883eaf6ff9cb4b379e0bacbfe5635b7
* | | | | | | | | | | | Merge "Fix resize when instance has no image"Jenkins2013-05-222-1/+21
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | |
| * | | | | | | | | | | Fix resize when instance has no imageNikola Dipanov2013-05-202-1/+21
| | |_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch makes it possible to resize an instance that has no image supplied (was booted from volume), by avoiding calling the image service and thus causing an uncaught exception, if there was no image suplied in the first place. Fixes bug: 1182114 blueprint: improve-boot-from-volume Change-Id: I67d63a7aef699b555897582c74b04e857db7aafb
* | | | | | | | | | | Merge "baremetal: Move tests under tests/virt/baremetal"Jenkins2013-05-2220-21/+21
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | baremetal: Move tests under tests/virt/baremetalRick Harris2013-05-2120-21/+21
| | |_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie066d5d4f53bc33338e160971af99ef637de7ad1
* | | | | | | | | | | Merge "libvirt: Moving tests under tests/virt/libvirt"Jenkins2013-05-2215-13/+30
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | libvirt: Moving tests under tests/virt/libvirtRick Harris2013-05-2115-13/+30
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8adfbb48fa0b05f999618b9f17cbca2b3ea04c93
* | | | | | | | | | | Merge "Use prettyxml output"Jenkins2013-05-221-0/+4
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Use prettyxml outputJoe Gordon2013-05-161-0/+4
| | |_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | minidom's toprettyxml doesn't render well so using etree instead Change-Id: Iad05d55cfb071b11cb6f6b30aa9f23f33fd8039c
* | | | | | | | | | | Merge "Add memorycache import into the oslo config."Jenkins2013-05-211-0/+1
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / |/| | | | | | | | | |
| * | | | | | | | | | Add memorycache import into the oslo config.Michael Still2013-05-191-0/+1
| | |_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolves bug 1181633. Change-Id: I86af10a2bb0f8afa5e2cf0d14e1839b872c21c90
* | | | | | | | | | Merge "Adding tests for rebuild image checks"Jenkins2013-05-211-0/+81
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Adding tests for rebuild image checksRick Harris2013-05-201-0/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create instance has tests arounds it's image-checks, this patch just ports those tests over to the rebuild case. Change-Id: Ibe982e478ec2c8b44e130c022c6d1d493d6d9674
* | | | | | | | | | | Merge "Add ImageNotActive check for instance rebuild"Jenkins2013-05-214-29/+64
|\| | | | | | | | | |
| * | | | | | | | | | Add ImageNotActive check for instance rebuildRick Harris2013-05-204-29/+64
| | |_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have a check in place on create to test whether the image is marked as deleted in Glance that doesn't exist on the rebuild method. This patch adds that check and tests, with a follow-on patch forthcoming to refactor the code to a shared method. Fixes bug 1180604 Change-Id: I1e75313a72d2197e83f7dacf6bcbd6750dd490cd
* | | | | | | | | | Merge "Convert Nova to use Oslo service infrastructure."Jenkins2013-05-217-328/+29
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / |/| | | | | | | | |
| * | | | | | | | | Convert Nova to use Oslo service infrastructure.Brian Elliott2013-05-137-328/+29
| | |_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert Nova to use the Oslo versions of: * Service * Launchers Also add Service timers to the Service ThreadGroup. blueprint use-oslo-services Change-Id: Id8ab017f4525afd69fed322311f2d5cc3b6d6f98
* | | | | | | | | Merge "Sync RPC serializer changes from Oslo"Jenkins2013-05-213-5/+113
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Sync RPC serializer changes from OsloDan Smith2013-05-213-5/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in the serializer object and changes to the dispatcher and proxy implementations to support it. Needed for bp/rpc-support-for-objects Change-Id: I349de94c80a183f244cbb10009b6922996cc4d82
* | | | | | | | | | Merge "Sync latest RPC changes from oslo"Jenkins2013-05-212-6/+21
|\| | | | | | | | |
| * | | | | | | | | Sync latest RPC changes from osloChris Behrens2013-05-212-6/+21
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in capped version support and RPC_API_NAMESPACE support for RpcProxy. Change-Id: I8334ed62c0ffd16a05b35bbcd4d9352538ab0243
* | | | | | | | | Merge "Add notification for live migration"Jenkins2013-05-212-0/+65
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | |
| * | | | | | | | Add notification for live migrationJay Lau2013-05-212-0/+65
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug 1167759 Currently, if live migration failed, nova compute did not send notification, this causes other services such as nova-scheduler to have no chance to do some operations The fix add notification logic for live_migration like other VM instance operations such as resize, run instance etc. Change-Id: Iaf61f5268e07284fd7d69ff331ce3bacd380c02b
* / / / / / / / Add requests requirement capped <1.2.1.Jeremy Stanley2013-05-211-0/+1
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 1182271. * tools/pip-requires: The requests library released 1.2.1 today which brings in sphinx as a new dependency. One of sphinx's transitive dependencies is on a newer version of jinja than is provided in the python-jinja2 package on CentOS 6, and since nova's unit tests allow site-packages in the venv for libvirt support this cap is needed so that gate-nova-python26 will continue to work. Because requests is actually a dependency of python-cinderclient but is only breaking nova's unit tests, it has to be added and come before python-cinderclient in the pip-requires list. A separate change has been proposed to openstack/requirements which will need to merge first. https://review.openstack.org/29850 Change-Id: Ia198192d6231f71272d3aa4f5942828a45d86ceb
* | | | | | | Merge "Editable default quota support"Jenkins2013-05-205-10/+75
|\ \ \ \ \ \ \
| * | | | | | | Editable default quota supportliyingjun2013-05-185-10/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement blueprint edit-default-quota DocImpact Using the class quotas named `default` as the default editable quotas. We can use the following novaclient command to update default quota: nova quota-class-update default <key> <value> Change-Id: I5a5001fadcbd61d550ebd5bdc33613b0ffdf29b2
* | | | | | | | Merge "Added attribute 'ip' to server search options."Jenkins2013-05-202-8/+5
|\ \ \ \ \ \ \ \
| * | | | | | | | Added attribute 'ip' to server search options.Satyanarayana Patibandla2013-05-192-8/+5
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows all tenants to use attribute 'ip' in server search options. For this fix, added attribute 'ip' to server search options. Modified the existing test case to verify 'ip' search for all tenants. Implements: blueprint add-attribute-ip-in-server-search-options Change-Id: Ic24ee67d729f77d56c4fe3e1d4110865550c2154
* | | | | | | | Merge "Sync service and threadgroup modules from oslo"Jenkins2013-05-206-17/+467
|\ \ \ \ \ \ \ \
| * | | | | | | | Sync service and threadgroup modules from osloBrian Elliott2013-05-116-17/+467
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | blueprint use-oslo-services Change-Id: I8641dbed0a83a6d57c0b6c1a02796eb3e633fafd
* | | | | | | | Merge "'m1.tiny' now has root_gb=1"Jenkins2013-05-2058-90/+90
|\ \ \ \ \ \ \ \
| * | | | | | | | 'm1.tiny' now has root_gb=1Rick Harris2013-05-1658-90/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `root_gb=0` indicates that a disk-resize shouldn't occur which is not something that a default flavor should have enabled. This is especially true of one named 'tiny' since the unresized image could potentially be very large, leading to the unexpected result of a 'tiny' instance consuming a massive amount of disk. The no-resize behavior is still supported, so if it's being relied on for testing, additional, non-default flavors can still be created that enable it. DocImpact Fixes bug 1175383 Change-Id: Ifa5827c7f87dae95214bc4a585adce5735a05d83
* | | | | | | | | Merge "Fix require_context() decorators."Jenkins2013-05-202-0/+18
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | |
| * | | | | | | | Fix require_context() decorators.Roman Podolyaka2013-05-182-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | require_context() and require_admin_context() decorators don't copy attributes of a decorated function (func_name, __doc__, __module__) to a wrapper function. This makes introspection and debugging harder and should be fixed. Fixes bug 1181606. Change-Id: I0926df92a40d3fc09b94a0c4b1ded63039abf18b
* | | | | | | | | Merge "baremetal: drop 'prov_mac_address' column"Jenkins2013-05-207-8/+42
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | baremetal: drop 'prov_mac_address' columnArata Notsu2013-05-187-8/+42
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bm_nodes.prov_mac_address is no longer used. So drop it. Change-Id: I3c7294da8f62581aba8c948171cb02f80cf054ef
* | | | | | | | | Merge "The vm_state should not be modified until the task is complete."Jenkins2013-05-201-7/+1
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | The vm_state should not be modified until the task is complete.mkislinska2013-05-171-7/+1
| | |_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several methods in nova.compute.api alter the vm_state value before proceeding with the actual work. The initial vm_state may be changed to something other than the initial vm_state (which is a problem: since we do not know what the initial state actually was, we cannot reasonably recover and set the corresponding ERROR if a problem with the operation occurs). Actually done: Removed vm_state update before executing task Changed methods: - reboot - pause - unpause - suspend - resume - rescue - unrescue Fixes: bug #1158509 Change-Id: I5ee7aebf3c4831dd577ed5ab9aa155095152f8a8
* | | | | | | | | Update run_tests.sh to run flake8 too.Monty Taylor2013-05-191-2/+2
| |_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6fce8ef0a293fb92c7e0ceb4ef88284e93022b54
* | | | | | | | Merge "Improve unit tests for DB archiving."Jenkins2013-05-191-113/+199
|\ \ \ \ \ \ \ \
| * | | | | | | | Improve unit tests for DB archiving.David Ripton2013-05-141-113/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test all tables that have a uuid column and no constraints that make generic testing difficult, rather than just a couple of tables. Make the teardown code more generic. Add test_archive_deleted_rows_2_tables, which tests that we can archive rows from two tables in one call. Change-Id: If08aac3c6869820c72dfcb1bf6d22d19c2995c8a
* | | | | | | | | Merge "Remove locals() from nova/cells/*"Jenkins2013-05-193-26/+38
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Remove locals() from nova/cells/*Chris Behrens2013-05-173-26/+38
| | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove use of locals() from nova/cells/* to satisfy pyflakes, etc. Change-Id: If430226b84ce1fa974771ea1ed5b8d50480a70c0
* | | | | | | | | Merge "Optimize instance queries in compute manager"Jenkins2013-05-199-129/+126
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Optimize instance queries in compute managerHans Lindgren2013-05-089-129/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some instance queries against the db through the conductor can be optimized to return a reduced set of instances as needed for the job at hand. Most of these are part of periodic tasks, so the win is kind of big. Compute methods where queries can be made more efficient: _get_instances_on_driver _poll_rebooting_instances _poll_rescued_instances _reclaim_queued_deletes _run_image_cache_manager_pass Resolves bug 1169970. Change-Id: I7c2fab48944e34765b3fff8ce10bc64a5cd826c8
* | | | | | | | | | Merge "Strip exec_dirs prefix from rootwrap filters"Jenkins2013-05-193-49/+49
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / |/| | | | | | | | |
| * | | | | | | | | Strip exec_dirs prefix from rootwrap filtersDirk Mueller2013-05-183-49/+49
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the rootwrap filters more portable by removing the explicit exec_dirs prefix from them. This allows a binary to be installed in any of the exec_dirs and still be used by rootwrap, which improves cross-distro portability. Change-Id: Ieccb8c480e0e116a976d0920ab900305a5615015
* | | | | | | | | Imported Translations from TransifexOpenStack Jenkins2013-05-1826-22883/+47363
| |_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia0196fe9f65b82d0830f20517e573bd7e63b128d
* | | | | | | | Merge "Fix whitespace issue in indent"Jenkins2013-05-181-2/+1
|\ \ \ \ \ \ \ \