Bug 2030198
| Summary: | [CNV-4.9.1] must-gather failing to execute /usr/bin/logs.sh script | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Lukas Bednar <lbednar> |
| Component: | Logging | Assignee: | Nahshon Unna-Tsameret <nunnatsa> |
| Status: | CLOSED ERRATA | QA Contact: | ibesso <ibesso> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.9.1 | CC: | cnv-qe-bugs, dbasunag, ibesso, nunnatsa, stirabos |
| Target Milestone: | --- | ||
| Target Release: | 4.9.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | hco-bundle-registry-container-v4.9.2-4 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-01-19 17:50:02 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: | |||
Please note that I can reproduce that on 4.8.4 as well, with an image: registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8:v4.8.4-1 Thanks for reporting that @lbednar I opened two PRs to fix it: 4.8: https://github.com/kubevirt/must-gather/pull/110 4.9: https://github.com/kubevirt/must-gather/pull/111 @ @ibesso can you please verify this bug? Verification using a cluster with 4.9.2-27 (stage)
--------------------------------------------------
1. Executing the following command:
oc adm must-gather --image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8@sha256:e4f9ffd7153c808e79ddc91f818f8e7f47c4a5a90919a57fd809a0765db1c858 --dest-dir=/home/cnv-qe-jenkins/besso/4.9_cnv-tests/tests-collected-info/must_gather_vms -- /usr/bin/gather_vms_details &> /home/cnv-qe-jenkins/besso/4.9_cnv-tests/tests-collected-info/must_gather_vms/output.txt
2. The content of the output.txt file has no errors and logs.sh was executed:
[cnv-qe-jenkins@c01-besso-49-vblk9-executor ~]$ cat besso/4.9_cnv-tests/tests-collected-info/must_gather_vms/output.txt
[must-gather ] OUT Using must-gather plug-in image: registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8@sha256:e4f9ffd7153c808e79ddc91f818f8e7f47c4a5a90919a57fd809a0765db1c858
When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information.
ClusterID: 7ad29b84-5e56-4eb3-80d9-2ce2dc64ec83
ClusterVersion: Stable at "4.9.11"
ClusterOperators:
All healthy and stable
[must-gather ] OUT namespace/openshift-must-gather-vz7nw created
[must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-tpjbj created
[must-gather ] OUT pod for plug-in image registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8@sha256:e4f9ffd7153c808e79ddc91f818f8e7f47c4a5a90919a57fd809a0765db1c858 created
[must-gather-n77cf] POD 2022-01-13T11:39:03.079261023Z + BASE_COLLECTION_PATH=/must-gather
[must-gather-n77cf] POD 2022-01-13T11:39:03.079261023Z + PROS=5
[must-gather-n77cf] POD 2022-01-13T11:39:03.079860910Z +++ dirname -- /usr/bin/gather_vms_details
[must-gather-n77cf] POD 2022-01-13T11:39:03.082196258Z ++ cd -- /usr/bin
[must-gather-n77cf] POD 2022-01-13T11:39:03.082237536Z ++ pwd
[must-gather-n77cf] POD 2022-01-13T11:39:03.082465694Z + DIR_NAME=/usr/bin
[must-gather-n77cf] POD 2022-01-13T11:39:03.082768674Z + /usr/bin/version
[must-gather-n77cf] POD 2022-01-13T11:39:03.390200938Z + /usr/bin/gather_vms_namespaces
[must-gather-n77cf] POD 2022-01-13T11:39:03.391472798Z + export BASE_COLLECTION_PATH=/must-gather
[must-gather-n77cf] POD 2022-01-13T11:39:03.391472798Z + BASE_COLLECTION_PATH=/must-gather
[must-gather-n77cf] POD 2022-01-13T11:39:03.391483738Z + PROS=5
[must-gather-n77cf] POD 2022-01-13T11:39:03.391483738Z + resources=()
[must-gather-n77cf] POD 2022-01-13T11:39:03.391518503Z + [[ -n '' ]]
[must-gather-n77cf] POD 2022-01-13T11:39:03.392063978Z ++ /usr/bin/oc get virtualmachines --all-namespaces --no-headers
[must-gather-n77cf] POD 2022-01-13T11:39:03.392430898Z ++ awk '{print $1}'
[must-gather-n77cf] POD 2022-01-13T11:39:03.392518081Z ++ uniq
[must-gather-n77cf] POD 2022-01-13T11:39:04.097417912Z + for i in $(/usr/bin/oc get virtualmachines --all-namespaces --no-headers | awk '{print $1}' | uniq)
[must-gather-n77cf] POD 2022-01-13T11:39:04.097417912Z + resources+=("$i")
[must-gather-n77cf] POD 2022-01-13T11:39:04.097676689Z + echo node-gather-unprivileged
[must-gather-n77cf] POD 2022-01-13T11:39:04.097785523Z + tr ' ' '\n'
[must-gather-n77cf] POD 2022-01-13T11:39:04.097962175Z + xargs -t '-I{}' -P 5 --max-args=1 sh -c 'echo "inspecting namespace $1" && /usr/bin/oc adm inspect --dest-dir ${BASE_COLLECTION_PATH} namespace $1' -- '{}'
[must-gather-n77cf] POD 2022-01-13T11:39:04.099048266Z sh -c echo "inspecting namespace $1" && /usr/bin/oc adm inspect --dest-dir ${BASE_COLLECTION_PATH} namespace $1 -- node-gather-unprivileged
[must-gather-n77cf] POD 2022-01-13T11:39:04.100283106Z inspecting namespace node-gather-unprivileged
[must-gather-n77cf] POD 2022-01-13T11:39:04.187014762Z Gathering data for ns/node-gather-unprivileged...
[must-gather-n77cf] POD 2022-01-13T11:39:05.374766793Z Wrote inspect data to /must-gather.
[must-gather-n77cf] POD 2022-01-13T11:39:05.379102220Z + exit 0
[must-gather-n77cf] POD 2022-01-13T11:39:05.379678182Z + [[ -n '' ]]
[must-gather-n77cf] POD 2022-01-13T11:39:05.379707848Z + BASE_COLLECTION_PATH=/must-gather
[must-gather-n77cf] POD 2022-01-13T11:39:05.379707848Z + PROS=5
[must-gather-n77cf] POD 2022-01-13T11:39:05.379707848Z + /usr/bin/gather_vms_namespaces
[must-gather-n77cf] POD 2022-01-13T11:39:05.381352138Z + export BASE_COLLECTION_PATH=/must-gather
[must-gather-n77cf] POD 2022-01-13T11:39:05.381352138Z + BASE_COLLECTION_PATH=/must-gather
[must-gather-n77cf] POD 2022-01-13T11:39:05.381362187Z + PROS=5
[must-gather-n77cf] POD 2022-01-13T11:39:05.381362187Z + resources=()
[must-gather-n77cf] POD 2022-01-13T11:39:05.381400288Z + [[ -n '' ]]
[must-gather-n77cf] POD 2022-01-13T11:39:05.382151519Z ++ /usr/bin/oc get virtualmachines --all-namespaces --no-headers
[must-gather-n77cf] POD 2022-01-13T11:39:05.382314296Z ++ awk '{print $1}'
[must-gather-n77cf] POD 2022-01-13T11:39:05.382458146Z ++ uniq
[must-gather-n77cf] POD 2022-01-13T11:39:05.510874295Z + for i in $(/usr/bin/oc get virtualmachines --all-namespaces --no-headers | awk '{print $1}' | uniq)
[must-gather-n77cf] POD 2022-01-13T11:39:05.510874295Z + resources+=("$i")
[must-gather-n77cf] POD 2022-01-13T11:39:05.511165532Z + echo node-gather-unprivileged
[must-gather-n77cf] POD 2022-01-13T11:39:05.511256984Z + tr ' ' '\n'
[must-gather-n77cf] POD 2022-01-13T11:39:05.511404111Z + xargs -t '-I{}' -P 5 --max-args=1 sh -c 'echo "inspecting namespace $1" && /usr/bin/oc adm inspect --dest-dir ${BASE_COLLECTION_PATH} namespace $1' -- '{}'
[must-gather-n77cf] POD 2022-01-13T11:39:05.513000580Z sh -c echo "inspecting namespace $1" && /usr/bin/oc adm inspect --dest-dir ${BASE_COLLECTION_PATH} namespace $1 -- node-gather-unprivileged
[must-gather-n77cf] POD 2022-01-13T11:39:05.514376986Z inspecting namespace node-gather-unprivileged
[must-gather-n77cf] POD 2022-01-13T11:39:05.613929342Z Gathering data for ns/node-gather-unprivileged...
[must-gather-n77cf] POD 2022-01-13T11:39:07.078164686Z Wrote inspect data to /must-gather.
[must-gather-n77cf] POD 2022-01-13T11:39:07.082875517Z + exit 0
[must-gather-n77cf] POD 2022-01-13T11:39:07.083154351Z + [[ -n '' ]]
[must-gather-n77cf] POD 2022-01-13T11:39:07.083166764Z + export -f gather_vm_by_pod_name
[must-gather-n77cf] POD 2022-01-13T11:39:07.083204214Z + export -f gather_vm_info
[must-gather-n77cf] POD 2022-01-13T11:39:07.083222178Z + export BASE_COLLECTION_PATH=/must-gather
[must-gather-n77cf] POD 2022-01-13T11:39:07.083222178Z + BASE_COLLECTION_PATH=/must-gather
[must-gather-n77cf] POD 2022-01-13T11:39:07.084017263Z ++ oc get pod --all-namespaces -l kubevirt.io=virt-launcher --no-headers
[must-gather-n77cf] POD 2022-01-13T11:39:07.084128631Z ++ awk '{print $1 "_" $2}'
[must-gather-n77cf] POD 2022-01-13T11:39:07.247906274Z + PODS=node-gather-unprivileged_virt-launcher-vm-1642073918-9191852-p9dtp
[must-gather-n77cf] POD 2022-01-13T11:39:07.248146415Z + echo node-gather-unprivileged_virt-launcher-vm-1642073918-9191852-p9dtp
[must-gather-n77cf] POD 2022-01-13T11:39:07.248297419Z + tr ' ' '\n'
[must-gather-n77cf] POD 2022-01-13T11:39:07.248422273Z + xargs -P 5 --max-args=1 -t '-I{}' sh -c 'gather_vm_by_pod_name $1' -- '{}'
[must-gather-n77cf] POD 2022-01-13T11:39:07.249581181Z sh -c gather_vm_by_pod_name $1 -- node-gather-unprivileged_virt-launcher-vm-1642073918-9191852-p9dtp
[must-gather-n77cf] POD 2022-01-13T11:39:07.375682340Z Wrote inspect data to /must-gather.
[must-gather-n77cf] POD 2022-01-13T11:39:07.492478115Z Wrote inspect data to /must-gather.
[must-gather-n77cf] POD 2022-01-13T11:39:07.617464210Z Wrote inspect data to /must-gather.
[must-gather-n77cf] POD 2022-01-13T11:39:10.885229309Z + /usr/bin/logs.sh
[must-gather-n77cf] POD 2022-01-13T11:39:10.886954581Z + export BASE_COLLECTION_PATH=/must-gather
[must-gather-n77cf] POD 2022-01-13T11:39:10.886954581Z + BASE_COLLECTION_PATH=/must-gather
[must-gather-n77cf] POD 2022-01-13T11:39:10.886982804Z + NAMESPACE_FILE=/var/run/secrets/kubernetes.io/serviceaccount/namespace
[must-gather-n77cf] POD 2022-01-13T11:39:10.887039791Z + [[ -f /var/run/secrets/kubernetes.io/serviceaccount/namespace ]]
[must-gather-n77cf] POD 2022-01-13T11:39:10.887599333Z ++ oc status
[must-gather-n77cf] POD 2022-01-13T11:39:10.887834064Z ++ grep '^pod'
[must-gather-n77cf] POD 2022-01-13T11:39:10.887920516Z ++ sed -E 's|pod/([^ ]+).*|\1|'
[must-gather-n77cf] POD 2022-01-13T11:39:11.098048168Z + POD=must-gather-n77cf
[must-gather-n77cf] POD 2022-01-13T11:39:11.098406172Z ++ cat /var/run/secrets/kubernetes.io/serviceaccount/namespace
[must-gather-n77cf] POD 2022-01-13T11:39:11.100469598Z + oc logs --timestamps=true -n openshift-must-gather-vz7nw must-gather-n77cf -c gather
[must-gather-n77cf] POD 2022-01-13T11:39:11.222033963Z + sync
[must-gather-n77cf] POD 2022-01-13T11:39:11.267302110Z + exit 0
[must-gather-n77cf] OUT waiting for gather to complete
[must-gather-n77cf] OUT downloading gather output
[must-gather-n77cf] OUT receiving incremental file list
[must-gather-n77cf] OUT ./
[must-gather-n77cf] OUT event-filter.html
[must-gather-n77cf] OUT must-gather.log
[must-gather-n77cf] OUT timestamp
[must-gather-n77cf] OUT version.txt
[must-gather-n77cf] OUT cluster-scoped-resources/
[must-gather-n77cf] OUT cluster-scoped-resources/v2v.kubevirt.io/
[must-gather-n77cf] OUT cluster-scoped-resources/v2v.kubevirt.io/vmimportconfigs.yaml
[must-gather-n77cf] OUT namespaces/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/node-gather-unprivileged.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/apps.openshift.io/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/apps.openshift.io/deploymentconfigs.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/apps/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/apps/daemonsets.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/apps/deployments.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/apps/replicasets.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/apps/statefulsets.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/autoscaling/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/autoscaling/horizontalpodautoscalers.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/batch/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/batch/cronjobs.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/batch/jobs.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/build.openshift.io/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/build.openshift.io/buildconfigs.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/build.openshift.io/builds.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/cdi.kubevirt.io/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/cdi.kubevirt.io/datavolumes.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/core/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/core/configmaps.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/core/endpoints.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/core/events.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/core/persistentvolumeclaims.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/core/pods.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/core/replicationcontrollers.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/core/secrets.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/core/services.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/core/pods/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/core/pods/virt-launcher-vm-1642073918-9191852-p9dtp.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/discovery.k8s.io/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/discovery.k8s.io/endpointslices.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/hco.kubevirt.io/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/hco.kubevirt.io/hyperconvergeds.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/image.openshift.io/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/image.openshift.io/imagestreams.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/kubevirt.io/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/kubevirt.io/kubevirts.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/kubevirt.io/virtualmachineinstancemigrations.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/kubevirt.io/virtualmachineinstancepresets.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/kubevirt.io/virtualmachineinstancereplicasets.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/kubevirt.io/virtualmachineinstances.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/kubevirt.io/virtualmachines.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/kubevirt.io/virtualmachineinstances/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/kubevirt.io/virtualmachineinstances/vm-1642073918-9191852.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/kubevirt.io/virtualmachines/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/kubevirt.io/virtualmachines/vm-1642073918-9191852.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/virt-launcher-vm-1642073918-9191852-p9dtp.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/compute/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/compute/compute/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/compute/compute/logs/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/compute/compute/logs/current.log
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/compute/compute/logs/previous.insecure.log
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/compute/compute/logs/previous.log
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/container-disk-binary/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/container-disk-binary/container-disk-binary/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/container-disk-binary/container-disk-binary/logs/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/container-disk-binary/container-disk-binary/logs/current.log
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/container-disk-binary/container-disk-binary/logs/previous.insecure.log
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/container-disk-binary/container-disk-binary/logs/previous.log
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/volumecontainerdisk-init/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/volumecontainerdisk-init/volumecontainerdisk-init/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/volumecontainerdisk-init/volumecontainerdisk-init/logs/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/volumecontainerdisk-init/volumecontainerdisk-init/logs/current.log
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/volumecontainerdisk-init/volumecontainerdisk-init/logs/previous.insecure.log
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/volumecontainerdisk-init/volumecontainerdisk-init/logs/previous.log
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/volumecontainerdisk/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/volumecontainerdisk/volumecontainerdisk/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/volumecontainerdisk/volumecontainerdisk/logs/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/volumecontainerdisk/volumecontainerdisk/logs/current.log
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/volumecontainerdisk/volumecontainerdisk/logs/previous.insecure.log
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/pods/virt-launcher-vm-1642073918-9191852-p9dtp/volumecontainerdisk/volumecontainerdisk/logs/previous.log
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/policy/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/policy/poddisruptionbudgets.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/route.openshift.io/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/route.openshift.io/routes.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/snapshot.kubevirt.io/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/snapshot.kubevirt.io/virtualmachinerestores.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/snapshot.kubevirt.io/virtualmachinesnapshotcontents.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/snapshot.kubevirt.io/virtualmachinesnapshots.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/v2v.kubevirt.io/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/v2v.kubevirt.io/resourcemappings.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/v2v.kubevirt.io/virtualmachineimports.yaml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/vms/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/vms/vm-1642073918-9191852/
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/vms/vm-1642073918-9191852/virt-launcher-vm-1642073918-9191852-p9dtp.bridge.txt
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/vms/vm-1642073918-9191852/virt-launcher-vm-1642073918-9191852-p9dtp.dumpxml.xml
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/vms/vm-1642073918-9191852/virt-launcher-vm-1642073918-9191852-p9dtp.ip.txt
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/vms/vm-1642073918-9191852/virt-launcher-vm-1642073918-9191852-p9dtp.iptables.txt
[must-gather-n77cf] OUT namespaces/node-gather-unprivileged/vms/vm-1642073918-9191852/virt-launcher-vm-1642073918-9191852-p9dtp.qemu.log
[must-gather-n77cf] OUT
[must-gather-n77cf] OUT sent 1,373 bytes received 220,430 bytes 443,606.00 bytes/sec
[must-gather-n77cf] OUT total size is 2,614,363 speedup is 11.79
[must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-tpjbj deleted
[must-gather ] OUT namespace/openshift-must-gather-vz7nw deleted
When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information.
ClusterID: 7ad29b84-5e56-4eb3-80d9-2ce2dc64ec83
ClusterVersion: Stable at "4.9.11"
ClusterOperators:
All healthy and stable
[cnv-qe-jenkins@c01-besso-49-vblk9-executor ~]$
Moving to VERIFIED.
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 (Moderate: OpenShift Virtualization 4.9.2 Images security and bug fix update), 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/RHSA-2022:0191 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |
Description of problem: When running must-gather I can see in the log that it is failing to execute /usr/bin/logs.sh script. /usr/bin/gather_vms_details: line 105: /usr/bin/logs.sh: Permission denied When login into the container, I can see that /usr/bin/logs.sh doesn't have execution bit set (x) . sh-4.4# ls -la /usr/bin/logs.sh -rw-r--r--. 1 root root 396 Dec 4 14:21 /usr/bin/logs.sh Version-Release number of selected component (if applicable): registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8:v4.9.1-9 registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8@sha256:e8b6a27dad2f601b4238530827979cffe85cfdd57907583ab9650e9e2f8e130e How reproducible: 100 Steps to Reproduce: 1. oc adm must-gather --dest-dir=./must-gather-cnv --image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8@sha256:e8b6a27dad2f601b4238530827979cffe85cfdd57907583ab9650e9e2f8e130e -- /usr/bin/gather_vms_details 2. Observe the log from the execution. 3. Actual results: failing to execute /usr/bin/logs.sh Expected results: no errors in the output logs Additional info: [cnv-qe-jenkins@c01-verify-49-glp8j-executor ~]$ oc adm must-gather --dest-dir=./must-gather-cnv --image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8@sha256:e8b6a27dad2f601b4238530827979cffe85cfdd57907583ab9650e9e2f8e130e -- /usr/bin/gather_vms_details [must-gather ] OUT Using must-gather plug-in image: registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8@sha256:e8b6a27dad2f601b4238530827979cffe85cfdd57907583ab9650e9e2f8e130e When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information. ClusterID: 6fb19987-cd37-457f-9dd9-ec514af5ab9f ClusterVersion: Stable at "4.9.7" ClusterOperators: All healthy and stable [must-gather ] OUT namespace/openshift-must-gather-htw86 created [must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-x2cqm created [must-gather ] OUT pod for plug-in image registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8@sha256:e8b6a27dad2f601b4238530827979cffe85cfdd57907583ab9650e9e2f8e130e created [must-gather-7bsvz] POD 2021-12-08T07:17:17.901512945Z + BASE_COLLECTION_PATH=/must-gather [must-gather-7bsvz] POD 2021-12-08T07:17:17.901512945Z + PROS=5 [must-gather-7bsvz] POD 2021-12-08T07:17:17.902228982Z +++ dirname -- /usr/bin/gather_vms_details [must-gather-7bsvz] POD 2021-12-08T07:17:17.905111069Z ++ cd -- /usr/bin [must-gather-7bsvz] POD 2021-12-08T07:17:17.905184587Z ++ pwd [must-gather-7bsvz] POD 2021-12-08T07:17:17.905455215Z + DIR_NAME=/usr/bin [must-gather-7bsvz] POD 2021-12-08T07:17:17.905947811Z + /usr/bin/version [must-gather-7bsvz] POD 2021-12-08T07:17:18.178172600Z + /usr/bin/gather_vms_namespaces [must-gather-7bsvz] POD 2021-12-08T07:17:18.179710811Z + export BASE_COLLECTION_PATH=/must-gather [must-gather-7bsvz] POD 2021-12-08T07:17:18.179737181Z + BASE_COLLECTION_PATH=/must-gather [must-gather-7bsvz] POD 2021-12-08T07:17:18.179761667Z + PROS=5 [must-gather-7bsvz] POD 2021-12-08T07:17:18.179780031Z + resources=() [must-gather-7bsvz] POD 2021-12-08T07:17:18.179819717Z + [[ -n '' ]] [must-gather-7bsvz] POD 2021-12-08T07:17:18.180416338Z ++ /usr/bin/oc get virtualmachines --all-namespaces --no-headers [must-gather-7bsvz] POD 2021-12-08T07:17:18.180512468Z ++ awk '{print $1}' [must-gather-7bsvz] POD 2021-12-08T07:17:18.180731740Z ++ uniq [must-gather-7bsvz] POD 2021-12-08T07:17:18.964587093Z No resources found [must-gather-7bsvz] POD 2021-12-08T07:17:18.969925176Z + echo [must-gather-7bsvz] POD 2021-12-08T07:17:18.970061492Z + tr ' ' '\n' [must-gather-7bsvz] POD 2021-12-08T07:17:18.970358601Z + xargs -t '-I{}' -P 5 --max-args=1 sh -c 'echo "inspecting namespace $1" && /usr/bin/oc adm inspect --dest-dir ${BASE_COLLECTION_PATH} namespace $1' -- '{}' [must-gather-7bsvz] POD 2021-12-08T07:17:18.972264923Z + exit 0 [must-gather-7bsvz] POD 2021-12-08T07:17:18.972680585Z + [[ -n '' ]] [must-gather-7bsvz] POD 2021-12-08T07:17:18.972698529Z + BASE_COLLECTION_PATH=/must-gather [must-gather-7bsvz] POD 2021-12-08T07:17:18.972708187Z + PROS=5 [must-gather-7bsvz] POD 2021-12-08T07:17:18.972708187Z + /usr/bin/gather_vms_namespaces [must-gather-7bsvz] POD 2021-12-08T07:17:18.973953777Z + export BASE_COLLECTION_PATH=/must-gather [must-gather-7bsvz] POD 2021-12-08T07:17:18.973953777Z + BASE_COLLECTION_PATH=/must-gather [must-gather-7bsvz] POD 2021-12-08T07:17:18.973953777Z + PROS=5 [must-gather-7bsvz] POD 2021-12-08T07:17:18.973969587Z + resources=() [must-gather-7bsvz] POD 2021-12-08T07:17:18.973990427Z + [[ -n '' ]] [must-gather-7bsvz] POD 2021-12-08T07:17:18.974515814Z ++ /usr/bin/oc get virtualmachines --all-namespaces --no-headers [must-gather-7bsvz] POD 2021-12-08T07:17:18.974622955Z ++ awk '{print $1}' [must-gather-7bsvz] POD 2021-12-08T07:17:18.974895007Z ++ uniq [must-gather-7bsvz] POD 2021-12-08T07:17:19.105348936Z No resources found [must-gather-7bsvz] POD 2021-12-08T07:17:19.118909814Z + echo [must-gather-7bsvz] POD 2021-12-08T07:17:19.118909814Z + tr ' ' '\n' [must-gather-7bsvz] POD 2021-12-08T07:17:19.118909814Z + xargs -t '-I{}' -P 5 --max-args=1 sh -c 'echo "inspecting namespace $1" && /usr/bin/oc adm inspect --dest-dir ${BASE_COLLECTION_PATH} namespace $1' -- '{}' [must-gather-7bsvz] POD 2021-12-08T07:17:19.120571448Z + exit 0 [must-gather-7bsvz] POD 2021-12-08T07:17:19.120779840Z + [[ -n '' ]] [must-gather-7bsvz] POD 2021-12-08T07:17:19.120788727Z + export -f gather_vm_by_pod_name [must-gather-7bsvz] POD 2021-12-08T07:17:19.120804336Z + export -f gather_vm_info [must-gather-7bsvz] POD 2021-12-08T07:17:19.120820556Z + export BASE_COLLECTION_PATH=/must-gather [must-gather-7bsvz] POD 2021-12-08T07:17:19.120826838Z + BASE_COLLECTION_PATH=/must-gather [must-gather-7bsvz] POD 2021-12-08T07:17:19.121430563Z ++ oc get pod --all-namespaces -l kubevirt.io=virt-launcher --no-headers [must-gather-7bsvz] POD 2021-12-08T07:17:19.121595303Z ++ awk '{print $1 "_" $2}' [must-gather-7bsvz] POD 2021-12-08T07:17:19.326892996Z No resources found [must-gather-7bsvz] POD 2021-12-08T07:17:19.332326599Z + PODS= [must-gather-7bsvz] POD 2021-12-08T07:17:19.332865933Z + echo [must-gather-7bsvz] POD 2021-12-08T07:17:19.332865933Z + tr ' ' '\n' [must-gather-7bsvz] POD 2021-12-08T07:17:19.332963416Z + xargs -P 5 --max-args=1 -t '-I{}' sh -c 'gather_vm_by_pod_name $1' -- '{}' [must-gather-7bsvz] POD 2021-12-08T07:17:19.335533517Z + /usr/bin/logs.sh [must-gather-7bsvz] POD 2021-12-08T07:17:19.336916236Z /usr/bin/gather_vms_details: line 105: /usr/bin/logs.sh: Permission denied [must-gather-7bsvz] POD 2021-12-08T07:17:19.336916236Z + sync [must-gather-7bsvz] POD 2021-12-08T07:17:19.387161998Z + exit 0 [must-gather-7bsvz] OUT waiting for gather to complete [must-gather-7bsvz] OUT downloading gather output [must-gather-7bsvz] OUT receiving incremental file list [must-gather-7bsvz] OUT ./ [must-gather-7bsvz] OUT version.txt [must-gather-7bsvz] OUT [must-gather-7bsvz] OUT sent 46 bytes received 188 bytes 468.00 bytes/sec [must-gather-7bsvz] OUT total size is 86 speedup is 0.37 [must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-x2cqm deleted [must-gather ] OUT namespace/openshift-must-gather-htw86 deleted When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information. ClusterID: 6fb19987-cd37-457f-9dd9-ec514af5ab9f ClusterVersion: Stable at "4.9.7" ClusterOperators: All healthy and stable