Bug 1873703

Summary: cnv-must-gather emits errors about upstream-only namespaces
Product: Container Native Virtualization (CNV) Reporter: Dan Kenigsberg <danken>
Component: InstallationAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED DUPLICATE QA Contact: Inbar Rose <irose>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.4.0CC: cnv-qe-bugs, stirabos
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-02 12:45:00 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 Dan Kenigsberg 2020-08-29 10:22:29 UTC
Description of problem:


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

How reproducible:
100%

Steps to Reproduce:
1. oc adm must-gather \
   --image-stream=openshift/must-gather \
   --image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8


Actual results:
[must-gather-r9ggf] POD Error from server (NotFound): namespaces "kubevirt-hyperconverged" not found
[must-gather-r9ggf] POD Error from server (NotFound): namespaces "cluster-network-addons" not found
[must-gather-r9ggf] POD Error from server (NotFound): namespaces "openshift-sdn" not found
[must-gather-r9ggf] POD Error from server (NotFound): namespaces "sriov-network-operator" not found
[must-gather-r9ggf] POD Error from server (NotFound): namespaces "kubevirt-web-ui" not found
[must-gather-r9ggf] POD Error from server (NotFound): namespaces "cdi" not found

Expected results:
silence

Additional info:
Upstream code https://github.com/kubevirt/must-gather/blob/master/collection-scripts/gather#L7 refers to downstream and upstream namespaces alike.

Downstream should refer only to expected downstream namespaces. False Errors may mislead customers.

Comment 1 Inbar Rose 2020-09-02 12:45:00 UTC

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