Bug 2214503

Summary: "namespaces openshift-sdn not found error" while running must-gather in OVN cluster
Product: Container Native Virtualization (CNV) Reporter: nijin ashok <nashok>
Component: LoggingAssignee: nijin ashok <nashok>
Status: CLOSED ERRATA QA Contact: Debarati Basu-Nag <dbasunag>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.13.0CC: dbasunag, kmajcher, stirabos
Target Milestone: ---   
Target Release: 4.13.2   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: v4.13.1.rhel9-194 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-27 19:10:39 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 nijin ashok 2023-06-13 07:38:41 UTC
Description of problem:

As of now, it's only collecting the inspect on ns/openshift-sdn which will not be available on OVN OCP cluster. If the cluster network is OVNKubernetes, collect the data from openshift-ovn-kubernetes instead.  

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

OpenShift Virtualization   4.13.0

How reproducible:

100%

Steps to Reproduce:

Run must-gather on OCP OVN cluster and look at the logs for the error.

Actual results:

"namespaces openshift-sdn not found error" while running must-gather in OVN cluster

Expected results:

Collect inspect from openshift-ovn-kubernetes if the cluster is having OVN network.


Additional info:

Comment 1 nijin ashok 2023-06-13 07:50:01 UTC
*** Bug 2214501 has been marked as a duplicate of this bug. ***

Comment 2 Debarati Basu-Nag 2023-06-23 20:36:36 UTC
Against v4.13.2.rhel9-2,

On a OVN cluster, collected must-gather did attempt to inspect or gather from openshift-sdn, data was gathered from openshift-ovn-kubernetes

=========
[must-gather-rsrv8] POD 2023-06-23T20:30:27.581003561Z inspecting namespace openshift-ovn-kubernetes
[must-gather-rsrv8] POD 2023-06-23T20:30:27.581027515Z inspecting namespace openshift-marketplace
[must-gather-rsrv8] POD 2023-06-23T20:30:27.582007606Z inspecting namespace openshift-virtualization-os-images
[must-gather-rsrv8] POD 2023-06-23T20:30:27.803752210Z Gathering data for ns/openshift-virtualization-os-images...
[must-gather-rsrv8] POD 2023-06-23T20:30:27.808993792Z Gathering data for ns/openshift-ovn-kubernetes...

Comment 8 errata-xmlrpc 2023-06-27 19:10:39 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 (OpenShift Virtualization 4.12.4 Images), 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/RHEA-2023:3889