0

我已经启动了一个只有一个接口的实例。当我尝试将一个额外的接口附加到正在运行的实例时,我收到了这个错误。任何想法?

我正在使用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']
4

0 回答 0