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

oc adm release extract --included doesn't show the cluster identity in the output message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.14
    • oc / update
    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      A customer might have many OCP clusters. To help them know which cluster the oc is connecting to extract the CRs, it'll be great to include cluster identity in the output of the cli.
      
      ./oc adm release extract --to 4.14.update --included --credentials-requests registry.ci.openshift.org/ocp/release:4.14.0-0.nightly-2023-08-11-055332 -a docker.config
      Extracted release payload from digest sha256:8a5507bf897252cab6d1957d9477bce45e7427f4f798450605d3503aed936594 created at 2023-08-11T05:55:14Z
      

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

       

      How reproducible:

      Always

      Steps to Reproduce:

      1. Install a cluster
      2. Extract CRs by connecting the cluster 
      $ ./oc adm release extract --to 4.14.update --included --credentials-requests registry.ci.openshift.org/ocp/release:4.14.0-0.nightly-2023-08-11-055332 -a docker.config
      Extracted release payload from digest sha256:8a5507bf897252cab6d1957d9477bce45e7427f4f798450605d3503aed936594 created at 2023-08-11T05:55:14Z
      
       3.
      

      Actual results:

      oc returns the message where we can't know which cluster it was connecting to
      
      Extracted release payload from digest sha256:8a5507bf897252cab6d1957d9477bce45e7427f4f798450605d3503aed936594 created at 2023-08-11T05:55:14Z

      Expected results:

      The message that oc returns includes the cluster identity

      Additional info:

       

            lmohanty@redhat.com Lalatendu Mohanty
            yanyang@redhat.com Yang Yang
            ying zhou ying zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: