Improvements required for config merging

Bug #1630519 reported by Paul Bourke
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla-ansible
Triaged
Wishlist
Unassigned

Bug Description

Naming
======
The naming scheme used for config merging in some of the services needs to be improved / made more consistent. We're coming across confusion from operators such as the following (paraphrased)

"I've added an ini file in /etc/kolla/config/cinder-api/cinder.conf on the system running kolla-ansible, and none of the parameters are showing up on my target system."

Answer here is to put it in either /etc/kolla/config/cinder.conf or /etc/kolla/config/cinder/cinder-api.conf. This is confusing, either both situations should be supported or documentation needs to be better.

Flexibility
===========
"I want to make changes to nova.conf on *api nodes only*. I put changes in /etc/kolla/config/nova/nova-api.conf but they're ending up on compute nodes"

There's currently no way of doing the above.

Changed in kolla:
milestone: none → ocata-1
importance: Undecided → Wishlist
Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

should only support one situation. The choice is bad.

> "I want to make changes to nova.conf on *api nodes only*. I put changes in /etc/kolla/config/nova/nova-api.conf but they're ending up on compute nodes"

the configure should be only copied to the node who need it, this is a bug[0].

the custom config file also support ansible template and this should be documented. like

cat <<EOF > /etc/kolla/config/nova.conf
{% if service_name='nova-api' %}
[DEFAULT]
debug=True
{% endif %}

[0] https://bugs.launchpad.net/kolla/+bug/1559122

Duong Ha-Quang (duonghq)
Changed in kolla:
status: New → Confirmed
importance: Wishlist → Medium
Changed in kolla:
assignee: nobody → Surya Prakash Singh (confisurya)
Changed in kolla:
status: Confirmed → In Progress
Changed in kolla:
milestone: ocata-1 → ocata-2
Changed in kolla:
milestone: ocata-2 → ocata-3
Changed in kolla:
assignee: Surya Prakash Singh (confisurya) → nobody
importance: Medium → Wishlist
status: In Progress → Confirmed
Mark Goddard (mgoddard)
affects: kolla → kolla-ansible
Changed in kolla-ansible:
milestone: ocata-3 → none
Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

Mark's idea: add documentation that you can mix host/group vars and config overrides as they are templatable.

Changed in kolla-ansible:
status: Confirmed → Triaged
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.