1

There is this persistent 504 runtime error whenever I deploy a solution from Marketplace.

"ResourceType":"runtimeconfig.v1beta1.waiter","ResourceErrorCode":"504","ResourceErrorMessage":"Timeout expired."}

The VMs started and work fine despite the error.

Initially, I thought it is due to not using default SA to launch the solution but I am wrong. I have the same error even if I use a default SA to launch.

I wonder is there a way to increase the request timeout for Marketplace? I have seen guides on Cloud Run and GKE but not on Marketplace.

PlainH2O
  • 146
  • 2
  • 14

1 Answers1

1

Could you check your Compute Engine default service account to check if it’s enabled and if it has the correct permissions?

The default Compute Engine has the below format:

PROJECT_NUMBER-compute@developer.gserviceaccount.com

Related:

https://community.bitnami.com/t/deployment-failed/59625

https://groups.google.com/g/gce-discussion/c/Nr45fqKdGU4


Edit: For the permission in the SA, you need to wait a bit so the permissions can be propagated "may take up to 7 minutes for these changes to fully propagate across the system", reference.

Toni
  • 1,054
  • 7
  • 12
  • Thanks Toni. As per my OP, I suspected is due to that too but apparently it is not. I have tried with enabling default SA with editor and with compute.instanceAdmin the same error persists. – PlainH2O May 04 '21 at 12:47
  • 1
    Yes it is due to the SA. I should have waited for a while longer before deploying with the new IAM roles. Tried the next day and it works! – PlainH2O May 05 '21 at 11:21
  • That's great. So the SA was missing permissions. Could you mark this answer as accepted? – Toni May 05 '21 at 12:08
  • 1
    Sure. Can you also highlight the requirement to wait for the IAM roles to propagate and I can mark this as the answer. – PlainH2O May 05 '21 at 12:42
  • I have mentioned the permissions requeriment. – Toni May 06 '21 at 10:20