miro
miro

Reputation: 809

GCP Cloud Composer - not able to create environment

I'm trying to create a default Cloud Composer environment, but after 50 minutes I always get:

code:  2    
   message:  "Composer Backend timed out. Currently running tasks are [stage: CP_COMPOSER_AGENT_RUNNING
description: "RPC Successful: Pull"
response_timestamp {
  seconds: 1536874828
  nanos: 429000000
}

I have tried several times to clean all IAM's, storage, disable and enable Cloud Storage API, but still the same error. I'm NOT able to create composer environments from none of other projects.

Ideas very much appreciated.

Upvotes: 1

Views: 3292

Answers (1)

rsantiago
rsantiago

Reputation: 2099

I have seen this error before when permissions were not correctly set or when they were modified:

Trying one of the following approaches could help:

  1. Assign at least the Composer Worker role to the user who tries to create an environment.

  2. Verify that the default Compute Engine service account has also the Worker role (like *****-compute@***seviceaccount.com).

Let us know your results.

Upvotes: 1

Related Questions