[openstack-dev] [oslo.config] Sample generation error

Endre Karlson endre.karlson at gmail.com
Mon Oct 28 11:13:16 UTC 2013


https://review.openstack.org/54101 < is a change to introduce sample
generation for Libra LBaaS.

I run the command as: "./tools/config/generate_sample.sh -b ./ -p libra -o
etc"

I keep getting:
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File
"/home/karlsone/projects/libra/libra/openstack/common/config/generator.py",
line 268, in <module>
    main()
  File
"/home/karlsone/projects/libra/libra/openstack/common/config/generator.py",
line 265, in main
    generate(sys.argv[1:])
  File
"/home/karlsone/projects/libra/libra/openstack/common/config/generator.py",
line 99, in generate
    for group, opts in _list_opts(mod_obj):
  File
"/home/karlsone/projects/libra/libra/openstack/common/config/generator.py",
line 163, in _list_opts
    ret.setdefault(_guess_groups(opt, obj), []).append(opt)
  File
"/home/karlsone/projects/libra/libra/openstack/common/config/generator.py",
line 143, in _guess_groups
    % opt.name
RuntimeError: Unable to find group for option daemon, maybe it's defined
twice in the same group?

I don't get it why it's wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131028/7e649b2e/attachment.html>


More information about the OpenStack-dev mailing list