Comment 9 for bug 1741223

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

Reviewed: https://review.openstack.org/531180
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=70039cbe607195f66872d8640976c13284f75b79
Submitter: Zuul
Branch: master

commit 70039cbe607195f66872d8640976c13284f75b79
Author: Dmitry Tantsur <email address hidden>
Date: Thu Jan 4 16:47:20 2018 +0100

    Handle case when a glance image contains no data

    In my experience, it happens when Swift storage backing Glance was
    purged, but it can probably also happen if an image never had data
    at all. This patch raises a correct exception instead of TypeError.

    Switch relevant unit tests to Glance V2, as V1 is long deprecated.

    Change-Id: I75e5ae7f46ce3a1506ed6108ff05df3083fd5084
    Closes-Bug: #1741223