Bug 2042494

Summary: [4.9] BACKPORT Delete Stale container interfaces on hard reboot
Product: OpenShift Container Platform Reporter: Andrew Stoycos <astoycos>
Component: NetworkingAssignee: Andrew Stoycos <astoycos>
Networking sub component: ovn-kubernetes QA Contact: Ross Brattain <rbrattai>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: rbrattai
Version: 4.9   
Target Milestone: ---   
Target Release: 4.9.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2107645 (view as bug list) Environment:
Last Closed: 2022-02-23 20:02:53 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:
Bug Depends On: 2042539    
Bug Blocks: 1986216, 2107645    

Description Andrew Stoycos 2022-01-19 15:40:31 UTC
Backport the work orignally merged upstream here -> https://github.com/ovn-org/ovn-kubernetes/pull/2710 So that stale OVS ports/interfaces are pruned on a hard node reboot.  This take some pressure of the OVS service local to the node.

Comment 2 Ross Brattain 2022-02-08 22:43:20 UTC
Defaulted container "ovn-controller" out of: ovn-controller, ovn-acl-logging, kube-rbac-proxy, ovnkube-node
sh-4.4# ovs-vsctl --format=table --columns=_uuid,other_config find Port
_uuid                                other_config
------------------------------------ ------------------
8002f4f0-df68-4293-933f-d4aa3b752b93 {transient="true"}
bd07c121-e6a8-416a-86ec-cb4335d920f8 {transient="true"}
677072b1-eb95-453f-ba40-345e96db74ba {}
e13f1b51-56e4-4be5-8885-aded63467733 {transient="true"}
56b3d932-c442-44c0-8d64-4561449cd2e9 {transient="true"}
eac39e93-a44d-4dc3-a75b-d97f66282e10 {transient="true"}
6efee903-38c3-4446-b806-96574a05d6fa {transient="true"}
d927dec5-f74e-45bd-bc31-7a94b8b139ec {transient="true"}
a537b396-ed00-404e-9f2f-60cbcc8bdedc {}
bbed3bc6-af2f-47a5-b18c-f25f033a52a3 {}
ee990236-7655-4c48-b325-faf5e65508b5 {}
d6678977-d781-4024-863b-ccf5118fa7bb {}
0ebf35c8-188e-439a-b7ce-737c03ef8b21 {transient="true"}
17b58df8-b67a-493f-989d-7392d9b14b46 {}
3a4660c8-f1d5-4443-b7c5-fe47398f68bc {transient="true"}
23c58ce9-b63a-402a-b1b8-f34d0c2d0f30 {}
4c86ebe9-a818-4174-9c38-dc1670876f2a {transient="true"}
e96b8ee9-a812-4341-bc82-e1350a0d40d7 {transient="true"}
fa5dd69a-a133-4e59-b056-d64858653fb1 {}
5e356c6a-54cf-42ee-be7d-840a0466105b {transient="true"}
0f5802db-a6f7-4dc3-bb1d-8f95864a32ae {}
7fb7dbbb-a911-4f4d-aed8-74d01d4ee4d1 {transient="true"}
a1dc8e8c-ca58-4d5a-b7fa-5c8bdc6f66dc {}
0e3a360d-4a0f-490f-8d6b-fb07af633d01 {}
5463309d-d876-43eb-992a-61d323f2d7b7 {transient="true"}
f8fdb1fe-dcbc-4de5-af39-64f7660270d0 {transient="true"}
7896f06f-1071-4fbd-a446-91d63cfd91b5 {transient="true"}
f56b39cf-d327-4eb8-8f1a-a3c5ee034ae6 {transient="true"}

Comment 7 errata-xmlrpc 2022-02-23 20:02:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.9.22 security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:0561