'NoneType' object is not iterable when Glance cannot find image data in its backend (e.g. Swift)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Medium
|
Dmitry Tantsur | ||
python-openstackclient |
Fix Released
|
Undecided
|
Mike Fedosin |
Bug Description
2018-01-04 10:03:40.179 22592 ERROR ironic.
o deploy to node e78a5e78-
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
2018-01-04 10:03:40.179 22592 ERROR ironic.
Note that I had to enable tracebacks manually, otherwise I only saw "NoneType object is not iterable" without any details.
UPD: it turns out that Glance returns None as data when the backing storage (e.g. Swift) cannot find data. We need to account for it, if it's valid behavior.
description: | updated |
Changed in python-glanceclient: | |
assignee: | nobody → Mike Fedosin (mfedosin) |
affects: | python-glanceclient → python-openstackclient |
Changed in ironic: | |
status: | Confirmed → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Dmitry Tantsur (divius) |
Related fix proposed to branch: master /review. openstack. org/531120
Review: https:/