Feature Request P2
Status Update
Comments
jm...@google.com <jm...@google.com> #2
[Comment deleted]
pa...@google.com <pa...@google.com> #3
Would you be able to provide an example app which produces an error for which gcloud doesn't report, but appcfg.py does?
jm...@google.com <jm...@google.com> #4
In this case it is not app specific, The 400 error is due to quota of the application versions being over the limit which is 10 (but for this specific project it has been increased to 60). So any project with more than 10 versions will experience this.
pa...@google.com <pa...@google.com> #6
I have forwarded this request/report to the engineering team. We will update this issue with any progress updates and a resolution.
Description
- When trying to do a deploy with 'gcloud preview app deploy' a 400 error is received but no error message. Deploying the same app using 'appcfg.py update' provides the proper server output for the error. (see below).
* If relevant, why are current approaches or workarounds insufficient?
- To use appcfg to display the error messages when using gcloud.
* If relevant, what new use cases will this feature will enable?
- It will aid the customer with proper debugging information when deploying with gcloud preview app deploy and prevent confusion.
- Updated error messages for 'gcloud preview app deploy' to more closely match that of 'appcfg update' is recommend.
=================================================
gcloud output
=================================================
$ gcloud preview app deploy stage.yaml stage_cron.yaml --version version --set-default
You are about to deploy the following modules:
Do you want to continue (Y/n)?
Updating module [stage-default]...done.
ERROR: (gcloud.preview.app.deploy) Server responded with code [400]:
Bad Request Unexpected HTTP status 400
=================================================
appcfg.py output
=================================================
$ appcfg.py update stage.yaml stage_cron.yaml -A project --version version
Note: the --oauth2 flag is now the default and can be omitted.
10:52 AM Host:
10:52 AM Application: project (was: None); module: stage-default; version: version (was: None)
10:52 AM
Starting update of app: project , module: stage-default, version: version
10:52 AM Getting current resource limits.
10:52 AM Scanning files on local disk.
10:52 AM Scanned 500 files.
Error 400: --- begin server output ---
Your app may not have more than 60 versions. Please delete one of the existing versions before trying to create a new version.
--- end server output ---
==================================================
sdk versions
==================================================
$ gcloud --version
Google Cloud SDK 0.9.63
app 2015.06.02
app-engine-go-darwin-x86_64 1.9.21
app-engine-java 1.9.21
app-engine-python 1.9.21
app-engine-python-extras 1.9.21
bq 2.0.18
bq-nix 2.0.18
compute 2015.06.02
core 2015.06.02
core-nix 2015.06.02
dns 2015.06.02
gae-python 2015.06.02
gae-python-launcher-mac 1.9.21
gcloud 2015.06.02
gcutil 1.16.5
gcutil-msg 2015.06.02
gsutil 4.12
gsutil-nix 4.12
kubectl
kubectl-darwin-x86_64 0.17.0
preview 2015.06.02
sql 2015.06.02