Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1936375

Summary: trying to install a 4.6 cluster on a new GCP account but it is failing
Product: OpenShift Container Platform Reporter: gekulkar <gekulkar>
Component: InstallerAssignee: aos-install
Installer sub component: openshift-installer QA Contact: Gaoyun Pei <gpei>
Status: CLOSED NEXTRELEASE Docs Contact:
Severity: medium    
Priority: unspecified CC: mstaeble
Version: 4.6   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-08 14:24:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description gekulkar 2021-03-08 10:27:19 UTC
Version:
RHOCP 4.6

Platform:
- RHOCP 4.6
- GCP




Please specify:
IPI

What happened?

When trying to install a 4.6 cluster on a new GCP account but it is failing with 
"Error: googleapi: Error 412: Request violates constraint 'constraints/storage.uniformBucketLevelAccess', conditionNotMet
ERROR
ERROR   on ../../tmp/openshift-install-136516193/bootstrap/main.tf line 1, in resource "google_storage_bucket" "ignition":
ERROR    1: resource "google_storage_bucket" "ignition" {"



What did you expect to happen?

Succesful install

How to reproduce it (as minimally and precisely as possible)?

NA

Anything else we need to know?

without the orgpolicy the installation is succeeding.

Comment 2 Matthew Staebler 2021-03-08 14:24:35 UTC
This is not a bug. The buckets that the installer creates do not enable uniform bucket level access.

In OpenShift 4.8, the installer will creates enable uniform bucket level access on the buckets that the installer creates. See https://issues.redhat.com/browse/CORS-1614.