Tzach
Tzach

Reputation: 13376

Managed VM Deployment hangs on "Copying certificates for secure access..."

I'm running the following command to deploy my Managed VMs app (on Windows 10):

gcloud preview app deploy app.yaml --project=<PROJECT> --promote

The deployment starts bug hangs on the following line:

Copying certificates for secure access. You may be prompted to create an SSH keypair.

And after some time I get the error:

ERROR: (gcloud.preview.app.deploy) Unable to copy certificates.

I've already:

Any help will be much appreciated!

Upvotes: 5

Views: 71

Answers (2)

Peter Coghill
Peter Coghill

Reputation: 381

Glad you fixed it, I had the same problem and will use your fix. I did happen accros a work around. By using the Container Build API to perform the build.

enter the command

gcloud config set app/use_cloud_build true

Before you

gcloud preview app deploy

Cite: https://github.com/isusanin/google-cloud-sdk/issues/533

Upvotes: 1

Tzach
Tzach

Reputation: 13376

Found the cause! It was the project's firewall that blocked SSH by default. Fixed that and it worked.

Upvotes: 2

Related Questions