Bug 1840643
Summary: | [Must-gather] Logging improvement - don't fail on TO when there is another issue with log collection | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Nelly Credi <ncredi> |
Component: | oc | Assignee: | Yuval Turgeman <yturgema> |
Status: | CLOSED ERRATA | QA Contact: | RamaKasturi <knarra> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 4.6 | CC: | aos-bugs, cnv-qe-bugs, fdeutsch, jokerman, knarra, maszulik, mfojtik, stirabos, yturgema |
Target Milestone: | --- | ||
Target Release: | 4.6.0 | ||
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-10-27 16:01:07 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
Nelly Credi
2020-05-27 11:30:20 UTC
Verified with the payload below and i do not see a Timeout waiting for condition instead saw "ImagePullBackOff error as below" as described in the patch "Treat ImagePullBackOff and InvalidImageName the same as ErrImagePull" [ramakasturinarra@dhcp35-60 openshift-client-linux-4.6.0-0.nightly-2020-09-27-075304]$ ./oc version Client Version: 4.6.0-0.nightly-2020-09-27-075304 Server Version: 4.6.0-0.nightly-2020-09-27-075304 Kubernetes Version: v1.19.0+e465e66 [ramakasturinarra@dhcp35-60 openshift-client-linux-4.6.0-0.nightly-2020-09-27-075304]$ ./oc adm must-gather --image=registry.redhat.io/container-native-virtualization-cnv/must-gather-rhel8:v2.3.0-45 [must-gather ] OUT Using must-gather plugin-in image: registry.redhat.io/container-native-virtualization-cnv/must-gather-rhel8:v2.3.0-45 [must-gather ] OUT namespace/openshift-must-gather-5c5sb created [must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-qjz7b created [must-gather ] OUT pod for plug-in image registry.redhat.io/container-native-virtualization-cnv/must-gather-rhel8:v2.3.0-45 created [must-gather-7cct8] OUT gather did not start: unable to pull image: ImagePullBackOff: Back-off pulling image "registry.redhat.io/container-native-virtualization-cnv/must-gather-rhel8:v2.3.0-45" [must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-qjz7b deleted [must-gather ] OUT namespace/openshift-must-gather-5c5sb deleted error: gather did not start for pod must-gather-7cct8: unable to pull image: ImagePullBackOff: Back-off pulling image "registry.redhat.io/container-native-virtualization-cnv/must-gather-rhel8:v2.3.0-45" @yuval, can you please let me know if any other validation is required here other than the above ? Thanks !! Nice, you could verify with an InvalidImageName (capital letters for the image registry should do the trick). Other than this, I think you covered it, unless @Nelly wants to test anything else here. Thanks ! Thanks Yuval, tried again as suggested by you here and i see that it returns with ImagePullBackOff error. [ramakasturinarra@dhcp35-60 ~]$ oc adm must-gather --image=registry.redhat.IO/container-native-virtualization-cnv/must-gather-rhel8:v2.3.0-45 [must-gather ] OUT Using must-gather plugin-in image: registry.redhat.IO/container-native-virtualization-cnv/must-gather-rhel8:v2.3.0-45 [must-gather ] OUT namespace/openshift-must-gather-hcd66 created [must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-98rln created [must-gather ] OUT pod for plug-in image registry.redhat.IO/container-native-virtualization-cnv/must-gather-rhel8:v2.3.0-45 created [must-gather-2lcqv] OUT gather did not start: unable to pull image: ImagePullBackOff: Back-off pulling image "registry.redhat.IO/container-native-virtualization-cnv/must-gather-rhel8:v2.3.0-45" [must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-98rln deleted [must-gather ] OUT namespace/openshift-must-gather-hcd66 deleted error: gather did not start for pod must-gather-2lcqv: unable to pull image: ImagePullBackOff: Back-off pulling image "registry.redhat.IO/container-native-virtualization-cnv/must-gather-rhel8:v2.3.0-45" [ramakasturinarra@dhcp35-60 ~]$ oc adm must-gather --image=REGISTRY.REDHAT.IO/container-native-virtualization-cnv/must-gather-rhel8:v2.3.0-45 [must-gather ] OUT Using must-gather plugin-in image: REGISTRY.REDHAT.IO/container-native-virtualization-cnv/must-gather-rhel8:v2.3.0-45 [must-gather ] OUT namespace/openshift-must-gather-l4bnv created [must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-pndm7 created [must-gather ] OUT pod for plug-in image REGISTRY.REDHAT.IO/container-native-virtualization-cnv/must-gather-rhel8:v2.3.0-45 created [must-gather-fcnlw] OUT gather did not start: unable to pull image: ImagePullBackOff: Back-off pulling image "REGISTRY.REDHAT.IO/container-native-virtualization-cnv/must-gather-rhel8:v2.3.0-45" [must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-pndm7 deleted [must-gather ] OUT namespace/openshift-must-gather-l4bnv deleted error: gather did not start for pod must-gather-fcnlw: unable to pull image: ImagePullBackOff: Back-off pulling image "REGISTRY.REDHAT.IO/container-native-virtualization-cnv/must-gather-rhel8:v2.3.0-45" will wait for nelly before moving the bug to verified state. I tried with something like ./oc adm must-gather --image=AAAAA Trying the above gives me the below error. [ramakasturinarra@dhcp35-60 ~]$ oc adm must-gather --image=AAAAA [must-gather ] OUT Using must-gather plugin-in image: AAAAA [must-gather ] OUT namespace/openshift-must-gather-2qc9w created [must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-vkzmv created [must-gather ] OUT unable to parse image reference AAAAA: repository name must be lowercase [must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-vkzmv deleted [must-gather ] OUT namespace/openshift-must-gather-2qc9w deleted error: repository name must be lowercase Based on above comments moving the bug to verified state. @Nelly please feel free to reopen if you find something obvious is missing incase you get a chance to test the same, thanks !! 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 (OpenShift Container Platform 4.6 GA Images), 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/RHBA-2020:4196 |