Improvements required for config merging

Bug #1630519 reported by Paul Bourke on 2016-10-05
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
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
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) on 2016-10-26
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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers