neutron-server fails to start on one or more controllers in HA scenario
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Marios Andreou |
Bug Description
neutron-server occasionally fails to start on one or more controllers in the HA scenario, with pcs reporting the following:
neutron-
and server.log printing:
DBDuplicateEntry: (IntegrityError) (1062, "Duplicate entry 'datacentre-1' for key 'PRIMARY'") 'INSERT INTO ml2_vlan_
Changed in tripleo: | |
status: | Triaged → In Progress |
Changed in tripleo: | |
assignee: | Giulio Fidente (gfidente) → Marios Andreou (marios-b) |
Changed in tripleo: | |
status: | In Progress → Fix Committed |
Changed in tripleo: | |
status: | Fix Committed → Fix Released |
neutron-server will try to populate the database with some data as soon as neutron-server is started; the error might be caused by a race due to multiple instances of neutron-server starting on different nodes
astapor seems to be doing a start/stop as workaround, see: /github. com/redhat- openstack/ astapor/ blob/master/ puppet/ modules/ quickstack/ manifests/ pacemaker/ neutron. pp#L87- L97
https:/