Bug 2010136

Summary: must-gather extracts imagestreams in the "openshift" namespace, but not Templates
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: SamplesAssignee: David Peraza <dperaza>
Status: CLOSED ERRATA QA Contact: Jitendar Singh <jitsingh>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.8CC: aos-bugs, jokerman, mfojtik, pkumari, wking
Target Milestone: ---   
Target Release: 4.9.z   
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: 2022-01-04 18:41:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2007757    
Bug Blocks:    

Comment 4 Priti Kumari 2021-12-27 09:55:06 UTC
Verified the image streams and templates with release 4.9.0-0.nightly-2021-12-23-045233

===========================

$ oc version
Client Version: 4.4.0-0.ci-2020-02-26-215902
Server Version: 4.9.0-0.nightly-2021-12-23-045233
Kubernetes Version: v1.22.3+e790d7f

pkumari$ oc get config 
NAME      AGE
cluster   23m

pkumari$ oc get config cluster -o yaml | grep managementState
        f:managementState: {}
  managementState: Managed

pkumari$ oc adm must-gather

[...]

[must-gather-ghbtt] OUT namespaces/openshift/image.openshift.io/imagestreams/ubi8-openjdk-11.yaml
[must-gather-ghbtt] OUT namespaces/openshift/image.openshift.io/imagestreams/ubi8-openjdk-8.yaml
[must-gather-ghbtt] OUT namespaces/openshift/policy/
[must-gather-ghbtt] OUT namespaces/openshift/policy/poddisruptionbudgets.yaml
[must-gather-ghbtt] OUT namespaces/openshift/route.openshift.io/
[must-gather-ghbtt] OUT namespaces/openshift/route.openshift.io/routes.yaml
[must-gather-ghbtt] OUT namespaces/openshift/template.openshift.io/
[must-gather-ghbtt] OUT namespaces/openshift/template.openshift.io/templates/
[must-gather-ghbtt] OUT namespaces/openshift/template.openshift.io/templates/3scale-gateway.yaml
[must-gather-ghbtt] OUT namespaces/openshift/template.openshift.io/templates/amq63-basic.yaml
[...]

pkumari$ oc get templates -n openshift
NAME                                            DESCRIPTION                                                                        PARAMETERS        OBJECTS
3scale-gateway                                  3scale's APIcast is an NGINX based API gateway used to integrate your interna...   17 (8 blank)      3
[...]

pkumari$ oc get is -n openshift
NAME                                                  IMAGE REPOSITORY                                                                                                 TAGS                                                     UPDATED
apicast-gateway                                       image-registry.openshift-image-registry.svc:5000/openshift/apicast-gateway                                       2.1.0.GA,2.10.0.GA,2.2.0.GA,2.3.0.GA + 7 more...         22 minutes ago
[...]

Both imagestreams and templates are extracted.

Comment 6 errata-xmlrpc 2022-01-04 18:41:24 UTC
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.9.12 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/RHBA-2021:5214