← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1424576] Re: RuntimeError: Unable to find group for option fatal_deprecations, maybe it's defined twice in the same group?

 

This problem was introduced with this change
https://review.openstack.org/#/c/123868/

** Also affects: oslo-incubator
   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/1424576

Title:
  RuntimeError: Unable to find group for option fatal_deprecations,
  maybe it's defined twice in the same group?

Status in OpenStack Compute (Nova):
  New
Status in The Oslo library incubator:
  New

Bug description:
  I tried to generate a nova.conf configuration file with the current
  state of the Nova repository (master) and got the following exception
  message:

  % tox -e genconfig
  genconfig create: /home/berendt/Repositories/nova/.tox/genconfig
  genconfig installdeps: -r/home/berendt/Repositories/nova/requirements.txt, -r/home/berendt/Repositories/nova/test-requirements.txt
  genconfig develop-inst: /home/berendt/Repositories/nova
  genconfig runtests: PYTHONHASHSEED='0'
  genconfig runtests: commands[0] | bash tools/config/generate_sample.sh -b . -p nova -o etc/nova
  Traceback (most recent call last):
    File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
      "__main__", fname, loader, pkg_name)
    File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
      exec code in run_globals
    File "/home/berendt/Repositories/nova/nova/openstack/common/config/generator.py", line 303, in <module>
      main()
    File "/home/berendt/Repositories/nova/nova/openstack/common/config/generator.py", line 300, in main
      generate(sys.argv[1:])
    File "/home/berendt/Repositories/nova/nova/openstack/common/config/generator.py", line 128, in generate
      for group, opts in _list_opts(mod_obj):
    File "/home/berendt/Repositories/nova/nova/openstack/common/config/generator.py", line 192, in _list_opts
      ret.setdefault(_guess_groups(opt, obj), []).append(opt)
    File "/home/berendt/Repositories/nova/nova/openstack/common/config/generator.py", line 172, in _guess_groups
      % opt.name
  RuntimeError: Unable to find group for option fatal_deprecations, maybe it's defined twice in the same group?

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


References