appcfg.py migrate_traffic使用app引擎模块

时间:2013-12-06 02:10:03

标签: google-app-engine

我正在尝试使用appcfg.py migrate_traffic,但在使用模块时遇到500错误。文档说明可以指定模块:

The 'migrate_traffic' command gradually gradually sends an increasing fraction
of traffic your app's traffic from the current default version to another
version. Once all traffic has been migrated, the new version is set as the
default version.

app.yaml specifies the target application, version, and (optionally) module; use
the --application, --version and --module flags to override these values.

Can be thought of as an enhanced version of the 'set_default_version'
command.

如果我尝试使用模块,我会收到以下错误

Error 500: --- begin server output ---

Server Error (500)
A server error has occurred.
--- end server output ---

https://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/tools/appcfg.py?r=396(MigrateTraffic)的来源似乎根本没有使用该模块。这是appcfg.py中的错误还是app引擎缺失的功能?

1 个答案:

答案 0 :(得分:0)

我提交了谷歌支持票。答案是,migrate_traffic尚不支持模块。何时可以支持ETA。我认为当前版本的appcfg.py也没有在migrate_traffic的帮助中突出显示模块。