Openshift Dedicated Install fail when constraints/compute.trustedImageProjects policy is enabled on the GCP Organization

Solution Verified - Updated -

Issue

When deploying Openshift Dedicated on GCP with constraints/compute.trustedImageProjects policy is enabled on the GCP Organization, the installer will try to pull Coreos images from the redhat-marketplace-public and rhcos-cloud projects.
The installer will fail with the following error message:

time="2025-02-05T14:05:01Z" level=debug msg="I0205 14:05:01.796994      99 recorder.go:104] \"Reconcile error - googleapi: Error 412: CONDITION_NOT_MET - Constraint constraints/compute.trustedImageProjects violated for project gcp-osd-poc. Use of images from project rhcos-cloud is prohibited

Environment

Openshift dedicated on Google Cloud

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content