我试图将烧瓶应用推送到Bluemix,但收到以下错误:
{
"code": 170016,
"description": "Runner error: desire app failed: 400",
"error_code": "CF-RunnerError"
}
命令:
CF_TRACE=true cf push
通过cf工具版本:
$ cf --version
cf version 6.26.0+9c9a261fd.2017-04-06
日志显示:
API/0Created app with guid xxxx Apr 18, 2017 6:16:00 PM
API/0Updated app with guid xxxx ({"name"=>"movie-recommend-demo-dublin", "command"=>"PRIVATE DATA HIDDEN", "instances"=>0, "memory"=>128, "environment_json"=>"PRIVATE DATA HIDDEN", "health_check_timeout"=>180})Apr 18, 2017 6:21:31 PM
API/2Updated app with guid xxxx ({"route"=>"xxxx", :verb=>"add", :relation=>:routes, :related_guid=>"xxxx"})Apr 18, 2017 6:21:35 PM
API/1Updated app with guid xxxx ({"name"=>"movie-recommend-demo-dublin", "command"=>"PRIVATE DATA HIDDEN", "instances"=>0, "memory"=>128, "environment_json"=>"PRIVATE DATA HIDDEN", "health_check_timeout"=>180})Apr 18, 2017 6:22:28 PM
API/0Updated app with guid xxxx ({"name"=>"movie-recommend-demo-dublin", "command"=>"PRIVATE DATA HIDDEN", "instances"=>0, "memory"=>128, "environment_json"=>"PRIVATE DATA HIDDEN", "health_check_timeout"=>180})Apr 18, 2017 6:26:15 PM
答案 0 :(得分:0)
当我写这个问题时,我意识到我的manifest.yml中有一个拼写错误
instances: 0
希望如果他们有类似的拼写错误,这将有助于其他用户更快地找到问题。