a1547abb99
A new OVN maintenance method is added. This method lists all existing OVN SB Chassis registers and checks if any of them has the same hostname. In case of having duplicated "Chassis"/"Chassis_Private" registers, the maintenance method will remove those with older (lower) timestamp, that is stored in "Chassis_Private.nb_cfg_timestamp", leaving only the newer one. Conflicts: neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/ovsdb/test_maintenance.py Closes-Bug: #2016158 Change-Id: Ib3c6f0dc01efd31430691e720ba23ccb4ede65fa (cherry picked from commit9d9f47c20c
) (cherry picked from commit7fc12decdf
)
18 lines
835 B
YAML
18 lines
835 B
YAML
---
|
|
issues:
|
|
- |
|
|
When using ML2/OVN, during an upgrade procedure, the OVS system-id stored
|
|
value can be changed. The ovn-controller service will create the "Chassis"
|
|
and "Chassis_Private" registers based on this OVS system-id. If the
|
|
ovn-controller process is not gracefully stopped, that could lead to the
|
|
existence of duplicated "Chassis" and "Chassis_Private" registers in the
|
|
OVN Southbound database.
|
|
fixes:
|
|
- |
|
|
A new OVN maintenance method ``remove_duplicated_chassis_registers`` is
|
|
added. This method will periodically check the OVN Southbound "Chassis"
|
|
and "Chassis_Private" tables looking for duplicated registers. The older
|
|
ones (based on the "Chassis_Private.nb_cfg_timestamp" value) will be
|
|
removed when more than one register has the same hostname, that should
|
|
be unique.
|