Option hpxp_storage_cli appears to be causing an issue.
master @ 8b581e0 Merge "Replace basestring with six.string_types"
$ tox -e genconfig
genconfig create: /mnt/ssd1/src/cinder/.tox/venv
genconfig installdeps: -r/mnt/ssd1/src/cinder/requirements.txt, -r/mnt/ssd1/src/cinder/test-requirements.txt
genconfig develop-inst: /mnt/ssd1/src/cinder
genconfig runtests: commands[0] | /mnt/ssd1/src/cinder/tools/config/generate_sample.sh -b . -p cinder -o etc/cinder
/mnt/ssd1/src/cinder/.tox/venv/lib/python2.7/site-packages/novaclient/v1_1/__init__.py:30: UserWarning: Module novaclient.v1_1 is deprecated (taken as a basis for novaclient.v2). The preferable way to get client class or object you can find in novaclient.client module.
warnings.warn("Module novaclient.v1_1 is deprecated (taken as a basis for "
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 "/mnt/ssd1/src/cinder/cinder/openstack/common/config/generator.py", line 307, in <module>
main()
File "/mnt/ssd1/src/cinder/cinder/openstack/common/config/generator.py", line 304, in main
generate(sys.argv[1:])
File "/mnt/ssd1/src/cinder/cinder/openstack/common/config/generator.py", line 132, in generate
for group, opts in _list_opts(mod_obj):
File "/mnt/ssd1/src/cinder/cinder/openstack/common/config/generator.py", line 196, in _list_opts
ret.setdefault(_guess_groups(opt, obj), []).append(opt)
File "/mnt/ssd1/src/cinder/cinder/openstack/common/config/generator.py", line 176, in _guess_groups
% opt.name
RuntimeError: Unable to find group for option hpxp_storage_cli, maybe it's defined twice in the same group?
Can not generate etc/cinder/cinder.conf.sample
ERROR: InvocationError: '/mnt/ssd1/src/cinder/tools/config/generate_sample.sh -b . -p cinder -o etc/cinder'
__________________________________________________________________________________ summary __________________________________________________________________________________
ERROR: genconfig: commands failed
I am taking this bug. Our config file generation has been broken for too long. I am working on this right now.