diff options
author | David McNally <dave.mcnally@hp.com> | 2013-06-14 14:03:56 +0100 |
---|---|---|
committer | David McNally <dave.mcnally@hp.com> | 2013-06-26 14:38:24 +0100 |
commit | 3d260fc94201078f27d892049b2f8e9269e837f8 (patch) | |
tree | 6871a5fc41ebdffea623a1ad8d77add635c52908 /nova/locale/en_GB/LC_MESSAGES/nova.po | |
parent | 7696c3c11f0de855cbc53cc04ee7d2be07ae3b9c (diff) | |
download | nova-3d260fc94201078f27d892049b2f8e9269e837f8.tar.gz nova-3d260fc94201078f27d892049b2f8e9269e837f8.tar.xz nova-3d260fc94201078f27d892049b2f8e9269e837f8.zip |
Fix for failure of periodic instance cleanup
The periodic task to identify and (optionally) delete instances which
are running on the host but marked as deleted in the nova database currently fails
if the option to delete is selected.
This failure is because the instance data returned from the query in
nova.compute.manager:_get_instances_on_driver does not include the system metadata
expected by nova.compute.flavors:extract_instance_type.
This change alters _get_instances_on_driver so the calling function can specify
columns_to_join which is used in the call to instance_get_all_by_filters (leaving
this set to None, rather than [] as it is currently, joins the default columns which
includes the required system metadata).
bug: 1190206
Change-Id: I44aecebdb4d0e20e52fdd59b46a022483cdd19d5
Diffstat (limited to 'nova/locale/en_GB/LC_MESSAGES/nova.po')
0 files changed, 0 insertions, 0 deletions