ml2_conf.ini has inconsistent template configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
High
|
Derek Ditch | ||
Liberty |
Fix Released
|
High
|
Derek Ditch | ||
Mitaka |
Fix Released
|
High
|
Derek Ditch |
Bug Description
I was trying to customize ml2_conf.ini on a single host in my cloud so that I could add an additional physnet bridge mapping when I noticed an inconsistency in the configuration. My changes weren't being pushed to the nodes. As it turns out, the current task uses the `merge_configs` module to pull in values from the `ml2_conf.ini.j2` template, the global neutron ml2_conf.ini config, then the inventory hostname specific version, except it pulls in values from `neutron.conf`, not `ml2_conf.ini` as expected.
This bug goes back to at least the stable/liberty branch. I request that this is backported to at least stable/mitaka for production use.
```
- name: Copying over ml2_conf.ini
merge_configs:
vars:
service_name: "{{ item }}"
sources:
- "{{ role_path }}/templates/
- "{{ node_custom_config }}/neutron/
- "{{ node_custom_config }}/neutron/{{ inventory_hostname }}/neutron.conf"
dest: "{{ node_config_
with_items:
- "neutron-
- "neutron-l3-agent"
- "neutron-
- "neutron-
- "neutron-
- "neutron-server"
```
Excerpt taken from https:/
Changed in kolla: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Derek Ditch (dcode) |
milestone: | none → newton-2 |
Reviewed: https:/ /review. openstack. org/329506 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=977a46ce225 249f9596e556dbc 48bd50226d8983
Committed: https:/
Submitter: Jenkins
Branch: master
commit 977a46ce225249f 9596e556dbc48bd 50226d8983
Author: Derek Ditch <email address hidden>
Date: Tue Jun 14 10:02:12 2016 -0500
Makes ml2_conf.ini configuration consistent
Change-Id: I10f2209428b21c d3dedb6b7fb14e9 de34bbf3fa4
Closes-Bug: 1592444