yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #85037
[Bug 1911700] Re: glance status upgrade check fails with TypeError
** Changed in: glance
Status: New => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1911700
Title:
glance status upgrade check fails with TypeError
Status in Glance:
Fix Released
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-file=./test.conf upgrade check
Error:
Traceback (most recent call last):
File "/home/cyril/openstack/glance/v/lib/python3.9/site-packages/oslo_upgradecheck/upgradecheck.py", line 196, in run
return conf.command.action_fn()
File "/home/cyril/openstack/glance/v/lib/python3.9/site-packages/oslo_upgradecheck/upgradecheck.py", line 106, in check
result = func(self)
File "/home/cyril/openstack/glance/glance/cmd/status.py", line 36, in _check_sheepdog_store
if 'sheepdog' in getattr(CONF, 'enabled_backends', {}):
TypeError: argument of type 'NoneType' is not iterable
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1911700/+subscriptions
References