<p dir="ltr">Are you able to add any other options like volume or change existing port's network, to this vm using the same account. I *think* account is not fully equipped to do so in terms of aaa. Or the vm is not referred correctly, did you check the uuid is correct? Thanks </p>
<div class="gmail_extra"><br><div class="gmail_quote">On Nov 18, 2016 11:25 PM, "Łukasz Chrustek" <<a href="mailto:lukasz@chrustek.net">lukasz@chrustek.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I have following problem:<br>
<br>
root@nova1:~# nova interface-attach --net-id 4c046e0c-e44d-4ad4-9e81-<wbr>a976751cf107 133d8a17-5659-49e5-9a11-<wbr>98f5c2e39a50<br>
ERROR (ClientException): Failed to attach interface (HTTP 500) (Request-ID: req-07e035c3-28ad-45e5-9e0b-<wbr>0429612843fb)<br>
<br>
and in log on compute node:<br>
<br>
2016-11-18 19:08:00.376 26577 ERROR glanceclient.common.http [req-ecfa4af9-caf0-453d-bead-<wbr>014e7c3deacd ] Request returned failure status 404.<br>
2016-11-18 19:08:00.377 26577 WARNING nova.compute.utils [req-ecfa4af9-caf0-453d-bead-<wbr>014e7c3deacd None] [instance: 133d8a17-5659-49e5-9a11-<wbr>98f5c2e39a50] Can't access image : Image could not be found.<br>
2016-11-18 19:08:01.674 26577 ERROR nova.virt.libvirt.driver [req-ecfa4af9-caf0-453d-bead-<wbr>014e7c3deacd None] [instance: 133d8a17-5659-49e5-9a11-<wbr>98f5c2e39a50] attaching network adapter failed.<br>
2016-11-18 19:08:02.303 26577 INFO nova.scheduler.client.report [req-ecfa4af9-caf0-453d-bead-<wbr>014e7c3deacd None] Compute_service record updated for ('cp9', '<a href="http://cp9.cloud.eco.atman.pl" rel="noreferrer" target="_blank">cp9.cloud.eco.atman.pl</a>')<br>
2016-11-18 19:08:02.320 26577 ERROR oslo.messaging.rpc.dispatcher [req-ecfa4af9-caf0-453d-bead-<wbr>014e7c3deacd ] Exception during message handling: Failed to attach network adapter device to 133d8a17-5659-49e5-9a11-<wbr>98f5c2e39a50<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-<wbr>packages/oslo/messaging/rpc/<wbr>dispatcher.py", line 134, in _dispatch_and_reply<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher incoming.message))<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-<wbr>packages/oslo/messaging/rpc/<wbr>dispatcher.py", line 177, in _dispatch<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-<wbr>packages/oslo/messaging/rpc/<wbr>dispatcher.py", line 123, in _do_dispatch<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args)<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-<wbr>packages/nova/compute/manager.<wbr>py", line 445, in decorated_function<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher return function(self, context, *args, **kwargs)<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-<wbr>packages/nova/exception.py", line 88, in wrapped<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher payload)<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-<wbr>packages/nova/openstack/<wbr>common/excutils.py", line 82, in __exit__<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-<wbr>packages/nova/exception.py", line 71, in wrapped<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher return f(self, context, *args, **kw)<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-<wbr>packages/nova/compute/manager.<wbr>py", line 325, in decorated_function<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher LOG.warning(msg, e, instance_uuid=instance_uuid)<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-<wbr>packages/nova/openstack/<wbr>common/excutils.py", line 82, in __exit__<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-<wbr>packages/nova/compute/manager.<wbr>py", line 297, in decorated_function<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher return function(self, context, *args, **kwargs)<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-<wbr>packages/nova/compute/manager.<wbr>py", line 353, in decorated_function<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher kwargs['instance'], e, sys.exc_info())<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-<wbr>packages/nova/openstack/<wbr>common/excutils.py", line 82, in __exit__<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-<wbr>packages/nova/compute/manager.<wbr>py", line 341, in decorated_function<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher return function(self, context, *args, **kwargs)<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-<wbr>packages/nova/compute/manager.<wbr>py", line 4893, in attach_interface<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher self.driver.attach_interface(<wbr>instance, image_meta, network_info[0])<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-<wbr>packages/nova/virt/libvirt/<wbr>driver.py", line 1642, in attach_interface<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher instance_uuid=instance['uuid']<wbr>)<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher InterfaceAttachFailed: Failed to attach network adapter device to 133d8a17-5659-49e5-9a11-<wbr>98f5c2e39a50<br>
2016-11-18 19:08:02.320 26577 TRACE oslo.messaging.rpc.dispatcher<br>
2016-11-18 19:08:02.323 26577 ERROR oslo.messaging._drivers.common [req-ecfa4af9-caf0-453d-bead-<wbr>014e7c3deacd ] Returning exception Failed to attach network adapter device to 133d8a17-5659-49e5-9a11-<wbr>98f5c2e39a50 to caller<br>
2016-11-18 19:08:02.323 26577 ERROR oslo.messaging._drivers.common [req-ecfa4af9-caf0-453d-bead-<wbr>014e7c3deacd ] ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/dist-<wbr>packages/oslo/messaging/rpc/<wbr>dispatcher.py", line 134, in _dispatch_and_reply\n incoming.message))\n', ' File "/usr/lib/python2.7/dist-<wbr>packages/oslo/messaging/rpc/<wbr>dispatcher.py", line 177, in _dispatch\n return self._do_dispatch(endpoint, method, ctxt, args)\n', ' File "/usr/lib/python2.7/dist-<wbr>packages/oslo/messaging/rpc/<wbr>dispatcher.py", line 123, in _do_dispatch\n result = getattr(endpoint, method)(ctxt, **new_args)\n', ' File "/usr/lib/python2.7/dist-<wbr>packages/nova/compute/manager.<wbr>py", line 445, in decorated_function\n return function(self, context, *args, **kwargs)\n', ' File "/usr/lib/python2.7/dist-<wbr>packages/nova/exception.py", line 88, in wrapped\n payload)\n', ' File "/usr/lib/python2.7/dist-<wbr>packages/nova/openstack/<wbr>common/excutils.py", line 82, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.7/dist-<wbr>packages/nova/exception.py", line 71, in wrapped\n return f(self, context, *args, **kw)\n', ' File "/usr/lib/python2.7/dist-<wbr>packages/nova/compute/manager.<wbr>py", line 325, in decorated_function\n LOG.warning(msg, e, instance_uuid=instance_uuid)\<wbr>n', ' File "/usr/lib/python2.7/dist-<wbr>packages/nova/openstack/<wbr>common/excutils.py", line 82, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.7/dist-<wbr>packages/nova/compute/manager.<wbr>py", line 297, in decorated_function\n return function(self, context, *args, **kwargs)\n', ' File "/usr/lib/python2.7/dist-<wbr>packages/nova/compute/manager.<wbr>py", line 353, in decorated_function\n kwargs[\'instance\'], e, sys.exc_info())\n', ' File "/usr/lib/python2.7/dist-<wbr>packages/nova/openstack/<wbr>common/excutils.py", line 82, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.7/dist-<wbr>packages/nova/compute/manager.<wbr>py", line 341, in decorated_function\n return function(self, context, *args, **kwargs)\n', ' File "/usr/lib/python2.7/dist-<wbr>packages/nova/compute/manager.<wbr>py", line 4893, in attach_interface\n self.driver.attach_interface(<wbr>instance, image_meta, network_info[0])\n', ' File "/usr/lib/python2.7/dist-<wbr>packages/nova/virt/libvirt/<wbr>driver.py", line 1642, in attach_interface\n instance_uuid=instance[\'uuid\<wbr>'])\n', 'InterfaceAttachFailed: Failed to attach network adapter device to 133d8a17-5659-49e5-9a11-<wbr>98f5c2e39a50\n']<br>
<br>
Can You advice, what to do to add this port do instance ? It is very<br>
important instance, and all I can is see how it is starting on<br>
console, without Ethernet controllers inside.<br>
<br>
Please give some advice.<br>
<br>
Regards<br>
Luk<br>
<br>
<br>
______________________________<wbr>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
</blockquote></div></div>