← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1304762] [NEW] rbd_user is not imported to imagebackend.py

 

Public bug reported:

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

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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):
  New

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


Follow ups

References