summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | Merge "tests: remove misleading docstrings on libvirt tests"Jenkins2012-07-261-3/+0
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | tests: remove misleading docstrings on libvirt testsPádraig Brady2012-07-241-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These docstrings take precedence over the method name, to identify the test in the results. So just remove these misleading docstrings as they don't give extra info over the method name itself. Change-Id: I4c415f8c4be588f5de751ab8e4d21e85a18f6b75
* | | | | | | | | | | Merge changes ↵Jenkins2012-07-266-121/+193
|\ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I85ad29e8,I21d91e6c,I114081fc,If881fb41,Ia7e31428,I15ceb762,Id2c455f6,I45914ed5 * changes: Send a full instance via rpc for attach_volume. Send a full instance via rpc for add_fixed_ip_to_instance. Send a full instance via rpc for get_console_output. Send a full instance via rpc for suspend_instance. Send a full instance via rpc for (un)pause_instance. Don't use rpc to lock/unlock an instance. Convert reboot_instance to take a full instance. Include name in a primitive Instance.
| * | | | | | | | | | Send a full instance via rpc for attach_volume.Russell Bryant2012-07-253-15/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the attach_volume method of the compute rpc API to take a full instance over rpc instead of just the instance UUID. This cuts down on database access needed by nova-compute. Part of blueprint no-db-messaging. Change-Id: I85ad29e84b5e97a3f918059b10e2309312756050
| * | | | | | | | | | Send a full instance via rpc for add_fixed_ip_to_instance.Russell Bryant2012-07-254-16/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the add_fixed_ip_to_instance method of the compute rpc API to take a full instance over rpc instead of just the instance UUID. This cuts down on database access needed by nova-compute. Part of blueprint no-db-messaging. Change-Id: I21d91e6c95dca47390b306517eeb4155defc4e65
| * | | | | | | | | | Send a full instance via rpc for get_console_output.Russell Bryant2012-07-254-15/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the get_console_output method of the compute rpc API to take a full instance over rpc instead of just the instance UUID. This cuts down on database access needed by nova-compute. Part of blueprint no-db-messaging. Change-Id: I114081fceddc2c7226aab9bd560f3664000a43af
| * | | | | | | | | | Send a full instance via rpc for suspend_instance.Russell Bryant2012-07-254-13/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the suspend_instance method of the compute rpc API to take a full instance over rpc instead of just the instance UUID. This cuts down on database access needed by nova-compute. Part of blueprint no-db-messaging. Change-Id: If881fb419a52a2486b2e7b85b4d58a17f72c48a6
| * | | | | | | | | | Send a full instance via rpc for (un)pause_instance.Russell Bryant2012-07-254-23/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the pause_instance and unpause_instance methods of the compute rpc API to take a full instance over rpc instead of just the instance UUID. This cuts down on database access needed by nova-compute. Part of blueprint no-db-messaging. Change-Id: Ia7e31428c7d2edb9a0c4d0958f1c7774742ea1cd
| * | | | | | | | | | Don't use rpc to lock/unlock an instance.Russell Bryant2012-07-255-24/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of converting this method to send a full instance over rpc instead of just an instance UUID, this patch removes the usage of rpc for this operation entirely. All it's doing is a database update. RPC is expensive, so cut out the middle-man. One functional difference with this approach is that the db update is now synchronous on the API node, instead of kicking off an async message to a compute node to handle it. This seems fine, though. Part of blueprint no-db-messaging. Change-Id: I15ceb7625425ab097eebd5b7dd3606a171329f97
| * | | | | | | | | | Convert reboot_instance to take a full instance.Russell Bryant2012-07-254-18/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert the reboot_instance method in the compute rpc API to take a full instance via rpc instead of just the instance UUID. This cuts down on database access needed by nova-compute. Part of blueprint no-db-messaging. Change-Id: Id2c455f66966a9b446e5bbbe542ed3a2b0655289
| * | | | | | | | | | Include name in a primitive Instance.Russell Bryant2012-07-252-10/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures that the name of an instance will be present in the result of jsonutils.to_primitive(Instance). The name isn't a column. It's a property that gets generated dynamically by the Instance class. Part of blueprint no-db-messaging. Change-Id: I45914ed55f2c037ee2efd7775bd57fbde36a2116
* | | | | | | | | | | Merge "Remove unused scheduler functions"Jenkins2012-07-268-254/+0
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Remove unused scheduler functionsJoe Gordon2012-07-258-254/+0
| | |_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * get_service_capabilities * get_host_list * host_service_caps_stale * delete_expired_host_services The functions were introduced in d328ddcadb24d1b1961bd05a7676bc8f54b6776f but are currently unused outside of nova.tests Change-Id: I15388db5eb684a9f5cfe74f4c2a32b6c87f57894
* | | | | | | | | | | Merge "Fix docstring for SecurityGroupHandlerBase"Jenkins2012-07-261-2/+2
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Fix docstring for SecurityGroupHandlerBaseSean M. Collins2012-07-251-2/+2
| | |_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I645a03cd1a80dc34a7b5a2e91072604e5156d51d
* | | | | | | | | | Merge "Update decorators in compute manager."Jenkins2012-07-261-16/+78
|\ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / | |/| | | | | | | |
| * | | | | | | | | Update decorators in compute manager.Russell Bryant2012-07-251-16/+78
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch modifies two decorators in the compute manager: checks_instance_lock and wrap_instance_fault. Both of these assumed that the function they are wrapping takes two positional arguments: context and instance_uuid. They will automatically adapt to the new form that the functions they wrap will be taking. These functions will all be modified to take either a full instance dict or an instance_uuid for backwards compatibility. Part of blueprint no-db-messaging. Change-Id: I93e331706aed1c97877655ce54784a0dbd8de89e
* | | | | | | | | Merge "Add support for snapshots and volume types to netapp driver."Jenkins2012-07-262-189/+571
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | Add support for snapshots and volume types to netapp driver.Ben Swartzlander2012-07-252-189/+571
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a continuation of blueprint netapp-volume-driver. Change-Id: Ic79a98f3949c815f532e52a9b9d45ad7d8aa99ec
* | | | | | | | | Merge "Fix wrong regex in cleanup_file_locks."Jenkins2012-07-252-2/+2
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | |
| * | | | | | | | Fix wrong regex in cleanup_file_locks.Eugene Kirpichov2012-07-232-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sentinel filename actually has form hostname-threadid.pid, not hostname.threadid-pid. Launchpad bug 1018586. Change-Id: I09c01e0e63ee704b1485c196dc0b396ee03b2e5c
* | | | | | | | | Merge "Inject instance metadata into xenstore"Jenkins2012-07-2513-3/+386
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Inject instance metadata into xenstoreKevin L. Mitchell2012-07-2513-3/+386
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using Xenserver, inject instance metadata into the xenstore, for the use of the instance. Implements blueprint xenstore-metadata. Change-Id: I88a59f1b783eaaaef6ba5efd8bd448aece2f869c
* | | | | | | | | Allow soft deletes from any stateKevin L. Mitchell2012-07-251-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At some point in the past, the compute manager's delete() method had its @check_instance_state() decorator updated to allow deletes to be performed from any combination of vm_state and task_state. This same change was not made to the soft_delete() method, and so soft_delete() is only available if the task_state is clear, meaning that instances that are put into ERROR state with task_state set to something are effectively undeletable, if FLAGS.reclaim_instance_interval is set to some non-zero value (which is what causes the API DELETE call to use soft_delete() as opposed to delete()). This patch updates the @check_instance_state() on soft_delete() to match that on delete(), and fixes bug 1029130 and bug 1029133. This patch also partially fixes bug 1029132, but more needs to be done to completely fix that bug. Change-Id: I78878110c696280f2bc28434433814884a526264
* | | | | | | | | Merge "Return 400 in get_console_output for bad length."Jenkins2012-07-252-3/+31
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Return 400 in get_console_output for bad length.Roland Hochmuth2012-07-242-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 1027069. Prior to this fix if the length in the request body was set to a non-integer value a error code of 500 was returned. The documentation also shows an integer in the example request body. The fix tests if the optional length is provided and if it is either an "int" or "long". If not, a 400 error is returned. Additionally, cleaned up some error message to be more descriptive. Change-Id: I27a66fb1111e74665969f98e1101a9c37c665abc
* | | | | | | | | | Merge "Handle NULL deleted_at in migration 112."Jenkins2012-07-251-0/+2
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Handle NULL deleted_at in migration 112.Rick Harris2012-07-251-0/+2
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A NULL value in `instance.deleted_at` will cause the migration to break. In the absence of instance deleted_at timestamp, we should be conservative and skip cleanup. Fixes bug 1029129 Change-Id: Ieb978281bc55727fb7db02ddc8c3e0fd6c8814f0
* | | | | | | | | | Merge "Allow floating IP pools to be deleted"Jenkins2012-07-251-1/+1
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | |
| * | | | | | | | | Allow floating IP pools to be deletedMark McLoughlin2012-07-251-1/+1
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug #1022237 If you delete all the floating IPs associated with a floating IP, the pool still shows up in os-floating-ip-pools extension. Fix this by using model_query() in the DB layer so that we ignore deleted floating IPs. Change-Id: I30d2e716e931400ca4b798b51bb26a73a7747808
* | | | | | | | | Merge "Add missing tempfile import to libvirt driver."Jenkins2012-07-251-0/+1
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Add missing tempfile import to libvirt driver.Russell Bryant2012-07-251-0/+1
| | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | import tempfile in the libvirt driver. This is needed in _create_shared_storage_test_file(). I saw this come up on the mailing list: http://lists.openstack.org/pipermail/openstack-dev/2012-July/000192.html Change-Id: Ib327772d61be0202b257049d8aca3d04819a48f5
* | | | | | | | | Merge "Define cross-driver standardized vm_mode values"Jenkins2012-07-256-19/+138
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | Define cross-driver standardized vm_mode valuesDaniel P. Berrange2012-07-256-19/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the XenAPI driver allows for a 'vm_mode' parameter to be set against an instance to determine whether it is launched a paravirt or fullvirt domain. This allows the values 'pv', 'hv' and 'hvm'. The libvirt driver also needs to be extended to allow a 'vm_mode' parameter, and to facilitate deployment of heterogeneous Nova compute farms, it is desirable to have standardization of the VM mode values across all drivers. To address this, the nova.compute.vm_mode module is introduced which defines a set of constants. The constants provide four possible vm modes: - vm_mode.XEN = 'xen' - for Xen 3.0 paravirt ABI - vm_mode.HVM = 'hvm' - for native ABI - vm_mode.UML = 'uml' - for User Mode Linux paravirt ABI - vm_mode.EXE = 'exe' - for container virt executable ABI The existing 'pv' value from XenAPI is deprecated, because it is ambiguous - both Xen and UML are paravirt, and other paravirt hypervisor ABIs also exist The existing 'hv' value is also deprecated since it duplicates the other existing 'hvm' value. The 'vm_mode.get_from_instance' method will extract the vm_mode value for an instance. It normalizes the value to all lower case, translates 'hv' and 'pv' into the new values for back compat, and validates that the value matches one of the defined constants The XenAPI and libvirt drivers are then updated to use the nova.compute.vm_mode constants instead of bare strings. The test_xenapi.py test case is updated to set 'vm_mode' to exercise the new codepaths. A new test_vmmode.py case is also written to fully exercise the logic NB, previously the libvirt driver would set 'guest.os_type' to 'linux' to request Xen paravirt. This is a legacy value, with libvirt preferring the string 'xen'. So although the new code sets a different value for Xen paravirt os_type, the functional result is unchanged. DocImpact blueprint hypervisor-code-consolidation Change-Id: I23efc5dc1528b0d8472d752a8a30f55c85310b21 Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* | | | | | | | | Merge "Adds xcp disk resize support."Jenkins2012-07-254-13/+55
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Adds xcp disk resize support.Marco Sinhoreli2012-07-234-13/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements resize image during instance creation. Fixes bug 1016650. Change-Id: I25f9d1030d9d014b1c9a65430bd535388b8f8943
* | | | | | | | | | Merge "Use compute_driver in xenapi driver help messages."Jenkins2012-07-251-8/+9
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Use compute_driver in xenapi driver help messages.Dan Prince2012-07-231-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates the help messages in the xenapi driver to use 'compute_driver' examples instead of 'connection_type' which is now deprecated. Change-Id: I79b050f0b083533e60129da261326cfb7f304321
* | | | | | | | | | | Merge "Xen: Ensure snapshot is torn down on error."Jenkins2012-07-251-27/+19
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Xen: Ensure snapshot is torn down on error.Rick Harris2012-07-241-27/+19
| | |_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch solves the problem of snapshots being left around if an exception is generated in _wait_for_vhd_coalesce. The solution is to separate snapshot from coalesce and then to ensure any exceptions generated after a snapshot trigger a cleanup. Change-Id: I4c03243bc41f76d80d32934dd9506d1861951184
* | | | | | | | | | | Merge "Add missing parameters to novas cinder api"Jenkins2012-07-251-9/+13
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Add missing parameters to novas cinder apiJohn Griffith2012-07-251-9/+13
| | |_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Addresses bug 1028684 * Adds metadata and other parameters to volume create and translate_view Change-Id: I0c1def739c4a5cbcd2dbe72df6fc54b16e68b4b7
* | | | | | | | | | | Merge "Check for exception codes in openstack API results"Jenkins2012-07-252-11/+29
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Check for exception codes in openstack API resultsJohn Griffith2012-07-252-11/+29
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Inspect all exceptions for code, not just nova.exceptions Originally the fault wrapper would only inspect an exception for status, header and safe attributes if it was a nova.exception. As a result, excecptions returned from Cinder were always being incorrectly interpretted/categorized as ComputeFaults (500). This results in tempest tests that expect exceptions such as 404 NotFound to fail. Now that we're checking all Exceptions the same way, there's no need for a specifying nova.exceptions or even doing the import. Change-Id: If49e364063d5288c81ce1557bddc6dcec3ec457e
* / / / / / / / / / / Remove temporary variableSean M. Collins2012-07-251-2/+2
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I53fd54bad1f08d8c1d4ebf27a5a282189c0f3c04
* | | | / / / / / / Fixes console/vmrc_manager.py import errorZhongyue Luo2012-07-251-1/+1
| |_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug #1028748 Change-Id: I1be5637f561008489fe7367052ec2ecb6b9ae59f
* | | | | | | | | Merge "Add image_name to create and rebuild notifications"Jenkins2012-07-245-11/+72
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | Add image_name to create and rebuild notificationsisethi2012-07-235-11/+72
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 1027197 Without image_name in notifications, one has to use the image_ref and hit glance again. The create and rebuild functions already contain image_metadata, hence adding the image_name in their notification can prevent additional call to glance. Change-Id: I3813eafa24b125575bcdceac8d30ab6bd909cfe4
* | | | | | | | Merge "Provide rootwrap filters for nova-api-metadata"Jenkins2012-07-241-0/+17
|\ \ \ \ \ \ \ \
| * | | | | | | | Provide rootwrap filters for nova-api-metadataThierry Carrez2012-07-241-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The metadata service in nova-api needs access to ip[6]tables-{save-restore} to accept connections to the metadata service. This change adds an api-metadata.filters file that needs to be deployed on setups running nova-api-metadata or nova-api with "metadata" in enabled_apis. Fixes bug 1002111. Change-Id: I5aecb223876e12550394f31dbc7df893868baa8b