yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #13531
[Bug 1304762] Re: rbd_user is not imported to imagebackend.py
** Changed in: nova
Assignee: wangpan (hzwangpan) => (unassigned)
** Changed in: nova
Status: In Progress => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1304762
Title:
rbd_user is not imported to imagebackend.py
Status in OpenStack Compute (Nova):
Invalid
Bug description:
this config is defined in nova/virt/libvirt/volume.py, but it's also
used in nova/virt/libvirt/imagebackend.py, and it is not imported to
this module, so a NoSuchOptError is raised while running tests of rbd
image in nova/tests/virt/libvirt/test_imagebackend.py.
Traceback (most recent call last):
File "/opt/stack/nova/nova/tests/virt/libvirt/test_imagebackend.py", line 720, in setUp
group='libvirt')
File "/opt/stack/nova/nova/test.py", line 298, in flags
CONF.set_override(k, v, group)
File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1547, in __inner
result = f(self, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1797, in set_override
opt_info = self._get_opt_info(name, group)
File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 2106, in _get_opt_info
raise NoSuchOptError(opt_name, group)
NoSuchOptError: no such option in group libvirt: rbd_user
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1304762/+subscriptions
References