Comment 9 for bug 1501851

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/243616
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=db184423e512aff9653d74a3d3bcfc6c80b23403
Submitter: Jenkins
Branch: master

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.

    Change-Id: Ie83d8d8154d372991fb37dae0def37e3f4583090
    Closes-Bug: #1501851