本帖最后由 yzc2006 于 2016-6-20 12:22 编辑
CentOS 7 kilo 版 创建实例时,运行不起来,IP是可以获得的。
查看compute node 的日志 有 NovaException: Unexpected vif_type=binding_failed 相关错误
/var/log/nova/nova-compute.log
2016-06-20 12:16:20.100 998 ERROR nova.compute.manager [req-2ed715a0-5e27-4923-a46d-1b814d8bd517 dace16ec97e944c58d69aadb97831068 a17701b6b91f4415bccac05269b4ebc9 - - -] [instance: 3635dd1b-120b-4565-8e00-dbb8e465cb08] Instance failed to spawn
2016-06-20 12:16:20.100 998 ERROR nova.compute.manager [instance: 3635dd1b-120b-4565-8e00-dbb8e465cb08] Traceback (most recent call last):
2016-06-20 12:16:20.100 998 ERROR nova.compute.manager [instance: 3635dd1b-120b-4565-8e00-dbb8e465cb08] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2473, in _build_resources
2016-06-20 12:16:20.100 998 ERROR nova.compute.manager [instance: 3635dd1b-120b-4565-8e00-dbb8e465cb08] yield resources
2016-06-20 12:16:20.100 998 ERROR nova.compute.manager [instance: 3635dd1b-120b-4565-8e00-dbb8e465cb08] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2345, in _build_and_run_instance
2016-06-20 12:16:20.100 998 ERROR nova.compute.manager [instance: 3635dd1b-120b-4565-8e00-dbb8e465cb08] block_device_info=block_device_info)
2016-06-20 12:16:20.100 998 ERROR nova.compute.manager [instance: 3635dd1b-120b-4565-8e00-dbb8e465cb08] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2388, in spawn
2016-06-20 12:16:20.100 998 ERROR nova.compute.manager [instance: 3635dd1b-120b-4565-8e00-dbb8e465cb08] write_to_disk=True)
2016-06-20 12:16:20.100 998 ERROR nova.compute.manager [instance: 3635dd1b-120b-4565-8e00-dbb8e465cb08] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4189, in _get_guest_xml
2016-06-20 12:16:20.100 998 ERROR nova.compute.manager [instance: 3635dd1b-120b-4565-8e00-dbb8e465cb08] context)
2016-06-20 12:16:20.100 998 ERROR nova.compute.manager [instance: 3635dd1b-120b-4565-8e00-dbb8e465cb08] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4060, in _get_guest_config
2016-06-20 12:16:20.100 998 ERROR nova.compute.manager [instance: 3635dd1b-120b-4565-8e00-dbb8e465cb08] flavor, virt_type)
2016-06-20 12:16:20.100 998 ERROR nova.compute.manager [instance: 3635dd1b-120b-4565-8e00-dbb8e465cb08] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/vif.py", line 374, in get_config
2016-06-20 12:16:20.100 998 ERROR nova.compute.manager [instance: 3635dd1b-120b-4565-8e00-dbb8e465cb08] _("Unexpected vif_type=%s") % vif_type)
2016-06-20 12:16:20.100 998 ERROR nova.compute.manager [instance: 3635dd1b-120b-4565-8e00-dbb8e465cb08] NovaException: Unexpected vif_type=binding_failed
2016-06-20 12:16:20.100 998 ERROR nova.compute.manager [instance: 3635dd1b-120b-4565-8e00-dbb8e465cb08]
|
|