Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-2750

The oc adm inspect ns/openshift-marketplace command is not collecting the packagemanifests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Minor Minor
    • None
    • 4.10
    • oc
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      The `oc adm inspect ns/openshift-marketplace` is not collecting the `packagemanifests` in the namespace.

      Version-Release number of selected component (if applicable):

      $ oc version
      Client Version: 4.10.31
      

      How reproducible:

      Create an inspect from the `openshift-marketplace` namespace and check the resulting inspect

      Steps to Reproduce:

      1. oc adm inspect ns/openshift-marketplace
      2. find inspect.local.*/ -name "*packagemanifest*"
      
      

      Actual results:

      There are no `packagemanifests` in the inspect.

      Expected results:

      The `packagemanifests` in the inspect.

       

      Additional info:

      While the `packagemanifests` resource is commonly only in the `openshift-marketplace` namespace, it's useful to identify all the CRDs created by the operators in the cluster, like using the following command with `omc`/`omg`:
      
        $ oc get packagemanifests -n openshift-marketplace metallb-operator -o json | jq '.status.channels[0].currentCSVDesc.customresourcedefinitions.owned[].name' -r
      
      
      The size added to the inspect should be small.

              jchaloup@redhat.com Jan Chaloupka
              oarribas@redhat.com Oscar Arribas Arribas
              ying zhou ying zhou
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: