Skip to content

anthos-samples /anthos-bm-gcp-terraform failing cluster deployment #827

@javiercanadillas

Description

@javiercanadillas

I'm following the instructions here and here, both for manual and all-in-one-install of a bare metal cluster using vxlan on GCE.

Both installation attempts fail at the Deleting bootstrap cluster step in the abm cluster installation from the admin workstation with the error:

[2025-09-11 17:57:37+0000] Installing dependency components... OK
[2025-09-11 17:59:18+0000] Deleting bootstrap cluster... OK
[2025-09-11 17:59:21+0000] exit with error 
[2025-09-11 17:59:21+0000] Error creating cluster: 1 error occurred:
        * API cloudresourcemanager.googleapis.com is not enabled in project [REDACTED]

This error can also be seen in the create-cluster.log file:

I0912 07:49:07.904933    5034 apply.go:64] Create Kind Cluster "msg"="deployment.apps/cluster-metrics-webhook created\n"  
E0912 07:49:34.803541    5034 create_cluster.go:175]  "msg"="Failed to run preflight checks" "error"="1 error occurred:\n\t* API cloudresourcemanager.googleapis.com is not enabled in project [REDACTED]\n\n"  
I0912 07:49:34.803647    5034 kind.go:620] Canceling containerd restarter...
E0912 07:49:38.145319    5034 console.go:110] exit with error 
E0912 07:49:38.145400    5034 console.go:110] Error creating cluster: 1 error occurred:
        * API cloudresourcemanager.googleapis.com is not enabled in project [REDACTED]

However, the API is enabled in the project:

gcloud services list --enabled | grep -i cloudresourcemanager
cloudresourcemanager.googleapis.com       Cloud Resource Manager API

Metadata

Metadata

Assignees

No one assigned

    Labels

    samplesIssues that are directly related to samples.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions