Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1879379

Summary: [sriov] no oc command shown when using image ose-sriov-operator-must-gather
Product: OpenShift Container Platform Reporter: zhaozhanqi <zzhao>
Component: NetworkingAssignee: zenghui.shi <zshi>
Networking sub component: SR-IOV QA Contact: zhaozhanqi <zzhao>
Status: CLOSED WONTFIX Docs Contact:
Severity: high    
Priority: high CC: aconstan, bbennett, dosmith, erich, jteagno+bugzilla, zshi
Version: 4.6   
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: 2021-08-23 12:50:43 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 zhaozhanqi 2020-09-16 07:00:08 UTC
Description of problem:
oc adm must-gather with sriov must-gather image (registry.redhat.io/openshift4/ose-sriov-operator-must-gather@sha256:b5248d4707acb622cdb28d5a310d72b9501020cbaee9403acbe67e5dad715df3)

show error " [must-gather-n6fmq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory"

Version-Release number of selected component (if applicable):
4.6.0-202009152100.p0
quay.io/openshift-qe-optional-operators/ose-sriov-operator-must-gather@sha256:b5248d4707acb622cdb28d5a310d72b9501020cbaee9403acbe67e5dad715df3

How reproducible:
100%

Steps to Reproduce:
1. oc adm must-gather --image='quay.io/openshift-qe-optional-operators/ose-sriov-operator-must-gather@sha256:b5248d4707acb622cdb28d5a310d72b9501020cbaee9403acbe67e5dad715df3'
2.
3.

Actual results:

oc adm must-gather --image='quay.io/openshift-qe-optional-operators/ose-sriov-operator-must-gather@sha256:b5248d4707acb622cdb28d5a310d72b9501020cbaee9403acbe67e5dad715df3'
[must-gather      ] OUT Using must-gather plugin-in image: quay.io/openshift-qe-optional-operators/ose-sriov-operator-must-gather@sha256:b5248d4707acb622cdb28d5a310d72b9501020cbaee9403acbe67e5dad715df3
[must-gather      ] OUT namespace/openshift-must-gather-hfcnv created
[must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-ndbqc created
[must-gather      ] OUT pod for plug-in image quay.io/openshift-qe-optional-operators/ose-sriov-operator-must-gather@sha256:b5248d4707acb622cdb28d5a310d72b9501020cbaee9403acbe67e5dad715df3 created
[must-gather-n6fmq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-n6fmq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-n6fmq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-n6fmq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-n6fmq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-n6fmq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-n6fmq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-n6fmq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-n6fmq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-n6fmq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-n6fmq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-n6fmq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-n6fmq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-n6fmq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-n6fmq] OUT waiting for gather to complete
[must-gather-n6fmq] OUT downloading gather output
WARNING: rsync command not found in path. Please use your package manager to install it.
[must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-ndbqc deleted
[must-gather      ] OUT namespace/openshift-must-gather-hfcnv deleted


Expected results:


Additional info:
There is also rsync WARNIng:

WARNING: rsync command not found in path. Please use your package manager to install it.

Comment 2 zhaozhanqi 2020-09-18 11:30:29 UTC
using the latest csv version 4.6.0-202009180514.p0

oc get csv
NAME                                           DISPLAY                   VERSION                 REPLACES                                       PHASE
sriov-network-operator.4.6.0-202009180514.p0   SR-IOV Network Operator   4.6.0-202009180514.p0   sriov-network-operator.4.6.0-202009170713.p0   Succeeded


# oc adm must-gather --image='registry.redhat.io/openshift4/ose-sriov-operator-must-gather@sha256:792b66938398c06c4536ce9b8d9725c00ccb0e43abd726f5276765e8dffb8eed'
[must-gather      ] OUT Using must-gather plugin-in image: registry.redhat.io/openshift4/ose-sriov-operator-must-gather@sha256:792b66938398c06c4536ce9b8d9725c00ccb0e43abd726f5276765e8dffb8eed
[must-gather      ] OUT namespace/openshift-must-gather-rphdm created
[must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-9jhd2 created
[must-gather      ] OUT pod for plug-in image registry.redhat.io/openshift4/ose-sriov-operator-must-gather@sha256:792b66938398c06c4536ce9b8d9725c00ccb0e43abd726f5276765e8dffb8eed created
[must-gather-j9rbq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-j9rbq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-j9rbq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-j9rbq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-j9rbq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-j9rbq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-j9rbq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-j9rbq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-j9rbq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-j9rbq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-j9rbq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-j9rbq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-j9rbq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-j9rbq] POD /usr/bin/gather: line 26: /usr/bin/oc: No such file or directory
[must-gather-j9rbq] OUT waiting for gather to complete
[must-gather-j9rbq] OUT downloading gather output
WARNING: rsync command not found in path. Please use your package manager to install it.
[must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-9jhd2 deleted
[must-gather      ] OUT namespace/openshift-must-gather-rphdm deleted

Comment 8 zhaozhanqi 2020-11-02 02:20:51 UTC
this issue still not fixed yet, move to assign

# oc adm must-gather --image=registry.redhat.io/openshift4/ose-sriov-operator-must-gather@sha256:83ecf0aff6350c05f9a0bd426289be5fe67fdd75135683dee58b5ac1458d1504
[must-gather      ] OUT Using must-gather plugin-in image: registry.redhat.io/openshift4/ose-sriov-operator-must-gather@sha256:83ecf0aff6350c05f9a0bd426289be5fe67fdd75135683dee58b5ac1458d1504
[must-gather      ] OUT namespace/openshift-must-gather-pnqfz created
[must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-bppq5 created
[must-gather      ] OUT pod for plug-in image registry.redhat.io/openshift4/ose-sriov-operator-must-gather@sha256:83ecf0aff6350c05f9a0bd426289be5fe67fdd75135683dee58b5ac1458d1504 created
[must-gather-kp7m5] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-kp7m5] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-kp7m5] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-kp7m5] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-kp7m5] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-kp7m5] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-kp7m5] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-kp7m5] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-kp7m5] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-kp7m5] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-kp7m5] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-kp7m5] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-kp7m5] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-kp7m5] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-kp7m5] OUT waiting for gather to complete
[must-gather-kp7m5] OUT downloading gather output
[must-gather-kp7m5] OUT receiving incremental file list
[must-gather-kp7m5] OUT ./
[must-gather-kp7m5] OUT 
[must-gather-kp7m5] OUT sent 27 bytes  received 41 bytes  136.00 bytes/sec
[must-gather-kp7m5] OUT total size is 0  speedup is 0.00
[must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-bppq5 deleted
[must-gather      ] OUT namespace/openshift-must-gather-pnqfz deleted

Comment 10 zhaozhanqi 2021-03-11 07:01:46 UTC
this issue still happen on 4.8 image


# oc get csv
NAME                                           DISPLAY                   VERSION                 REPLACES   PHASE
sriov-network-operator.4.8.0-202103102307.p0   SR-IOV Network Operator   4.8.0-202103102307.p0              Succeeded

# oc get csv -o yaml | grep must-gather
                    value: registry.redhat.io/openshift4/ose-sriov-operator-must-gather@sha256:342d314a41d9f98a017947d5e99f5539d0aae920b4a18768d828409e8fda7944


# oc adm must-gather --image='registry.redhat.io/openshift4/ose-sriov-operator-must-gather@sha256:342d314a41d9f98a017947d5e99f5539d0aae920b4a18768d828409e8fda7944'
[must-gather      ] OUT Using must-gather plugin-in image: registry.redhat.io/openshift4/ose-sriov-operator-must-gather@sha256:342d314a41d9f98a017947d5e99f5539d0aae920b4a18768d828409e8fda7944
[must-gather      ] OUT namespace/openshift-must-gather-cqkmw created
[must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-29tj4 created
[must-gather      ] OUT pod for plug-in image registry.redhat.io/openshift4/ose-sriov-operator-must-gather@sha256:342d314a41d9f98a017947d5e99f5539d0aae920b4a18768d828409e8fda7944 created
[must-gather-cpgkh] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-cpgkh] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-cpgkh] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-cpgkh] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-cpgkh] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-cpgkh] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-cpgkh] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-cpgkh] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-cpgkh] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-cpgkh] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-cpgkh] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-cpgkh] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-cpgkh] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-cpgkh] POD /usr/bin/gather: line 26: oc: command not found
[must-gather-cpgkh] OUT waiting for gather to complete
[must-gather-cpgkh] OUT downloading gather output
[must-gather-cpgkh] OUT receiving incremental file list
[must-gather-cpgkh] OUT ./
[must-gather-cpgkh] OUT 
[must-gather-cpgkh] OUT sent 27 bytes  received 40 bytes  44.67 bytes/sec
[must-gather-cpgkh] OUT total size is 0  speedup is 0.00
[must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-29tj4 deleted
[must-gather      ] OUT namespace/openshift-must-gather-cqkmw deleted