commit db184423e512aff9653d74a3d3bcfc6c80b23403
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.
Reviewed: https:/ /review. openstack. org/243616 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=db184423e51 2aff9653d74a3d3 bcfc6c80b23403
Committed: https:/
Submitter: Jenkins
Branch: master
commit db184423e512aff 9653d74a3d3bcfc 6c80b23403
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
Closes-Bug: #1501851