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

Failed to create secret on HyperShift Hosted Cluster with short-lived token was enabled by CCO.

XMLWordPrintable

    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

      Description of problem:

      • Hosted cluster credentialsMode mode is not manual and cannot create secrets.
      • Now the Control Plan credentialsMode is the same as Management Cluster, but for this feature, it should be manual mode on Hosted Cluster no matter what the credentialsMode of Management Cluster is.

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

          4.16

      How reproducible:

          Always

      Steps to Reproduce:

         
       1.Creates CredentialsRequest including the spec.providerSpec.stsIAMRoleARN string. 
         
       2.Cloud Credential Operator could not populate Secret based on CredentialsRequest.   
      
      $ oc get secret -A | grep test-mihuang
      #Secret not found.  
      
      $ oc get CredentialsRequest -n openshift-cloud-credential-operator
      NAME                                                  AGE
      ...
      test-mihuang                                               44s
          3.
          

      Actual results:

          Secret not create successfully.

      Expected results:

          Successfully created the secret on the hosted cluster.

      Additional info:

          

            skuznets@redhat.com Steve Kuznetsov
            mihuang@redhat.com Mingxia Huang
            Mingxia Huang Mingxia Huang
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: