Errors when using interface_attach

asked 2015-06-08 02:23:51 -0500

nethawk gravatar image

I want to use interface_attach() to add a port to my vm in my program,but it returns failed. I checked the api.log of nova.There is a error in it: 2015-06-08 15:11:51.302 20960 TRACE nova.api.openstack.compute.contrib.attach_interfaces File "/usr/lib/python2.6/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 405, in _send 2015-06-08 15:11:51.302 20960 TRACE nova.api.openstack.compute.contrib.attach_interfaces raise result 2015-06-08 15:11:51.302 20960 TRACE nova.api.openstack.compute.contrib.attach_interfaces InterfaceAttachFailed_Remote: Failed to attach network adapter device to <nova.objects.instance.instance object="" at="" 0x384e310="">

I want to know how to deal with it. if I used the nova interface-attach command,it can success.

edit retag flag offensive close merge delete