Red Hat Bugzilla – Bug 1243188
[RFE] [Undercloud] Hard coded paths to undercloud.conf and undercloud-passwords.conf
Last modified: 2018-10-27 22:14:08 EDT
Hi, Looking at the code for instack_undercloud we see 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') These paths are all hard coded to users home directory (and even worse, relying on shell expansion). Can we change it so the default is to look for undercloud.conf in the current working directory, before looking in home directory? Then also have a commmand line switch (also exposed through UCLI) to set custom locations for undercloud.conf and undercloud-passwords.conf? instack.answers isn't used so we can ignore that, and logfiles might be good to go to consistent location (though they could also go to current working dir as well) Regards, Graeme
This bug did not make the OSP 8.0 release. It is being deferred to OSP 10.
*** Bug 1235481 has been marked as a duplicate of this bug. ***