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

Need to bump api at oc to include the CloudCredential capability

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • 4.16.0
    • 4.15, 4.16
    • oc
    • None
    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, some credentials requests were not extracted properly when running the `oc adm release extract --credentials-requests` command with an `install-config.yaml` file that included the the `CloudCredential` cluster capability. With this release, the `CloudCredential` capability is included properly in the OpenShift CLI (`oc`) so that this command extracts credentials requests properly. (link:https://issues.redhat.com/browse/OCPBUGS-24834[*OCPBUGS-24834*])
      Show
      * Previously, some credentials requests were not extracted properly when running the `oc adm release extract --credentials-requests` command with an `install-config.yaml` file that included the the `CloudCredential` cluster capability. With this release, the `CloudCredential` capability is included properly in the OpenShift CLI (`oc`) so that this command extracts credentials requests properly. (link: https://issues.redhat.com/browse/OCPBUGS-24834 [* OCPBUGS-24834 *])
    • Bug Fix
    • Done

      Background:

      CCO was made optional in OCP 4.15, see https://issues.redhat.com/browse/OCPEDGE-69. CloudCredential was introduced as a new capability to openshift/api. We need to bump api at oc to include the CloudCredential capability so oc adm release extract works correctly.

      Description of problem:

      Some relevant CredentialsRequests are not extracted by the following command: oc adm release extract --credentials-requests --included --install-config=install-config.yaml ...
      where install-config.yaml looks like the following:
      ...
      capabilities:
        baselineCapabilitySet: None
        additionalEnabledCapabilities:
        - MachineAPI
        - CloudCredential
      platform:
        aws:
      ...

      Logs:

      ...
      I1209 19:57:25.968783 79037 extract.go:418] Found manifest 0000_50_cloud-credential-operator_05-iam-ro-credentialsrequest.yaml
      I1209 19:57:25.968902 79037 extract.go:429] Excluding Group: "cloudcredential.openshift.io" Kind: "CredentialsRequest" Namespace: "openshift-cloud-credential-operator" Name: "cloud-credential-operator-iam-ro": unrecognized capability names: CloudCredential
      ...

              fxierh Feilian Xie
              fxierh Feilian Xie
              ying zhou ying zhou
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: