简单容器工具链 - 部署失败:超过最大重试次数
问题描述:
我试图运行由简单容器工具链创建的部署管道示例。部署日志的输出是:简单容器工具链 - 部署失败:超过最大重试次数
...
2017-07-03 15:49:43 UTC : creating group: /tmp/extension_content/cf ic group create --name hello-containers-XXXX_2 --publish 80 --desired 2 --min 1 --max 6 registry.ng.bluemix.net/chstest/hello-containers-XXXX:1
OK
The creation of the container group was requested.
The container group "hello-containers-XXXX_2" (ID: YYYY) was created.
Minimum container instances: 1
Maximum container instances: 6
Desired container instances: 2
2017-07-03 15:49:49 UTC : hello-containers-XXXX_2 is 'CREATE_IN_PROGRESS'
2017-07-03 15:49:53 UTC : hello-containers-XXXX_2 is 'CREATE_IN_PROGRESS'
...
... CREATE_IN_PROGRESS message repeated about 150 times
...
2017-07-03 16:02:51 UTC : hello-containers-XXXX_2 is 'CREATE_IN_PROGRESS'
2017-07-03 16:02:55 UTC : hello-containers-XXXX_2 is 'CREATE_IN_PROGRESS'
2017-07-03 16:02:58 UTC : Create group is not completed and stays in status 'CREATE_IN_PROGRESS'
2017-07-03 16:02:58 UTC : Failed to deploy group
To send notifications, set SLACK_WEBHOOK_PATH or HIP_CHAT_TOKEN in the environment
Finished: FAILED
如果我定位到Bluemix容器仪表板,我看到下面的错误日志:
Group failed
Resource CREATE failed: ResourceInError: resources.asg.resources.i2jghszuv3br.resources.server: Went to status ERROR due to "Message: Exceeded maximum number of retries. Exceeded max scheduling attempts 3 for instance ZZZZ. Last exception: [u'Traceback (most recent call last): \n', u' File "/opt/bbc/openstack-12.1.90/nova/local/lib/python2.7/site-packages, Code: 500"
我如何调试这进一步?
答
请对容器SRE团队打开一个Bluemix支持票。通过登录到您的Bluemix帐户来执行此操作,并在右上角有一个“支持”=“添加故障单”的选项。