Managed VM deployment freezes in the section "Copying certificates for secure access ..."

I run the following command to deploy my managed virtual machine application (on Windows 10):

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

Deployment triggers an error in the following line:

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

And after a while I get an error message:

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

I'm already:

  • Make sure there are SSH keys in ~\.ssh\google_compute_engine
  • Tried to work with --quiet - same results
  • Renamed ssh-term.exe to ssh.exe - same results
  • Run the command as an administrator.
  • Run the command with --verbosity debug , which prints the following line several times: DEBUG: File [f] does not exist locally.

Any help would be greatly appreciated!

+5
source share
2 answers

Found a reason! It was the project firewall that blocked SSH by default. This fixed and worked.

+2
source

Glad you fixed it, I had the same problem and you will use your fix. I really got around work. Using the container assembly API to complete the assembly.

enter command

 gcloud config set app/use_cloud_build true 

In front of you

 gcloud preview app deploy 

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

+1
source

Source: https://habr.com/ru/post/1245544/


All Articles