Linux 在openstack上,当通过脚本创建Bosh VM时,Bosh init给出错误
我已经创建了一个OpenStack环境,我想部署BOSH,之后我将在该虚拟机上为我们办公室的测试环境部署CloudFoundry。我将以下链接作为指南:Linux 在openstack上,当通过脚本创建Bosh VM时,Bosh init给出错误,linux,ubuntu,openstack,cf-bosh,Linux,Ubuntu,Openstack,Cf Bosh,我已经创建了一个OpenStack环境,我想部署BOSH,之后我将在该虚拟机上为我们办公室的测试环境部署CloudFoundry。我将以下链接作为指南: 根据我的环境确认脚本后,我运行了脚本并出现以下错误: Error: Started deploying Creating VM for instance 'bosh/0' from stemcell '20e80643-76a0-4b28-8993-ceafd1ecfdaf'... Failed (00:00:04)
Error:
Started deploying
Creating VM for instance 'bosh/0' from stemcell '20e80643-76a0-4b28-8993-ceafd1ecfdaf'... Failed (00:00:04)
Failed deploying (00:00:04)
Stopping registry... Finished (00:00:00)
Command 'deploy' failed:
Deploying:
Creating instance 'bosh/0':
Creating VM:
Creating vm with stemcell cid '20e80643-76a0-4b28-8993-ceafd1ecfdaf':
CPI 'create_vm' method responded with error: CmdError{"type":"Unknown","message":"Expected([200, 202]) \u003c=\u003e Actual(404 Not Found)\nexcon.error.response\n :body =\u003e \"{\\\"itemNotFound\\\": {\\\"message\\\": \\\"The resource could not be found.\\\", \\\"code\\\": 404}}\"\n :headers =\u003e {\n \"Content-Length\" =\u003e \"78\"\n \"Content-Type\" =\u003e \"applic ation/json; charset=UTF-8\"\n \"Date\" =\u003e \"Mon, 01 Jun 2015 07:59:11 GMT\"\n \"X-Compute-Request-Id\" =\u003e \"r eq-88aa57cd-b29f-49c0-ba77-a75292451367\"\n }\n :local_address =\u003e \"10.110.82.11\"\n :local_port =\u003e 52722\n :reason_phrase = \u003e \"Not Found\"\n :remote_ip =\u003e \"10.110.82.11\"\n :status =\u003e 404\n","ok_to_retry":false}
(注:上述BOSH链接中提到的脚本指的是Stemcell 2950,但我已将其替换为最新版本,即2977)
另外,我对Linux、Openstack和cloud foundry有点陌生,因此如果我需要一些时间来理解并向您提供更多诊断细节,我深表歉意。
任何关于我做错了什么的想法。谢谢。您正在使用的OpenStack版本似乎不支持BOSH OpenStack CPI v28+,因此您可以尝试在BOSH cloud配置属性中启用Nova网络,使用较旧的Nova网络api
properties:
openstack: &openstack
use_nova_networking: true
有关详细信息,请参阅
在中发现/解决了类似错误