-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
2
-
False
-
-
False
-
?
-
ovn-operator-container-1.0.0-45
-
?
-
None
-
-
-
Moderate
ovs-vswitchd init.sh waits for ovs-vsctl show to succeed, then proceeds to configure db. I believe there's a race condition here because of
the way we initialize ovsdb (by starting ovsdb-server, among other things, as part of ovs-ctl start command).
When we start ovsdb-server, we 1) ovs-ctl start; 2) ovs-ctl stop; 3) start ovsdb-server.
Step (1) starts ovsdb-server; (2) stops it. This is a side effect of calling ovs-ctl start. The reason we call ovs-ctl start is to initialize / upgrade db, among other things. We don't REALLY need to start ovsdb-server in (1), it's just a side effect.
Anyway, if ovs-vsctl show command arrives in between (1) and (2), it will succeed; but then the commands that configure external-ids in ovsdb may arrive between (2) and (3) [when ovsdb-server is down], and I think in this case we may fail to configure db properly, or the vswitchd container may fail. (the latter is probably preferrable because then the next attempt to start it will retry; still not great).
- links to
-
RHBA-2024:138623 Release of containers for RHOSO OpenStack Podified operator
- mentioned in
-
Page Loading...
- mentioned on