nova-docker fail to attach interface

asked 2015-11-25 01:05:14 -0500

thna gravatar image

updated 2015-11-25 01:06:32 -0500

Hello,

I'm trying to install nova-docker with openstack stable/kilo.

I have three machine (Controller(VM), Compute1(VM), Compute2(Physical Machine)). Then All VMs(controller, compute1) has ubuntu-14.04.2, kernel-3.16.0, and PM(compute2) has a ubuntu-14.04.3, kernel-3.19.0

I installed OpenStack to Compute1 and Compute2 with exactly with same procedures via DevStack.

problem is that compute1 working well for attaching interface (I mean "creating instance -> attaching additional interface"), but compute2 doesn't working(creation working but not work for attaching additional interface).

I used below command to attach interface

nova interface-attach --net-id=d69c4fbc-a664-4fb5-960c-4f97e83b4aac test-docker

below log is n-cpu log.

2015-11-25 15:52:22.769 ERROR oslo_messaging._drivers.common [req-9a89e627-a46f-4a0e-87c9-1fe6ca0c6ec6 admin demo] ['Traceback (most recent call last):\n', '  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply\n    executor_callback))\n', '  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch\n    executor_callback)\n', '  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch\n    result = func(ctxt, **new_args)\n', '  File "/opt/stack/nova/nova/compute/manager.py", line 6718, in attach_interface\n    port_id, requested_ip)\n', '  File "/opt/stack/nova/nova/compute/manager.py", line 453, in decorated_function\n    return function(self, context, *args, **kwargs)\n', '  File "/opt/stack/nova/nova/exception.py", line 88, in wrapped\n    payload)\n', '  File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 85, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', '  File "/opt/stack/nova/nova/exception.py", line 71, in wrapped\n    return f(self, context, *args, **kw)\n', '  File "/opt/stack/nova/nova/compute/manager.py", line 333, in decorated_function\n    LOG.warning(msg, e, instance_uuid=instance_uuid)\n', '  File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 85, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', '  File "/opt/stack/nova/nova/compute/manager.py", line 304, in decorated_function\n    return function(self, context, *args, **kwargs)\n', '  File "/opt/stack/nova/nova/compute/manager.py", line 361, in decorated_function\n    kwargs[\'instance\'], e, sys.exc_info())\n', '  File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 85, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', '  File "/opt/stack/nova/nova/compute/manager.py", line 349, in decorated_function\n    return function(self, context, *args, **kwargs)\n', '  File "/opt/stack/nova/nova/compute/manager.py", line 5102, in attach_interface\n    self.driver.attach_interface(instance, image_meta, network_info[0])\n', '  File "/opt/stack/nova/nova/virt/driver.py", line 466, in attach_interface\n    raise NotImplementedError()\n', 'NotImplementedError\n']

Please, give me any suggestion.

edit retag flag offensive close merge delete

Comments

sudo systemctl restart rabbitmq and retry could fix your problem.

Arvindr226 gravatar imageArvindr226 ( 2018-08-26 14:28:02 -0500 )edit