commit d0f4a37c2acdaa531908db7fec782477b6158de4
Author: Sven Anderson <email address hidden>
Date: Tue Nov 10 14:33:13 2015 +0100
Fix is_volume_backed_instance() for unset image_ref
is_volume_backed_instance() assumed from old times, that if image_ref
is not set, the instance is always volume backed. This is not true
anymore, since block device mappings can also reference images as
source. This fix adapts the test cases and function accordingly.
Change-Id: Ie83d8d8154d372991fb37dae0def37e3f4583090
Closes-Bug: #1501851
(cherry picked from commit db184423e512aff9653d74a3d3bcfc6c80b23403)
Reviewed: https:/ /review. openstack. org/247773 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=d0f4a37c2ac daa531908db7fec 782477b6158de4
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit d0f4a37c2acdaa5 31908db7fec7824 77b6158de4
Author: Sven Anderson <email address hidden>
Date: Tue Nov 10 14:33:13 2015 +0100
Fix is_volume_ backed_ instance( ) for unset image_ref
is_ volume_ backed_ instance( ) assumed from old times, that if image_ref
is not set, the instance is always volume backed. This is not true
anymore, since block device mappings can also reference images as
source. This fix adapts the test cases and function accordingly.
Change-Id: Ie83d8d8154d372 991fb37dae0def3 7e3f4583090 9653d74a3d3bcfc 6c80b23403)
Closes-Bug: #1501851
(cherry picked from commit db184423e512aff