tox -e genconfig doesnt generate sample conf file

Bug #1768806 reported by Goutham Pratapa
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kingbird
Fix Released
Undecided
vamsi

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

Changed in kingbird:
status: New → Confirmed
assignee: nobody → vamsi (vamsi-skrishna)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kingbird (master)

Fix proposed to branch: master
Review: https://review.openstack.org/566025

Changed in kingbird:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kingbird (master)

Reviewed: https://review.openstack.org/566025
Committed: https://git.openstack.org/cgit/openstack/kingbird/commit/?id=c1a9a255ac0d6ba7f94f1541b559b94d913998b0
Submitter: Zuul
Branch: master

commit c1a9a255ac0d6ba7f94f1541b559b94d913998b0
Author: Vamsi Surapureddi <email address hidden>
Date: Thu May 3 16:35:19 2018 +0530

    Fixes tox genconfig

    Change-Id: I4ca5179efdc217c6dd545961456009606bd911a6
    Closes-bug: #1768806

Changed in kingbird:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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