Closed jianglai closed 3 years ago
I don't think this is an issue in the app-gradle-plugin tooling. You'll likely hit the same issue when using gcloud
.
Handing this over to the App Engine service team: @eamonnmcmanus @ludoch
I don't think this is an issue in the app-gradle-plugin tooling. You'll likely hit the same issue when using
gcloud
.Handing this over to the App Engine service team: @eamonnmcmanus @ludoch
I think it might have to do with how the plugin calls gcloud (assuming that's that it uses under the hood) in appengineDeployAll
that causes the contention. If I run gcloud directly it is fine. Also as I reported running appengineDeployDispatch
is also fine.
$ gcloud app deploy /usr/local/google/home/jianglai/nomulus-overlay/services/default/build/staged-app/WEB-INF/appengine-generated/dispatch.yaml
Configurations to update:
descriptor: [/usr/local/google/home/jianglai/nomulus-overlay/services/default/build/staged-app/WEB-INF/appengine-generated/dispatch.yaml]
type: [routing rules]
target project: [domain-registry-alpha]
Do you want to continue (Y/n)? y
Waiting for operation [apps/domain-registry-alpha/operations/6c645484-5377-4f4a-bf72-ae11ddbd21d7] to complete...done.
Updating config [dispatch]...done.
Custom routings have been updated.
What if you deploy all?
$ gcloud app deploy \
/usr/local/google/home/jianglai/nomulus-overlay/services/default/build/staged-app/app.yaml \
/usr/local/google/home/jianglai/nomulus-overlay/services/default/build/staged-app/WEB-INF/appengine-generated/cron.yaml \
/usr/local/google/home/jianglai/nomulus-overlay/services/default/build/staged-app/WEB-INF/appengine-generated/dispatch.yaml \
/usr/local/google/home/jianglai/nomulus-overlay/services/default/build/staged-app/WEB-INF/appengine-generated/dos.yaml \
/usr/local/google/home/jianglai/nomulus-overlay/services/default/build/staged-app/WEB-INF/appengine-generated/index.yaml \
/usr/local/google/home/jianglai/nomulus-overlay/services/default/build/staged-app/WEB-INF/appengine-generated/queue.yaml
It failed with the same message.
I tried both the internal and the external version of gcloud. Both gave the same error.
$ gcloud --version
Google Cloud SDK Fri Apr 9 10:16:58 2021 (1617977818) - CL @367627453
$ ~/google-cloud-sdk/bin/gcloud --version
Google Cloud SDK 336.0.0
bq 2.0.66
core 2021.04.09
gsutil 4.61
Should I open a bug in buganizer for gcloud
instead?
Done. Filed b/185777977.
Seems like the bug is fixed internally. Closing.
I am able to run
appengineDeployDispatch
to deploy the generateddispatch.yaml
file inappengine-generated
, but when runningappengineDeployAll
I encounter what seems to be a contention.Content of
dispatch.yaml
:Running
appengineDeployDispatch
:Running
appengineDeployAll
: