Assigned
Status Update
Comments
be...@khanacademy.org <be...@khanacademy.org> #3
Would you be able to provide an example app which produces an error for which gcloud doesn't report, but appcfg.py does?
kn...@google.com <kn...@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.
be...@khanacademy.org <be...@khanacademy.org> #5
[Comment deleted]
kn...@google.com <kn...@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.
be...@khanacademy.org <be...@khanacademy.org> #7
It's the same, but I'm happy to paste here for convenience
$ gcloud info --anonymize
Google Cloud SDK [196.0.0]
Platform: [Linux, x86_64] ('Linux', 'diffeomorphism', '4.13.0-37-generic', '#42-Ubuntu SMP Wed Mar 7 14:13:23 UTC 2018', 'x86_64', 'x86_64')
Python Version: [2.7.14 (default, Sep 23 2017, 22:06:14) [GCC 7.2.0]]
Python Location: [/usr/bin/python2]
Site Packages: [Disabled]
Installation Root: [${HOME}/google-cloud-sdk]
Additional Repositories:
https://storage.googleapis.com/gae-runtimes-gcloud/components-2.json
Installed Components:
kubectl: []
app-engine-python: [0.nodejs_eap.8]
core: [2018.03.30]
gcloud: []
app-engine-python-extras: [1.9.63]
beta: [2017.09.15]
gsutil: [4.30]
bq: [2.0.31]
alpha: [2017.09.15]
System PATH: [${HOME}/google-cloud-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:${HOME}/.bin:${HOME}/.go/bin]
Python PATH: [${HOME}/google-cloud-sdk/lib/third_party:${HOME}/google-cloud-sdk/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload]
Cloud SDK on PATH: [False]
Kubectl on PATH: [${HOME}/google-cloud-sdk/bin/kubectl]
Installation Properties: [${HOME}/google-cloud-sdk/properties]
User Config Directory: [${CLOUDSDK_CONFIG}]
Active Configuration Name: [default]
Active Configuration Path: [${CLOUDSDK_CONFIG}/configurations/config_default]
Account: [b..t@k..g]
Project: [None]
Current Properties:
[core]
account: [b..t@k..g]
disable_usage_reporting: [False]
[component_manager]
additional_repositories: [https://storage.googleapis.com/gae-runtimes-gcloud/components-2.json ]
Logs Directory: [${CLOUDSDK_CONFIG}/logs]
Last Log File: [${CLOUDSDK_CONFIG}/logs/2018.04.04/12.48.03.665704.log]
git: [git version 2.14.1]
ssh: [OpenSSH_7.5p1 Ubuntu-10ubuntu0.1, OpenSSL 1.0.2g 1 Mar 2016]
$ gcloud info --anonymize
Google Cloud SDK [196.0.0]
Platform: [Linux, x86_64] ('Linux', 'diffeomorphism', '4.13.0-37-generic', '#42-Ubuntu SMP Wed Mar 7 14:13:23 UTC 2018', 'x86_64', 'x86_64')
Python Version: [2.7.14 (default, Sep 23 2017, 22:06:14) [GCC 7.2.0]]
Python Location: [/usr/bin/python2]
Site Packages: [Disabled]
Installation Root: [${HOME}/google-cloud-sdk]
Additional Repositories:
Installed Components:
kubectl: []
app-engine-python: [0.nodejs_eap.8]
core: [2018.03.30]
gcloud: []
app-engine-python-extras: [1.9.63]
beta: [2017.09.15]
gsutil: [4.30]
bq: [2.0.31]
alpha: [2017.09.15]
System PATH: [${HOME}/google-cloud-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:${HOME}/.bin:${HOME}/.go/bin]
Python PATH: [${HOME}/google-cloud-sdk/lib/third_party:${HOME}/google-cloud-sdk/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload]
Cloud SDK on PATH: [False]
Kubectl on PATH: [${HOME}/google-cloud-sdk/bin/kubectl]
Installation Properties: [${HOME}/google-cloud-sdk/properties]
User Config Directory: [${CLOUDSDK_CONFIG}]
Active Configuration Name: [default]
Active Configuration Path: [${CLOUDSDK_CONFIG}/configurations/config_default]
Account: [b..t@k..g]
Project: [None]
Current Properties:
[core]
account: [b..t@k..g]
disable_usage_reporting: [False]
[component_manager]
additional_repositories: [
Logs Directory: [${CLOUDSDK_CONFIG}/logs]
Last Log File: [${CLOUDSDK_CONFIG}/logs/2018.04.04/12.48.03.665704.log]
git: [git version 2.14.1]
ssh: [OpenSSH_7.5p1 Ubuntu-10ubuntu0.1, OpenSSL 1.0.2g 1 Mar 2016]
kn...@google.com <kn...@google.com> #8
I have reported the issue to the back-end team so that they may investigate it, however there is no ETA for the fix at this time. All further updates should occur in this report.
Description
[1] In particular, google.appengine.tools.appcfg.FileIterator and googlecloudsdk.api_lib.app.util.FileIterator
[2] In particular, google.appengine.tools.devappserver2.inotify_file_watcher.InotifyFilewatcher._add_watch_for_path, currently around line 180 -- it looks at `self._skip_files_re` only if `dirpath in self._directories`, which is effectively only true for the root directory.