Bug 1831061 - cnv-must-gather emits errors about upstream-only namespaces
Summary: cnv-must-gather emits errors about upstream-only namespaces
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Logging
Version: 2.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 2.5.0
Assignee: Simone Tiraboschi
QA Contact: Kedar Bidarkar
URL:
Whiteboard:
: 1873703 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-04 14:34 UTC by Tareq Alayan
Modified: 2023-12-15 17:49 UTC (History)
7 users (show)

Fixed In Version: 2.5.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-07 09:51:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
no errors seen about upstream-only namespaces (243.39 KB, text/plain)
2020-10-29 12:27 UTC, Kedar Bidarkar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt must-gather pull 72 0 None closed Silent missing resources when gathering data 2021-02-12 07:01:07 UTC

Description Tareq Alayan 2020-05-04 14:34:54 UTC
Description of problem:
must-gather seems to try to collect data from non existing namespaces.

Version-Release number of selected component (if applicable):
Client Version: 4.4.0-0.nightly-2020-02-17-022408
Server Version: 4.5.0-0.nightly-2020-04-30-084834
Kubernetes Version: v1.18.0-rc.1
container-native-virtualization-cnv-must-gather-rhel8:v2.3.0-42

How reproducible:
always

Steps to Reproduce:
oc adm must-gather --dest-dir=./must-gather-talayan2 --image=registry-proxy.engineering.redhat.com/rh-osbs/container-native-virtualization-cnv-must-gather-rhel8:v2.3.0-42

Actual results:
But i see error message about non existing ns: 

[must-gather-9hxpl] POD Gathering data for ns/openshift-cnv...
[must-gather-9hxpl] POD Wrote inspect data to must-gather.
[must-gather-9hxpl] POD Error from server (NotFound): namespaces "kubevirt-hyperconverged" not found

[must-gather-9hxpl] POD Error from server (NotFound): namespaces "cluster-network-addons" not found

[must-gather-9hxpl] POD Error from server (NotFound): namespaces "sriov-network-operator" not found
[must-gather-9hxpl] POD Error from server (NotFound): namespaces "kubevirt-web-ui" not found

[must-gather-9hxpl] POD Error from server (NotFound): namespaces "cdi" not found



Expected results:
why it tries to collect from non ext found namespaces

Additional info:
those are upstream namesapce maybe for the components.

Comment 2 Nelly Credi 2020-09-02 12:36:21 UTC
+ openshift-sdn

Comment 3 Inbar Rose 2020-09-02 12:44:51 UTC
(In reply to Nelly Credi from comment #2)
> + openshift-sdn

see https://bugzilla.redhat.com/show_bug.cgi?id=1831061

Comment 4 Inbar Rose 2020-09-02 12:45:01 UTC
*** Bug 1873703 has been marked as a duplicate of this bug. ***

Comment 5 Kedar Bidarkar 2020-10-29 12:27:03 UTC
Created attachment 1725059 [details]
no errors seen about upstream-only namespaces

Attached the entire log created by running must_gather


[kbidarka@localhost files]$ cat Bug_1831061.txt | grep NotFound
[kbidarka@localhost files]$ cat Bug_1831061.txt | grep "POD Error"


Note You need to log in before you can comment on or make changes to this bug.