RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1234652 - Instack has hard coded values for specific config files
Summary: Instack has hard coded values for specific config files
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: instack-undercloud
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Kilo
Assignee: James Slagle
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks: 1235481
TreeView+ depends on / blocked
 
Reported: 2015-06-22 23:27 UTC by Graeme Gillies
Modified: 2016-05-19 15:57 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1235481 (view as bug list)
Environment:
Last Closed: 2016-05-19 15:57:57 UTC
Embargoed:


Attachments (Terms of Use)

Description Graeme Gillies 2015-06-22 23:27:49 UTC
I'm attempting to use RDO-Manager with all my configuration files/state stored in a subdirectory which is a git repo.

Unfortunately, looking at the instack code it seems it just looks for a bunch of configuration files in the root of a users home directory

e.g. from instack_undercloud/undercloud.py

CONF_PATH = os.path.expanduser('~/undercloud.conf')
# NOTE(bnemec): Deprecated
ANSWERS_PATH = os.path.expanduser('~/instack.answers')
PASSWORD_PATH = os.path.expanduser('~/undercloud-passwords.conf')
LOG_FILE = os.path.expanduser('~/.instack/install-undercloud.log')

It would be good to come up with a framework/model for all configuration files/data for the undercloud (and possibly overcloud), and document that standard and get all the tools to use it.

E.g. evaluate values in order of command line options, local config files, files in /etc, then global defaults (or something similar).

Cheers,

Graeme

Comment 2 Chandan Kumar 2016-05-19 15:57:57 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.


Note You need to log in before you can comment on or make changes to this bug.