yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #71035
[Bug 1748399] Re: Config generation failing after recent patch
Reviewed: https://review.openstack.org/542699
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=225a33967e5f210e1dae9ec18f1132eff8abacbd
Submitter: Zuul
Branch: master
commit 225a33967e5f210e1dae9ec18f1132eff8abacbd
Author: yatin <ykarel@xxxxxxxxxx>
Date: Fri Feb 9 13:24:31 2018 +0530
Fix wrong usage of extend in list_image_import_opts
Review https://review.openstack.org/#/c/541740/ wrongly
used "extend" method in image_import_opts, this patch
fixes it.
Change-Id: I00375575d601ea6d970bb93c3f01f35c034976a2
Closes-Bug: #1748399
** Changed in: glance
Status: Triaged => 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/1748399
Title:
Config generation failing after recent patch
Status in Glance:
Fix Released
Bug description:
tox -egenconfig failing after https://review.openstack.org/#/c/541740/ with Error:-
Traceback (most recent call last):
File "/root/glance/.tox/genconfig/bin/oslo-config-generator", line 11, in <module>
sys.exit(main())
File "/root/glance/.tox/genconfig/lib/python2.7/site-packages/oslo_config/generator.py", line 770, in main
generate(conf)
File "/root/glance/.tox/genconfig/lib/python2.7/site-packages/oslo_config/generator.py", line 731, in generate
groups = _get_groups(_list_opts(conf.namespace))
File "/root/glance/.tox/genconfig/lib/python2.7/site-packages/oslo_config/generator.py", line 489, in _list_opts
for group, group_opts in loader():
File "/root/glance/glance/opts.py", line 165, in list_image_import_opts
return [(g, copy.deepcopy(o)) for g, o in opts]
TypeError: 'NoneType' object is not iterable
ERROR: InvocationError: '/root/glance/.tox/genconfig/bin/oslo-config-generator --config-file etc/oslo-config-generator/glance-image-import.conf'
____________________________________________________________________ summary _____________________________________________________________________
ERROR: genconfig: commands failed
Review https://review.openstack.org/#/c/541740/ wrongly used "extend"
method in image_import_opts.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1748399/+subscriptions
References