ironic/releasenotes/notes/image-no-data-c281f638d3dedfb2.yaml
Dmitry Tantsur 70039cbe60 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
2018-02-07 13:45:55 +01:00

7 lines
245 B
YAML

---
fixes:
- |
Fails deployment with the correct error message in a node's ``last_error``
field if an image from the Image service doesn't contain any data.
See `bug 1741223 <https://bugs.launchpad.net/bugs/1741223>`_ for details.