← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1157094] Re: unittest error when running loadbalancer tests separately

 

** Changed in: quantum
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to quantum.
https://bugs.launchpad.net/bugs/1157094

Title:
  unittest error when running loadbalancer tests separately

Status in OpenStack Quantum (virtual network service):
  Fix Released

Bug description:
  when runnung "./run_tests.sh
  quantum.tests.unit.services.agent_loadbalancer" the error is:

  Traceback (most recent call last):
    File "/home/obondarev/projects/Quantum_main/quantum/quantum/tests/unit/services/agent_loadbalancer/driver/haproxy/test_cfg.py", line 53, in test_build_global
      config.CONF.register_opt(config.StrOpt('user_group'))
    File "/home/obondarev/projects/Quantum_main/quantum/.venv/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1129, in __inner
      return f(self, *args, **kwargs)
    File "/home/obondarev/projects/Quantum_main/quantum/.venv/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1248, in register_opt
      if _is_opt_registered(self._opts, opt):
    File "/home/obondarev/projects/Quantum_main/quantum/.venv/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 479, in _is_opt_registered
      raise DuplicateOptError(opt.name)
  DuplicateOptError: duplicate option: user_group

  Need to check if an option was already registered before

To manage notifications about this bug go to:
https://bugs.launchpad.net/quantum/+bug/1157094/+subscriptions