Bug 1712637
| Summary: | imagestreams.image.openshift.io "must-gather" not found when installer timeout during cluster initialisation | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Praveen Kumar <prkumar> |
| Component: | oc | Assignee: | Jan Chaloupka <jchaloup> |
| oc sub component: | oc | QA Contact: | zhou ying <yinzhou> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | unspecified | CC: | aos-bugs, jchaloup, jokerman, mfojtik, mmccomas, sanchezl, skitt, sponnaga, tnozicka, wking, xtian, xxia |
| Version: | 4.1.0 | Keywords: | OSE41z_next |
| Target Milestone: | --- | ||
| Target Release: | 4.1.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | 4.1.4 | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-07-04 09:01:22 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
Praveen Kumar
2019-05-22 02:50:35 UTC
In normal env, after `oc delete is must-gather -n openshift`, immediately running `oc adm must-gather` got "Error from server (NotFound): imagestreams.image.openshift.io "must-gather" not found". Maybe `oc adm must-gather` should be designed to not depend on imagestream/must-gather? I not sure why we need imagestream for must gather, given the tool needs to be run during various stages where imagestreams may not be even available. They are served form an aggregated apiserver which may as well be down. Maciej will know why that was chosen.
I'd image we use something in lines of `oc adm release info ${RELEASE_IMAGE} --image-for=must-gather` internally to determine that info.
I guess you can just run that image without wrapping it in oc adm for now.
I agree with what was said before, we should tolerate some APIs not being present due to many implications. We should report the fact, but still continue invocations. Not actually POST for this 4.1.z bug until that gets backported to release-4.1, right? Tested in oc v4.1.4 GitCommit:"c9e4f28ff", BuildDate:"2019-06-26T20:05:55Z": $ while true; do oc delete is must-gather -n openshift; done # The is is auto back, so use loop here $ oc adm must-gather imagestreams.image.openshift.io "must-gather" not found Using image: quay.io/openshift/origin-must-gather:latest ... It hard coded "origin" image in OCP product. Need this be fixed? 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, 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-2019:1635 |