Open murphye opened 3 years ago
Is your cluster registered in a different project other than ABC123?
Yes, I just replaced with ABC123 I didn't want to put my real info.
I think the question was: "is the cluster registered to an environ with a parent project that is different from the project that the cluster belongs to?" e.g. the cluster is ABC123/us-central1-c/ABC123 but it's registered to an environ in XYZ123.
There are no parent projects. I was unaware that was possible. There is a parent organization however.
API [gkehub.googleapis.com] not enabled on project [770406736630].
I just looked, and none of my projects (or organization) are of ID 770406736630. I have no idea where that came from.
Was this cluster ever registered to an environ before? Is there any custom resource in the output when you do kubectl get memberships.hub.gke.io
?
I agree the terminology is confusing. This might help: https://cloud.google.com/anthos/multicluster-management/environs#environ-host-project
Short version: you can register clusters from any project to an environ, but the environ itself is only associated with one project.
Also, the number might be a project number and not a project ID: you can check here https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects to see how to check.
I am running
Getting this error, and it says
WARNING]: Cluster is registered in the project null,
which is not correct.