-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up stable OVS PID, UDS, and OVSDB lock files before starting OVS #880
Conversation
Thanks for your PR. The following commands are available:
These commands can only be run by members of the vmware-tanzu organization. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would have been good to get to the root cause, but workaround LGTM
@antoninbas : maybe I should keep #870 open? |
/test-all |
I think we can close #870 since we addressed the issue and it shouldn't happen again with this workaround. If you want to update start_ovs with some additional comments explaining why we are deleting these files, I think it could be beneficial though. |
|
Ok. Let me add the descriptions in the commit message to start_ovs. |
We observed in issue antrea-io#870 that ovsdb-server failed to restart with error: "ovsdb-server: /var/run/openvswitch/ovsdb-server.pid: pidfile check failed (No such process), aborting", until we deleted the stale OVS PID files. This commit deletes all stale OVS PID, UDS, and OVSDB lock files before starting the OVS daemons. Fixes: antrea-io#870
/test-all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
antrea-io#880) We observed in issue antrea-io#870 that ovsdb-server failed to restart with error: "ovsdb-server: /var/run/openvswitch/ovsdb-server.pid: pidfile check failed (No such process), aborting", until we deleted the stale OVS PID files. This commit deletes all stale OVS PID, UDS, and OVSDB lock files before starting the OVS daemons. Fixes: antrea-io#870
We observed in issue #870 that ovsdb-server failed to restart with
error: "ovsdb-server: /var/run/openvswitch/ovsdb-server.pid: pidfile
check failed (No such process), aborting", until we deleted the stale
OVS PID files.
This commit deletes all stale OVS PID, UDS, and OVSDB lock files before
starting the OVS daemons.
Fixes: #870