Bug 2048960 - cnv-must-gather-rhel8:v4.10.0-104 can't be pulled
Summary: cnv-must-gather-rhel8:v4.10.0-104 can't be pulled
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Logging
Version: 4.10.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1959039 2025750 2030686
TreeView+ depends on / blocked
 
Reported: 2022-02-01 09:16 UTC by Yossi Segev
Modified: 2022-02-01 09:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-01 09:43:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yossi Segev 2022-02-01 09:16:07 UTC
Description of problem:
When running must-gather using CNV image 4.10.0-104, the action fails with ImagePullBackOff


Version-Release number of selected component (if applicable):
Client Version (oc): 4.10.0-202201281850.p0.g7c299f1.assembly.stream-7c299f1
Server Version: 4.10.0-fc.4
Kubernetes Version: v1.23.0+d30ebbc
CNV: v4.10.0-629
CNV must-gather: v4.10.0-104


How reproducible:
Always

Steps to Reproduce:
1. Run CNV must gather
$ oc adm must-gather --image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8:v4.10.0-104 --dest-dir=mg-out/


Actual results:
$ oc adm must-gather --image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8:v4.10.0-104 --dest-dir=mg-out/ 
[must-gather      ] OUT Using must-gather plug-in image: registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8:v4.10.0-104
When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information.
ClusterID: 78adf009-128a-478e-a2d1-5c49ad4ac1ab
ClusterVersion: Stable at "4.10.0-fc.4"
ClusterOperators:
	All healthy and stable


[must-gather      ] OUT namespace/openshift-must-gather-q82nz created
[must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-l2cdq created
[must-gather      ] OUT pod for plug-in image registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8:v4.10.0-104 created


[must-gather-zrv65] OUT gather did not start: unable to pull image: ImagePullBackOff: Back-off pulling image "registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8:v4.10.0-104"
[must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-l2cdq deleted
[must-gather      ] OUT namespace/openshift-must-gather-q82nz deleted



Expected results:
Success in pulling CNV image and gathering data.


Additional info:
When running with the default image (and not the CNV image), the command succeeds.
$ oc adm must-gather --dest_dir=mg-out

Comment 1 Yossi Segev 2022-02-01 09:43:28 UTC
Resolved by using the sha1 for the image URL, instead of the z-stream sub-version (104).


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