SM: CI sanity fails because service_providers set twice in neutron config
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Fix Committed
|
Critical
|
Nitish Krishna Kaveri | |||
Trunk |
Fix Committed
|
Critical
|
Nitish Krishna Kaveri |
Bug Description
In master branch, CI sanity SM lite jobs have failed after below check-in got merged:
https:/
This has unearthed an existing bug in SM provisioning which caused service_provider to be set twice in neutron.conf
The reason for this is described below
Neutron DEFAULT config brings in two values for that key as seen below:
# --- Reference implementations ---
service_
service_
SM/Puppet uses Augeas which sets BOTH of those keys to configured value.
When above check-in got merged it returned ALL values of the key from neutron.conf instead of previously returning a hard-coded value. Since it expects only one value, this causes neutron plugin to fail.
This was handled in fab by first deleting both keys and they setting once.
We are now doing same in SM.
description: | updated |
Review in progress for https:/ /review. opencontrail. org/19421
Submitter: Nitish Krishna Kaveri (<email address hidden>)