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

HyperShift guest cluster does not have cloudcredentials instance

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • 4.14.0
    • 4.14
    • HyperShift
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

      This is a clone of issue OCPBUGS-17906. The following is the description of the original issue:

      Description of problem:

      On Hypershift(Guest) cluster, EFS driver pod stuck at ContainerCreating state

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

      4.14.0-0.nightly-2023-08-11-055332

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create Hypershift cluster.    
      Flexy template: aos-4_14/ipi-on-aws/versioned-installer-ovn-hypershift-ci
      
      2. Try to install EFS operator and driver from yaml file/web console as mentioned in below steps.  
      a) Create iam role from ccoctl tool and will get ROLE ARN value from the output   
      b) Install EFS operator using the above ROLE ARN value.   
      c) Check EFS operator, node, controller pods are up and running  
      
      // og-sub-hcp.yaml
      apiVersion: operators.coreos.com/v1
      kind: OperatorGroup
      metadata:
        generateName: openshift-cluster-csi-drivers-
        namespace: openshift-cluster-csi-drivers
      spec:
        namespaces:
        - ""
      ---
      apiVersion: operators.coreos.com/v1alpha1
      kind: Subscription
      metadata:
        name: aws-efs-csi-driver-operator
        namespace: openshift-cluster-csi-drivers
      spec:
          channel: stable
          name: aws-efs-csi-driver-operator
          source: qe-app-registry
          sourceNamespace: openshift-marketplace
          config:
            env:
            - name: ROLEARN
              value: arn:aws:iam::301721915996:role/hypershift-ci-16666-openshift-cluster-csi-drivers-aws-efs-cloud-
      
      // driver.yaml
      apiVersion: operator.openshift.io/v1
      kind: ClusterCSIDriver
      metadata:
        name: efs.csi.aws.com
      spec:
        logLevel: TraceAll
        managementState: Managed
        operatorLogLevel: TraceAll

      Actual results:

      aws-efs-csi-driver-controller-699664644f-dkfdk   0/4     ContainerCreating   0          87m

      Expected results:

      EFS controller pods should be up and running

      Additional info:

      oc -n openshift-cluster-csi-drivers logs aws-efs-csi-driver-operator-6758c5dc46-b75hb
      
      E0821 08:51:25.160599       1 base_controller.go:266] "AWSEFSDriverCredentialsRequestController" controller failed to sync "key", err: cloudcredential.operator.openshift.io "cluster" not found
      
      Discussion: https://redhat-internal.slack.com/archives/GK0DA0JR5/p1692606247221239
      Installation steps epic: https://issues.redhat.com/browse/STOR-1421 

              agarcial@redhat.com Alberto Garcia Lamela
              openshift-crt-jira-prow OpenShift Prow Bot
              Rohit Patil Rohit Patil
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: