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:
*** Bug 2214501 has been marked as a duplicate of this bug. ***
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...
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