commit c4eab7062301b8f3b2de2358c589aee4c53074ef
Author: Paul Murray <email address hidden>
Date: Tue Dec 16 14:20:32 2014 +0000
Fix ironic delete fails when flavor deleted
The ironic virt driver looks up the flavor of an instance
when it is going to delete it. This is to obtain extra
specs details that are not available in the instance details.
If the flavor has been deleted this lookup fails and causes
the delete to fail.
The fix makes the lookup include deleted flavors. Note that
extra specs handling is changing in nova, so this code is
likely to become obsolete when they are available by
other means.
Change-Id: I47ba78abfe60e82226acc6a17752db503d9f21d8
Co-Authored-By: Nicholas Randon <email address hidden>
Co-Authored-By: Phil Day <email address hidden>
Closes-Bug: #1400269
Reviewed: https:/ /review. openstack. org/142123 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=c4eab706230 1b8f3b2de2358c5 89aee4c53074ef
Committed: https:/
Submitter: Jenkins
Branch: master
commit c4eab7062301b8f 3b2de2358c589ae e4c53074ef
Author: Paul Murray <email address hidden>
Date: Tue Dec 16 14:20:32 2014 +0000
Fix ironic delete fails when flavor deleted
The ironic virt driver looks up the flavor of an instance
when it is going to delete it. This is to obtain extra
specs details that are not available in the instance details.
If the flavor has been deleted this lookup fails and causes
the delete to fail.
The fix makes the lookup include deleted flavors. Note that
extra specs handling is changing in nova, so this code is
likely to become obsolete when they are available by
other means.
Change-Id: I47ba78abfe60e8 2226acc6a17752d b503d9f21d8
Co-Authored-By: Nicholas Randon <email address hidden>
Co-Authored-By: Phil Day <email address hidden>
Closes-Bug: #1400269