错误:无法附加接口(HTTP 500)(请求ID:req-XXXX)

时间:2014-09-01 06:47:14

标签: openstack openstack-nova network-interface openstack-neutron icehouse

我已经启动了只有一个接口的实例。当我尝试将其他接口附加到正在运行的实例时,我收到此错误。有什么想法吗?

我正在使用Neutron网络。另外的接口和现有接口在不同的网络上。我在Icehouse上使用Ubuntu 14

nova interface-attach --net-id XXXX 
--fixed-ip 192.168.1.246 Test_a5

ERROR: Failed to attach interface (HTTP 500) (Request-ID: req-XXX)

我收到此错误表单nova-compute.log

ERROR nova.virt.libvirt.driver [req-XXXX XXXX] [instance: XXXX] 
attaching network adapter failed.



ERROR oslo.messaging.rpc.dispatcher [-] Exception during message handling: <nova.objects.instance.Instance object at 0x7f0b40525850>
TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply
TRACE oslo.messaging.rpc.dispatcher     incoming.message))
TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch
TRACE oslo.messaging.rpc.dispatcher     result = getattr(endpoint, method)(ctxt, **new_args)
TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 399, in decorated_function
TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 4356, in attach_interface
TRACE oslo.messaging.rpc.dispatcher     self.driver.attach_interface(instance, image_meta, network_info[0])
TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1410, in attach_interface
TRACE oslo.messaging.rpc.dispatcher     raise exception.InterfaceAttachFailed(instance)
TRACE oslo.messaging.rpc.dispatcher InterfaceAttachFailed: <nova.objects.instance.Instance object at 0x7f0b40525850>
TRACE oslo.messaging.rpc.dispatcher 
ERROR oslo.messaging._drivers.common [-] Returning exception <nova.objects.instance.Instance object at 0x7f0b40525850> to caller
ERROR oslo.messaging._drivers.common [-] ['Traceback (most 

`recent call last):\n', '  File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply\n  
incoming.message))\n', '  File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch\n    
return self._do_dispatch(endpoint, method, ctxt, args)\n', '  File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch\n    
result = getattr(endpoint, method)(ctxt, **new_args)\n', '  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 399, in decorated_function\n 
return function(self, context, *args, **kwargs)\n', '  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 4356, in attach_interface\n  
self.driver.attach_interface(instance, image_meta, network_info[0])\n',
'  File` "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1410, in attach_interface\n    raise exception.InterfaceAttachFailed(instance)\n',
'InterfaceAttachFailed: <nova.objects.instance.Instance object at 0x7f0b40525850>\n']

0 个答案:

没有答案