summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | glance plugin no longer takes num_retries parameterJohannes Erdfelt2012-04-051-1/+0
|/ / / / / / | | | | | | | | | | | | | | | | | | Change-Id: Ic377a1f8ff0f012de82791cec01f6fcb33554f11
* | | | | | Cleanup _make_plugin_call()Johannes Erdfelt2012-04-051-28/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not all calls to plugins need a path argument, so make it optional. Fix TODO to use _make_agent_call() again. Use 'instance' instead of 'vm' to make it clearer what kind of object it is. Change-Id: I279317cd07a5753b6c8dd686d2b4786ff24b66df
* | | | | | Push id generation into _make_agent_call()Johannes Erdfelt2012-04-051-14/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | None of the callers use the id generated for any purpose other than passing to _make_agent_call(), so just have _make_agent_call() generate it for the caller Change-Id: I5bd4392d2666dcb609891f3017fb9eb0d8c243ad
* | | | | | Remove unused path argument for _make_agent_call()Johannes Erdfelt2012-04-051-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6b516fa506be06446b496555d42510c25e656ce1
* | | | | | Remove unused xenstore methodsJohannes Erdfelt2012-04-052-148/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we're in there, fix a TODO to use helper method instead of session directly and simplify a couple of methods that don't need to be so complicated Change-Id: I6eeb290e4112844381ebe0c710e54f67ca61596e
* | | | | | Merge "Fixed bug 962840, added a test case."Jenkins2012-04-052-0/+36
|\ \ \ \ \ \
| * | | | | | Fixed bug 962840, added a test case.Yun Mao2012-04-052-0/+36
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eventlet.tpool.Proxy doesn't work with old-style class in __str__() or __repr__() calls. See bug #962840 for details. We perform a monkey patch to replace those two instance methods. Change-Id: Ia51bbd3e71cad7df45da5b3b27eef70f9d9e9002
* / / / / / Combine call_xenapi and call_xenapi_requestJohannes Erdfelt2012-04-052-20/+8
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The comment is incorrect and all commands can be used with either variant. In XenAPI.py, they have somewhat different calling styles, but our wrappers only differ by a tuple. Change-Id: Ideadc0deb5bd870135f732ffadd9c09d90460c83
* | | | | fix bug where nova ignores glance host in imagerefMike Lundy2012-04-042-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is related to bug 883328. Change-Id: Iadd1aec8d1bda3bd75bd0ab7f6797b643626db90
* | | | | Merge "Extend FilterScheduler documentation."Jenkins2012-04-046-71/+213
|\ \ \ \ \
| * | | | | Extend FilterScheduler documentation.Dina Belova2012-04-046-71/+213
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Added more specific information on filters and weight functions. Change-Id: If0463cd9d29568dfe44c6e5ce3f2e42af5ffe240
* | | | | Remove unused _parse_xmlrpc_valueJohannes Erdfelt2012-04-041-12/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic38592ab09c1f0a569dec2b644bdefd29ee00dff
* | | | | Fix traceback in image cache manager.Chuck Short2012-04-042-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When nova is running as a different user, the image cache manager can cause tracebacks because it is not able to access the file. This fixes bug: 973377 Change-Id: I7902b024e7d564fbda97ce8532c1de84ab1a4206 Signed-off-by: Chuck Short <chuck.short@canonical.com>
* | | | | Fixes regression in release_dhcpVishvananda Ishaya2012-04-042-5/+43
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * regression from c96e75d6804d016da7c6356bf593eb86dcb2f257 * fixes out of order update and retrieval of vif_id * includes failing test * fixes bug 973442 Change-Id: I3bea1c754042ad5960f285fbcdc1d45445079f81
* | | | Merge "Allow unprivileged RADOS users to access rbd volumes."Jenkins2012-04-045-2/+106
|\ \ \ \
| * | | | Allow unprivileged RADOS users to access rbd volumes.Josh Durgin2012-04-025-2/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it possible to access rbd volumes with RADOS users with restricted privileges. Previously, the admin user was always used. This requires libvirt 0.9.8 or higher. Change-Id: Ia4665c2a93a58a1c1290f467a3d9cd6cd22d7bd5
* | | | | Merge "Get unit tests functional in OS X"Jenkins2012-04-042-0/+12
|\ \ \ \ \
| * | | | | Get unit tests functional in OS XMatt Stephenson2012-04-032-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add detection for directio to ensure the python runtime is built with O_DIRECT * Extend stubbing in test_libvirt to also stub out _supports_direct_io Change-Id: Id793d4039311396f0b3c3a52d2a1d951ec3c5e48
* | | | | | Merge "Grab the vif directly on release instead of lookup"Jenkins2012-04-032-7/+20
|\ \ \ \ \ \
| * | | | | | Grab the vif directly on release instead of lookupVishvananda Ishaya2012-04-032-7/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * adds extra error handling and logging * safer fix for bug 968457 Change-Id: I6d8c27c642e70dc701548550c0d94a8e0e64ce99
* | | | | | | Merge "Make sure cloudpipe extension can retrieve network"Jenkins2012-04-032-3/+11
|\ \ \ \ \ \ \
| * | | | | | | Make sure cloudpipe extension can retrieve networkVishvananda Ishaya2012-04-032-3/+11
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * includes failing test * fixes bug 972583 Change-Id: Idadac82c6a0fda8a1b912fb974e5754a1e82df39
* | | | | | | Merge "Do not fail to build a snapshot if base image is not found"Jenkins2012-04-032-2/+40
|\ \ \ \ \ \ \
| * | | | | | | Do not fail to build a snapshot if base image is not foundJulien Danjou2012-04-022-2/+40
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes bug #968066 Change-Id: I1959e4dd7cb19acef54f0e857f4d8b3d40985b77
* | | | | | | Merge "Auto-confirming resizes would bail on exceptions"Jenkins2012-04-032-25/+148
|\ \ \ \ \ \ \
| * | | | | | | Auto-confirming resizes would bail on exceptionsChris Behrens2012-04-032-25/+148
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 971939 Fixes a few things. If instance went to error, we should set the migration to error so we don't retry. Also, if we get any other exceptions when trying to confirm resizes, we should not bail out of the loop. Also: be nice to other greenthreads and yield on each iteration. Includes complete unit test for xenapi poll_unconfirmed_resizes which didn't exist prior to this patch. Change-Id: I6f7c1ccfd4be0f1497727d817130a821902d134d
* / | | | | | Treat -1 quotas as unlimited.Dan Prince2012-04-032-0/+30
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates quota db API calls so they treat -1 quotas as unlimited for consistency with the Nova flags. Fixes LP Bug #972034. Change-Id: I56456c2780110f8fd55afa9d1fe30193bf99d928
* | | | | | Merge "ensure atomic manipulation of libvirt disk images"Jenkins2012-04-033-49/+57
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | ensure atomic manipulation of libvirt disk imagesPádraig Brady2012-03-243-49/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This pattern could probably be used elsewhere, but only libvirt disk images are considered for now. This change ensures there are no stale files left anywhere in the path from glance, through the libvirt image cache. These could cause subsequent operational errors either directly or indirectly through disk wastage. * nova/utils.py: Add a new remove_path_on_error() context manager that is used to remove the passed PATH on a raised exception. * nova/virt/images.py: Ensure temporary downloaded and converted images are protected. * nova/virt/libvirt/connection.py: Ensure all the images in the image cache and instance dirs are protected. Change-Id: I81a5407665a6998128c0dee41387ef00ebddeb4d
* | | | | | Merge "Remove auth_uri, already have auth_host, auth_port"Jenkins2012-04-031-1/+0
|\ \ \ \ \ \
| * | | | | | Remove auth_uri, already have auth_host, auth_portJoe Gordon2012-03-271-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove to clarify config From keystone docs: `auth_uri``: (optional, defaults to `auth_protocol`://`auth_host`:`auth_port`) Change-Id: I4349cd9545c571b37886ae38416c27b841e797f8
* | | | | | | Corrects an AttributeError in the quota API.Gabriel Hurley2012-04-022-1/+3
| |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 972001. Change-Id: Iaf833bb6dae9cc17689e9f13eff917e91a2b722a
* | | | | | Merge "Remove nova.rpc.impl_carrot."Jenkins2012-04-025-884/+0
|\ \ \ \ \ \
| * | | | | | Remove nova.rpc.impl_carrot.Russell Bryant2012-04-025-884/+0
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This module was marked as deprecated and scheduled for removal in Essex. Remove it now that Folsom development is open. nova.rpc.impl_kombu should be used instead. This patch also removes nova.testing.fake.rabbit, since as far as I can tell, it isn't used anymore and was the last thing still using the carrot dependency. Change-Id: I8cfb2d09ee5eed439ec1d152261f7097faf08ad6
* / | | | | Sync openstack.common.cfg from openstack-common.Russell Bryant2012-04-021-3/+3
|/ / / / / | | | | | | | | | | | | | | | Change-Id: I54c7afc1c20f5fbec02dc879f7a753d07adfb5db
* | | | | Merge "Imported Translations from Launchpad"OpenStack Jenkins2012-04-0219-9968/+10822
|\ \ \ \ \
| * | | | | Imported Translations from LaunchpadOpenStack Jenkins2012-04-0119-9968/+10822
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ieebf53552ab0c3e1d0e77386d2d5089d35f5389a
* | | | | | Merge "Ensure floating ips are recreated on reboot"Jenkins2012-04-012-3/+36
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Ensure floating ips are recreated on rebootVishvananda Ishaya2012-03-312-3/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * includes failing test * fixes bug 970041 Change-Id: Ifee5b95b86278dcf2320460cf700293fd3a21153
* | | | | | Merge "fixed postgresql flavor-create"Jenkins2012-04-012-1/+4
|\ \ \ \ \ \
| * | | | | | fixed postgresql flavor-createJ. Daniel Schmidt2012-04-012-1/+4
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes bug 968190 nova flavor-create failed on postgresql DB because sqlalchemy tried to write an integer into a varchar field Change-Id: Ib47d8d10e96fedb2158f454503fe1ca3493c16bb Signed-Off-By: Bernhard M. Wiedemann <bwiedemann suse.com>
* | | | | | Merge "Add rootwrap for touch"Jenkins2012-04-011-0/+3
|\ \ \ \ \ \
| * | | | | | Add rootwrap for touchVishvananda Ishaya2012-03-311-0/+3
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixes bug 969959 Change-Id: I8baca18c57ed1311a2f3aeb93ad92e34be380c50
* | | | | | Merge "Make kombu failures retry on IOError"Jenkins2012-04-012-4/+17
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Make kombu failures retry on IOErrorChris Behrens2012-03-292-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 797770 Unfortunately if rabbit decides protocol negotiation is taking too long, it will close the socket on us. This ends up raising IOError with a 'socket closed' message. This patch will catch IOError and re-try. Change-Id: I9110c845b71118c0fad760d90e91c585e6db46ed
* | | | | | Handle instances being missing while listing floating IPsMichael Still2012-03-311-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This resolves bug 964950, which is a nova-manage crash while listing floating IPs when an instance has gone missing. Change-Id: Ib628356608bc0cbb9089029876ab1df7e9f02531
* | | | | | Merge "Allow snapshots in error state to be deleted."Jenkins2012-03-312-2/+22
|\ \ \ \ \ \
| * | | | | | Allow snapshots in error state to be deleted.Anthony Young2012-03-302-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixes bug 968682 Change-Id: I37fd8e84e50b2f824f978eb7e3181ffb6ddde537
* | | | | | | Merge "Fix traceback when sending invalid data."Jenkins2012-03-311-5/+3
|\ \ \ \ \ \ \
| * | | | | | | Fix traceback when sending invalid data.Chuck Short2012-03-261-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Running euca-terminate-instance with invalid data results in a traceback and a hang. This fixes bug 965225 Change-Id: I0b547d527bca5fb86ff650188ac903066361d933