Failed precondition when calling the ServiceConsumerManager tenantmanager 185014 Consumer 128906744611 should enable service container googleapis com before generating a service account

0 votes

Hi Guys,

I am new to GCP GKE. I am trying to create one Kubernetes Cluster. But it is showing me the below error.

$ gcloud container clusters create newcluster --num-nodes=2

ERROR: (gcloud.container.clusters.create) ResponseError: code=400, message=Failed precondition when calling the ServiceConsumerManager: tenantmanager::185014: Consumer 128906744611 should enable service:container.googleapis.com before generating a service account.
Nov 11, 2020 in GCP by akhtar
• 38,260 points
7,762 views

1 answer to this question.

0 votes

Hi@akhtar,

You are trying to create the Kubernetes Cluster. But you didn't enable the service. In GCP, you need to enable the service first, then only you can use the service. The following command you can use to enable the service.

$ gcloud services enable <service name>
answered Nov 11, 2020 by MD
• 95,460 points

Related Questions In GCP

0 votes
1 answer
+1 vote
1 answer
0 votes
1 answer
+2 votes
1 answer

How to create a project in GCP Cloud?

Hi@akhtar, To deploy your app on App Engine, ...READ MORE

answered Aug 23, 2020 in GCP by MD
• 95,460 points
707 views
+2 votes
1 answer

How to create a project from GCP Cloud Shell?

Hi@akhtar, GCP shell has a command named gcloud. ...READ MORE

answered Aug 23, 2020 in GCP by MD
• 95,460 points
1,984 views
+2 votes
1 answer

How to enable new services to a project in GCP Cloud?

Hi@akhtar, You can enable new services to your ...READ MORE

answered Aug 23, 2020 in GCP by MD
• 95,460 points
1,051 views
+2 votes
1 answer

How to install the Google Cloud SDK in Windows system?

Hi@akhtar, To install the Google Cloud SDK on ...READ MORE

answered Aug 24, 2020 in GCP by MD
• 95,460 points
21,778 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP