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

create hosted cluster failed with aws s3 access issue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done-Errata
    • Major
    • 4.14.0
    • 4.13
    • HyperShift
    • None
    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      with new s3 bucket, hc failed with condition :
      - lastTransitionTime: “2023-04-13T14:17:11Z”
         message: ‘failed to upload /.well-known/openid-configuration to the heli-hypershift-demo-oidc-2
          s3 bucket: aws returned an error: AccessControlListNotSupported’
         observedGeneration: 3
         reason: OIDCConfigurationInvalid
         status: “False”
         type: ValidOIDCConfiguration

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

       

      How reproducible:

      1 create s3 bucket 
      $ aws s3api create-bucket --create-bucket-configuration  LocationConstraint=us-east-2 --region=us-east-2 --bucket heli-hypershift-demo-oidc-2
      {
        "Location": "http://heli-hypershift-demo-oidc-2.s3.amazonaws.com/"
      }
      [cloud-user@heli-rhel-8 ~]$ aws s3api delete-public-access-block --bucket heli-hypershift-demo-oidc-2
      
      2 install HO and create a hc on aws us-west-2
      3. hc failed with condition:
      - lastTransitionTime: “2023-04-13T14:17:11Z”    message: ‘failed to upload /.well-known/openid-configuration to the heli-hypershift-demo-oidc-2     s3 bucket: aws returned an error: AccessControlListNotSupported’    observedGeneration: 3    reason: OIDCConfigurationInvalid    status: “False”    type: ValidOIDCConfiguration

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

       

      Expected results:

      create a hc successfully

      Additional info:

       

      Attachments

        Issue Links

          Activity

            People

              rhn-support-heli He Liu
              rhn-support-heli He Liu
              He Liu He Liu
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: