HTTP Error 409: Conflict in deploy

168 views
Skip to first unread message

jungh...@snapchat.com

unread,
Oct 28, 2016, 2:36:09 PM10/28/16
to google-appengine-go
Hello,

I'm tying to deploy the sample hello world app, but I got "HTTP Error 409: Conflict":

~/go_appengine/appcfg.py  -A myproj -V test -v update app.yaml
11:32 AM Host: appengine.google.com
11:32 AM Application: myproj (was: None); version: test (was: None)
2016-10-28 11:32:19,532 INFO appcfg.py:2664 Ignoring directory '.git': Directory matches ignore regex.
2016-10-28 11:32:19,532 INFO appcfg.py:2657 Ignoring file '.gitignore': File matches ignore regex.
2016-10-28 11:32:19,533 INFO appcfg.py:3780 Invoking go-app-builder: /home/jungho.ahn/go_appengine/goroot/bin/go-app-builder -api_version go1 -app_base . -arch 6 -gopath /home/jungho.ahn/go_appengine/gopath -print_extras -goroot /home/jungho.ahn/go_appengine/goroot hello.go
2016-10-28 11:32:19,541 INFO appcfg.py:3794 GOPATH overlay: {}
2016-10-28 11:32:19,542 INFO appcfg.py:2393 Reading app configuration.
11:32 AM Starting update of app: myproj, module: jhahn-test, version: test
11:32 AM Getting current resource limits.
2016-10-28 11:32:19,542 INFO appcfg.py:1706 Send: /api/appversion/getresourcelimits, params={'version': 'test', 'app_id': 'myproj', 'module': 'jhahn-test'}
2016-10-28 11:32:19,542 INFO client.py:676 access_token is expired. Now: 2016-10-28 18:32:19.542619, token_expiry: 2016-10-28 18:32:15
2016-10-28 11:32:19,863 INFO client.py:676 access_token is expired. Now: 2016-10-28 18:32:19.863243, token_expiry: 2016-10-28 18:32:15
2016-10-28 11:32:19,923 INFO client.py:578 Refreshing due to a 401 (attempt 1/2)
2016-10-28 11:32:19,924 INFO client.py:804 Refreshing access_token
11:32 AM Scanning files on local disk.
2016-10-28 11:32:20,324 INFO appcfg.py:2516 Processing file 'app.yaml'
2016-10-28 11:32:20,325 INFO appcfg.py:2516 Processing file 'hello.go'
2016-10-28 11:32:20,325 INFO appcfg.py:2516 Processing file 'source-contexts.json'
2016-10-28 11:32:20,325 INFO appcfg.py:2516 Processing file 'source-context.json'
2016-10-28 11:32:20,328 INFO appcfg.py:1706 Send: /api/appversion/create, params={'version': 'test', 'app_id': 'myproj', 'module': 'jhahn-test'}
2016-10-28 11:33:22,038 INFO appengine_rpc_httplib2.py:303 Too many retries for url https://appengine.google.com/api/appversion/create?app_id= myproj&module=jhahn-test&version=test
2016-10-28 11:33:22,038 INFO appcfg.py:2574 HTTP Error (HTTP Error 409: Conflict)
Error 409: --- begin server output ---
There is an operation pending for this application: AppLock held for "Updating engine_version_id='test' within engine_id='default'." acquired by jungho.ahn at 2016-10-28 18:27:02.036075 GMT.  Please wait and try again or use 'appcfg rollback' to attempt to cleanly abort the current operation.
--- end server output ---

What's wrong with my deployment? Did I miss anything?

Thanks,

jungh...@snapchat.com

unread,
Oct 28, 2016, 2:54:39 PM10/28/16
to google-appengine-go, jungh...@snapchat.com
The problem was that I used "service" instead of "module" in app.yaml.
With "module", it works.
Reply all
Reply to author
Forward
0 new messages