isusanin / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

mvn gcloud:deploy not working #626

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
*What steps will reproduce the problem?*

https://cloud.google.com/appengine/docs/managed-vms/java/hello-world

mvn gcloud:deploy

What is the expected output? What do you see instead?

I am expecting to deploy the app on AppEngine.

What is the output of 'mvn gcloud:deploy'?

...

INFO]   File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/
__init__.py", line 941, in _open
[INFO]     stream = open(self.baseFilename, self.mode)
[INFO] IOError: [Errno 13] Permission denied: 
'/Users/user/.config/gcloud/logs/2016.03.04/16.48.50.936338.log'
[ERROR] Error: gcloud app command with exit code : 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.618 s
[INFO] Finished at: 2016-03-04T16:48:50-03:00
[INFO] Final Memory: 14M/220M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
com.google.appengine:gcloud-maven-plugin:2.0.9.95.v20160203:deploy 
(default-cli) on project managed-vms-helloworld: 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

*Please provide any additional information below.*
mvn -v
Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 
2014-08-11T17:58:10-03:00)
Maven home: /Users/user/Development/apache-maven-3.2.3
Java version: 1.8.0_45, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.3", arch: "x86_64", family: "mac"

*sudo gcloud version*
Google Cloud SDK 99.0.0

beta 2016.01.12
bq 2.0.18
bq-nix 2.0.18
core 2016.02.26
core-nix 2016.02.05
gcloud 
gsutil 4.17
gsutil-nix 4.15
kubectl 
kubectl-darwin-x86_64 1.1.7

Original issue reported on code.google.com by gibo...@gmail.com on 4 Mar 2016 at 8:03

GoogleCodeExporter commented 8 years ago
See https://code.google.com/p/google-cloud-sdk/issues/detail?id=460

Original comment by gibo...@gmail.com on 4 Mar 2016 at 8:03

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Thank you for your feedback. Were you able to resolve this problem by following 
the workaround at: 
https://code.google.com/p/google-cloud-sdk/issues/detail?id=460 ?

Original comment by vil...@google.com on 6 Mar 2016 at 1:05

GoogleCodeExporter commented 8 years ago

Original comment by vil...@google.com on 6 Mar 2016 at 1:13