Home Archives Categories Tags

NovaException: Unexpected vif_type=binding_failed

发布时间: 更新时间: 总字数:402 阅读时间:1m 作者: 分享

NovaException: Unexpected vif_type=binding_failed解决方法

错误日志

2015-04-16 00:54:40.598 13806 DEBUG nova.compute.utils [req-c28b3dde-5ddd-4ab3-9db4-36d0a73617c2 207856e0e5ba4752bd3f2c45df4f585b fbd9586a32b844ff9d185447a119cd0e] [instance: 0f48843a-2f8e-429a-b505-3c60305c039f] Unexpected vif_type=binding_failed notify_about_instance_usage /usr/lib/python2.6/site-packages/nova/compute/utils.py:336 
2015-04-16 00:54:40.598 13806 TRACE nova.compute.utils [instance: 0f48843a-2f8e-429a-b505-3c60305c039f] Traceback (most recent call last): 
2015-04-16 00:54:40.598 13806 TRACE nova.compute.utils [instance: 0f48843a-2f8e-429a-b505-3c60305c039f]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1305, in _build_instance 
2015-04-16 00:54:40.598 13806 TRACE nova.compute.utils [instance: 0f48843a-2f8e-429a-b505-3c60305c039f]   set_access_ip=set_access_ip) 
2015-04-16 00:54:40.598 13806 TRACE nova.compute.utils [instance: 0f48843a-2f8e-429a-b505-3c60305c039f]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 393, in decorated_function 
2015-04-16 00:54:40.598 13806 TRACE nova.compute.utils [instance: 0f48843a-2f8e-429a-b505-3c60305c039f]    return function(self, context, *args, **kwargs) 
2015-04-16 00:54:40.598 13806 TRACE nova.compute.utils [instance: 0f48843a-2f8e-429a-b505-3c60305c039f]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1717, in _spawn 
2015-04-16 00:54:40.598 13806 TRACE nova.compute.utils [instance: 0f48843a-2f8e-429a-b505-3c60305c039f]    LOG.exception(_('Instance failed to spawn'), instance=instance) 
2015-04-16 00:54:40.598 13806 TRACE nova.compute.utils [instance: 0f48843a-2f8e-429a-b505-3c60305c039f]   File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__ 
2015-04-16 00:54:40.598 13806 TRACE nova.compute.utils [instance: 0f48843a-2f8e-429a-b505-3c60305c039f]    six.reraise(self.type_, self.value, self.tb) 
2015-04-16 00:54:40.598 13806 TRACE nova.compute.utils [instance: 0f48843a-2f8e-429a-b505-3c60305c039f]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1714, in _spawn 
2015-04-16 00:54:40.598 13806 TRACE nova.compute.utils [instance: 0f48843a-2f8e-429a-b505-3c60305c039f]   block_device_info) 
2015-04-16 00:54:40.598 13806 TRACE nova.compute.utils [instance: 0f48843a-2f8e-429a-b505-3c60305c039f]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2262, in spawn 
2015-04-16 00:54:40.598 13806 TRACE nova.compute.utils [instance: 0f48843a-2f8e-429a-b505-3c60305c039f]   write_to_disk=True) 
2015-04-16 00:54:40.598 13806 TRACE nova.compute.utils [instance: 0f48843a-2f8e-429a-b505-3c60305c039f]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3443, in to_xml 
2015-04-16 00:54:40.598 13806 TRACE nova.compute.utils [instance: 0f48843a-2f8e-429a-b505-3c60305c039f]    disk_info, rescue, block_device_info) 
2015-04-16 00:54:40.598 13806 TRACE nova.compute.utils [instance: 0f48843a-2f8e-429a-b505-3c60305c039f]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3259, in get_guest_config 
2015-04-16 00:54:40.598 13806 TRACE nova.compute.utils [instance: 0f48843a-2f8e-429a-b505-3c60305c039f]    flavor) 
2015-04-16 00:54:40.598 13806 TRACE nova.compute.utils [instance: 0f48843a-2f8e-429a-b505-3c60305c039f]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/vif.py", line 384, in get_config 
2015-04-16 00:54:40.598 13806 TRACE nova.compute.utils [instance: 0f48843a-2f8e-429a-b505-3c60305c039f]    _("Unexpected vif_type=%s") % vif_type) 
2015-04-16 00:54:40.598 13806 TRACE nova.compute.utils [instance: 0f48843a-2f8e-429a-b505-3c60305c039f] NovaException: Unexpected vif_type=binding_failed 
2015-04-16 00:54:40.598 13806 TRACE nova.compute.utils [instance: 0f48843a-2f8e-429a-b505-3c60305c039f] 
2015-04-16 00:54:40.598 13806 DEBUG nova.compute.manager [req-c28b3dde-5ddd-4ab3-9db4-36d0a73617c2 207856e0e5ba4752bd3f2c45df4f585b fbd9586a32b844ff9d185447a119cd0e] [instance: 0f48843a-2f8e-429a-b505-3c60305c039f] Clean up resource before rescheduling. _reschedule_or_error /usr/lib/python2.6/site-packages/nova/compute/manager.py:1384 
2015-04-16 00:54:40.599 13806 AUDIT nova.compute.manager [req-c28b3dde-5ddd-4ab3-9db4-36d0a73617c2 207856e0e5ba4752bd3f2c45df4f585b fbd9586a32b844ff9d185447a119cd0e] [instance: 0f48843a-2f8e-429a-b505-3c60305c039f] Terminating instance 
2015-04-16 00:54:40.601 13806 ERROR nova.virt.libvirt.driver [-] [instance: 0f48843a-2f8e-429a-b505-3c60305c039f] During wait destroy, instance disappeared. 
2015-04-16 00:54:40.628 13806 DEBUG nova.objects.instance [req-c28b3dde-5ddd-4ab3-9db4-36d0a73617c2 207856e0e5ba4752bd3f2c45df4f585b fbd9586a32b844ff9d185447a119cd0e] Lazy-loading `system_metadata' on Instance uuid 0f48843a-2f8e-429a-b505-3c60305c039f obj_load_attr /usr/lib/python2.6/site-packages/nova/objects/instance.py:519 
2015-04-16 00:54:40.658 13806 INFO nova.virt.libvirt.driver [req-c28b3dde-5ddd-4ab3-9db4-36d0a73617c2 207856e0e5ba4752bd3f2c45df4f585b fbd9586a32b844ff9d185447a119cd0e] [instance: 0f48843a-2f8e-429a-b505-3c60305c039f] Deleting instance files /var/lib/nova/instances/0f48843a-2f8e-429a-b505-3c60305c039f 

修复方法

vim /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini  bridge_mappings=physnet:br-物理网口
vim /etc/neutron/l3_agent.ini vim /etc/neutron/l3_agent.ini external_network_bridge = br-物理网口
最新评论
加载中...