glance status upgrade check fails with TypeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Undecided
|
Cyril Roelandt |
Bug Description
When the 'enabled_backends' option has not been set, it defaults to None and we get the following error:
$ touch test.conf
$ glance-status --config-
Error:
Traceback (most recent call last):
File "/home/
return conf.command.
File "/home/
result = func(self)
File "/home/
if 'sheepdog' in getattr(CONF, 'enabled_backends', {}):
TypeError: argument of type 'NoneType' is not iterable
Changed in glance: | |
assignee: | nobody → Cyril Roelandt (cyril-roelandt) |
Changed in glance: | |
status: | New → Fix Released |
This issue was fixed in the openstack/glance 22.0.0.0b2 development milestone.