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

create hosted cluster failed with aws s3 access issue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 4.13
    • HyperShift
    • None
    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • Bug Fix

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

      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:

       

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

              Created:
              Updated:
              Resolved: