tox -e genconfig doesnt generate sample conf file

Bug #1768804 reported by Goutham Pratapa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kingbird
New
Undecided
Unassigned

Bug Description

Currently, when we run `tox -e genconfig` it doesn't generate sample configuration file.

and fails with the following error

genconfig runtests: commands[0] | oslo-config-generator --config-file=config-generator.conf
Traceback (most recent call last):
 File "/Users/vamsis/projects/openstack/kingbird/.tox/genconfig/bin/oslo-config-generator", line 11, in <module>
   sys.exit(main())
 File "/Users/vamsis/projects/openstack/kingbird/.tox/genconfig/lib/python2.7/site-packages/oslo_config/generator.py", line 764, in main
   conf(args, version=version)
 File "/Users/vamsis/projects/openstack/kingbird/.tox/genconfig/lib/python2.7/site-packages/oslo_config/cfg.py", line 2502, in __call__
   raise ConfigFilesNotFoundError(self._namespace._files_not_found)
oslo_config.cfg.ConfigFilesNotFoundError: Failed to find some config files: /Users/vamsis/projects/openstack/kingbird/config-generator.conf
ERROR: InvocationError for command '/Users/vamsis/projects/openstack/kingbird/.tox/genconfig/bin/oslo-config-generator --config-file=config-generator.conf' (exited with code 1)
_________________________________________________________________________________________________ summary __________________________________________________________________________________________________
ERROR: genconfig: commands failed

Revision history for this message
Goutham Pratapa (pratapagoutham) wrote :

Duplicate bug

Revision history for this message
Goutham Pratapa (pratapagoutham) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.