** 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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to