Unable to deploy webapp to GAE


#1

I am suddenly unable to deploy a webapp to GAE due to an authentication problem as per the messages below.

This happened before and was solved by logging off Cloud 9 and logging in again. However, this time that does not solve the problem.


[INFO] Running python -S /usr/local/share/google/google-cloud-sdk/lib/gcloud.py --quiet --project=co-140624 app deploy /home/ubuntu/workspace/target/appengine-staging/app.yaml /home/ubuntu/workspace/target/appengine-staging/index.yaml --version=v1 --promote
[INFO] ERROR: (gcloud.app.deploy) You do not currently have an active account selected.
[INFO] Please run:
[INFO]
[INFO] gcloud auth login [INFO] [INFO] to obtain new credentials, or if you have already logged in with a [INFO] different account: [INFO] [INFO] gcloud config set account ACCOUNT
[INFO]
[INFO] to select an already authenticated account to use.
[ERROR] Error: gcloud app command with exit code : 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.786 s
[INFO] Finished at: 2017-05-09T12:39:08+00:00
[INFO] Final Memory: 33M/989M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.google.appengine:gcloud-maven-plugin:2.0.9.121.v20160815:deploy (default-cli) on project co-140624: Error: gcloud app command exit code is: 1 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
**jcarmona:~/workspace (master) gcloud auth list** **Credentialed Accounts:** ** - joaquim.carmona@gmail.com** To set the active account, run: gcloud config set account ACCOUNT

jcarmona:~/workspace (master) $ gcloud config set account joaquim.carmona@gmail.com
ERROR: gcloud crashed (IOError): [Errno 13] Permission denied: ‘/home/ubuntu/.config/gcloud/configurations/config_default’


#2

this is caused by a regression, we are working on a fix now, thanks for reporting!


#3

Thank you, it’s fixed!