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

[IBMCloud] oc adm release extract missing Ingress CredentialsRequest

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.15
    • oc / update
    • Low
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          Extracting the CredentialsRequests for the release returns different results, based on the retrieval method. Using the "cloud" flag returns the proper set of CredentialsRequests. Relying on an "install-config", the CredentialsRequest for Ingress is missing

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

          4.15.15

      How reproducible:

          100%

      Steps to Reproduce:

          1. Select an OCP release (4.15.15)
          2. Create an install-config for IBM Cloud
          3. Attempt to extract the CredentialsRequests using the install-config:   oc adm release extract --from=$RELEASE_IMAGE --credentials-requests --included --install-config=<path_to_directory_with_installation_configuration>/install-config.yaml --to=<path_to_directory_for_credentials_requests>      

      Actual results:

      0000_26_cloud-controller-manager-operator_15_credentialsrequest-ibm.yaml		
      0000_50_cluster-image-registry-operator_01-registry-credentials-request-ibmcos.yaml
      0000_30_machine-api-operator_00_credentials-request.yaml
      0000_50_cluster-storage-operator_03_credentials_request_ibm.yaml

      Expected results:

      0000_26_cloud-controller-manager-operator_15_credentialsrequest-ibm.yaml
      0000_50_cluster-ingress-operator_00-ingress-credentials-request.yaml
      0000_30_machine-api-operator_00_credentials-request.yaml
      0000_50_cluster-storage-operator_03_credentials_request_ibm.yaml
      0000_50_cluster-image-registry-operator_01-registry-credentials-request-ibmcos.yaml 

      Additional info:

      Using the "--cloud=ibmcloud" argument instead of "install-config" argument, produces the correct CredentialsRequests results. I am unsure why there is a discrepancy.

       

              lmohanty@redhat.com Lalatendu Mohanty
              cschaefe@redhat.com Christopher Schaefer
              ying zhou ying zhou
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: