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

[4.15 EFS Rebase] Cross account mount feature needs extra permissions to work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • premerge, 4.15.0
    • Storage / Operators
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • No
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      [4.15 EFS Rebase] Cross account mount feature needs extra permissions to work

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

      4.15.0-0.nightly-2023-11-08-062604

      How reproducible:

      Always

      Steps to Reproduce:

      1. Install AWS EFS cluster from flexy template.    
      VARIABLES_LOCATION: private-templates/functionality-testing/aos-4_15/ipi-on-aws/versioned-installer-efs_operator-ci 
      2. Do setup for cross account mount as mentioned in doc:
      https://docs.openshift.com/container-platform/4.14/storage/container_storage_interface/persistent-storage-csi-aws-efs.html#persistent-storage-csi-efs-cross-account_persistent-storage-csi-aws-efs 
      3. Create sc, pvc, dep and check status

      Actual results:

      Volume is not getting provisioned

      Expected results:

      Volume should get provisioned successfully

      Additional info:

      oc get pvc -n testropatil
      NAME STATUS    VOLUME   CAPACITY   ACCESS MODES   STORAGECLASS          AGE
      mypvc-fs2   Pending                               efs-crossaccount-sc   55m
      
      oc describe pvc -n testropatil
        Warning  ProvisioningFailed  29m (x6 over 47m)  efs.csi.aws.com_ip-10-0-30-56_e49a0a8c-a449-4a7c-bee5-9113112cd270  (combined from similar events): failed to provision volume with StorageClass "efs-crossaccount-sc": rpc error: code = Internal desc = Failed to discover used GIDs for filesystem: fs-04cbcb7d2b03a38a4: failed to list access points: FileSystemNotFound: File system 'fs-04cbcb7d2b03a38a4' does not exist.
      {
        RespMetadata: {
          StatusCode: 404,
          RequestID: "1474ec74-cd0c-4a4d-b363-f792418b7e35"
        },
        ErrorCode: "FileSystemNotFound",
        Message_: "File system 'fs-04cbcb7d2b03a38a4' does not exist."
      }
      
      Discussion: https://redhat-internal.slack.com/archives/GK0DA0JR5/p1699621100057029 

              rbednar@redhat.com Roman Bednar
              ropatil@redhat.com Rohit Patil
              None
              None
              Rohit Patil Rohit Patil
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: