Bug 2076169

Summary: trunk/subports not being deleted from platform after node deletion
Product: OpenShift Container Platform Reporter: Arnab Ghosh <arghosh>
Component: NetworkingAssignee: Maysa Macedo <mdemaced>
Networking sub component: kuryr QA Contact: Jon Uriarte <juriarte>
Status: CLOSED DUPLICATE Docs Contact:
Severity: medium    
Priority: high CC: mdemaced, mdulko, rcernin
Version: 4.8Keywords: Triaged
Target Milestone: ---Flags: mdemaced: needinfo-
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-30 18:46:14 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 Arnab Ghosh 2022-04-18 06:18:20 UTC
Description of problem:
trunk/subports remains in DOWN after the node they belong to got removed. This issue was fixed earlier in Openshift version 4.6 via https://bugzilla.redhat.com/show_bug.cgi?id=1883166. 

Version-Release number of selected component (if applicable):
Openshift 4.8

How reproducible:
Not Sure

Steps to Reproduce:
1.
2.
3.

Actual results:
subports are remaining in Down state after node removal.

Expected results:
Stale subports should be deleted after a node has been deleted.

Additional info:

Comment 7 Maysa Macedo 2022-05-30 18:46:14 UTC
Hello,

In case the OpenStack Servers of the worker Nodes were somehow removed, but the corresponding Trunk remained there, those subports wouldn't be cleaned up because the 4.8.18 version does not contain the fix[1] that detaches those leftover Ports from the trunk and finally allow the deletion of them. The 4.8.25 version has the fix for that.

It would be interesting to know which operation was performed that enabled the Server to be deleted and the Trunk not. Since the last question is unrelated to this specific bug, I'm closing it.

Thanks,
Maysa.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2028274

*** This bug has been marked as a duplicate of bug 2028274 ***