node_custom_config doesn't honor --configdir

Bug #1931032 reported by Scott Shambarger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Triaged
Medium
Unassigned

Bug Description

The default for node_custom_config does not use node_config, which may be overriden with --configdir, and is defaulted to "/etc/kolla/config". Since the files are used to template with the globals.yml values, it makes sense that they should be grouped with the globals.yml file, at least by default.

Of course, working around the default is as easy as setting

 node_custom_config: "{{ node_config }}/config"

in the globals.yml -- but the name similarity implies that node_config and node_custom_config should refer to the same "group" of configurations... and I was surprised when --configdir didn't apply to the custom files.

Revision history for this message
Mark Goddard (mgoddard) wrote :

I agree that your suggestion is more intuitive than how it currently works. My only concern is around backwards compatibility, and whether it might break existing users. I suppose they would have to be using the default for node_custom_config (/etc/kolla/config), while using a different --configdir than /etc/kolla, which would be quite unusual.

Changed in kolla-ansible:
status: New → Triaged
importance: Undecided → Medium
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.