Skip to content

Error: error creating S3 bucket ACL for cluster-XXX: AccessControlListNotSupported: The bucket does not allow ACLs #210

Description

@jwmatthews

Filing the below for history so others who hit this know the resolution is to bump the version of OpenShift, you need to be using to OCP 4.13.0+ or newer...

Or if you want to deploy older 4.11 or 4.12 you can use: 4.11.36+ or 4.12.12+

OpenShift 4.x installs may fail on various AWS region due to AWS S3 policy change

The error we see when deploying 4.12.0 for example is below:
Error: error creating S3 bucket ACL for cluster-tbsabc2-8cmh7-bootstrap: AccessControlListNotSupported: The bucket does not allow ACLs\nlevel=error msg=\tstatus code: 400, request id: D3X2Q708QFYJD6WX, host id: mm1vXJOVPw05LK63NycRb6p4OLRyLNMm2kiUV8HjPT817N3yd0qC23SIkWIKpsmA351IrAT0F9CJjReizvJxQQ==\nlevel=error\nlevel=error msg= with aws_s3_bucket_acl.ignition,\nlevel=error msg= on main.tf line 62, in resource \"aws_s3_bucket_acl\" \"ignition\":\nlevel=error msg= 62: resource \"aws_s3_bucket_acl\" ignition {\nlevel=error\nlevel=error msg=failed to fetch Cluster: failed to generate asset \"Cluster\": failure applying terraform for \"bootstrap\" stage: failed to create cluster: failed to apply Terraform: exit status 1\n

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions