Tacker's Devstack script silently override configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Invalid
|
Undecided
|
Unassigned | ||
tacker |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Hi,
With devstack, users can configure some Neutron features with configuration variables, like Q_ML2_PLUGIN_
However, Tacker' Devstack script silently override some of them in :
https:/
(as of c23f81cd762d8ba
Thus, a user who would use those configuration variables would not see its changes applied.
It could be better to add the Tacker specific configuration to those variables, and let devstack handle them.
Meanwhile, as a workaround, users can use post-config hooks to force their configuration, for example, adding the following lines to their locaf.conf would perform something similar than configuring OVS_BRIDGE_MAPPINGS :
[[post-
[ovs]
bridge_mappings = public:
Changed in devstack: | |
status: | New → Invalid |
Changed in tacker: | |
status: | New → Won't Fix |
A way to solve this bug would maybe be to add the relevant configuration to those overridden settings in https:/ /github. com/openstack/ tacker/ blob/master/ devstack/ settings, for example by specifying OVS_BRIDGE_ MAPPINGS+ =$MGMT_ PHYS_NET: $BR_MGMT and so on.
That way the user provided configuration may be preserved, and the code may be simplified, for example leveraging NEUTRON_ CREATE_ INITIAL_ NETWORKS etc to create the bridges, allocate the IP to the interface etc.