Ask Your Question

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

asked 2014-09-01 01:57:38 -0500

Hari gravatar image

updated 2014-09-01 21:52:01 -0500

I have launched an instance with only one interface.When I tried to attach an additional interface to running instance I'm getting this error. Any idea?

I'm using Neutron network. Also Additional interface and existing interface are on different network. I'm using Icehouse on Ubuntu 14.

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

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

I got this error form 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/", 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/", 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/", 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/", 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/", 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/", 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/", line 133, in _dispatch_and_reply\n  
incoming.message))\n', '  File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/", line 176, in _dispatch\n    
return self._do_dispatch(endpoint, method, ctxt, args)\n', '  File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/", line 122, in _do_dispatch\n    
result = getattr(endpoint, method)(ctxt, **new_args)\n', '  File "/usr/lib/python2.7/dist-packages/nova/compute/", line 399, in decorated_function\n 
return function(self, context, *args, **kwargs)\n', '  File "/usr/lib/python2.7/dist-packages/nova/compute/", 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/", line 1410, in attach_interface\n    raise exception.InterfaceAttachFailed(instance)\n',
'InterfaceAttachFailed: <nova.objects.instance.Instance object at 0x7f0b40525850>\n']
edit retag flag offensive close merge delete


which version of OpenStack are you running?

fifieldt gravatar imagefifieldt ( 2014-09-01 21:09:19 -0500 )edit

Icehouse on Ubuntu 14

Hari gravatar imageHari ( 2014-09-01 21:53:12 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-09-02 04:33:25 -0500

sunjith gravatar image

This is a known confirmed bug: (

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-09-01 01:57:38 -0500

Seen: 1,756 times

Last updated: Sep 01 '14