net-id这个注意了没问题。网络agent也正常
最新创建的一个instance4报错为(其他都是这种报错)
故障
消息
Build of instance 613a14f6-6994-4d07-9af0-56837dd85911 aborted: Failure prepping block device.
编码
500
详情
File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2248, in _do_build_and_run_instance filter_properties) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2361, in _build_and_run_instance 'create.error', fault=e) File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 85, in __exit__ six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2332, in _build_and_run_instance block_device_mapping) as resources: File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__ return self.gen.next() File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2470, in _build_resources reason=msg)
root@compute:~# vi /etc/nova/nova-compute.conf
[libvirt]
virt_type=QEMU
还没有安装块存储服务cinder和对象存储服务swift。
参考网上报错说修改/etc/nova/nova.conf
vif_plugging_is_fatal = False
vif_plugging_timeout = 0
还是不行,,,这个坑好大。。。。目前无解。。。。。。。有大神指点一下,非常感谢!!!!! |