Bug 1695073
Summary: | networking-ovn does not clean up old stale agents entries in "openstack network agent list" | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Lucas Alvares Gomes <lmartins> |
Component: | python-networking-ovn | Assignee: | Lucas Alvares Gomes <lmartins> |
Status: | CLOSED DUPLICATE | QA Contact: | Eran Kuris <ekuris> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 14.0 (Rocky) | CC: | apevec, jlibosva, lhh, majopela, scohen, twilson |
Target Milestone: | zstream | Keywords: | Triaged |
Target Release: | 16.1 (Train on RHEL 8.2) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-01-15 22:55:12 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Lucas Alvares Gomes
2019-04-02 12:43:02 UTC
*** Bug 1695071 has been marked as a duplicate of this bug. *** I think it is possible that part of the fix for https://review.opendev.org/#/c/696936/1/networking_ovn/ml2/mech_driver.py (line 1027) could be backported pre-train to at least partially handle this issue. I think the issue is that the agents are cached by UUID and not by name, ovn-controller sets a unique chassis *name* that matches the system id, it doesn't set the UUID of the chassis row to the system-id. So if ovn-controller is restarted, it creates a new row with a new uuid (the old row does go away--because Chassis.name is an indexed column). It's just that networking-ovn is maintaining an in-memory cache of the chassis by UUID and doesn't realize that new row represents the old one. OSP14 is EOL, I'm moving this to 16.1 as what and how we need to fix it is not clear yet. *** This bug has been marked as a duplicate of bug 1828889 *** *** This bug has been marked as a duplicate of bug 1828889 *** |