yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #73913
[Bug 1783079] [NEW] Unable to attach interface to a VM
Public bug reported:
Running with neutron network.
Unable to attach interface to a VM doing:
neutron port-create NETWORK --fixed-ip subnet_id=SUBNET
nova interface-attach --port-id <port-id> <vm-id>
===============================================
I got:
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.NotImplementedError'> (HTTP 500) (Request-ID: req-5c9ae62d-fad0-4cc9-3452345)
===============================================
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server [req-5c9ae62d-fad0-4cc9-9496-23452345 user 29d90dc8-2558-41c9-a997-2134123 - default default] Exception during message handling: NotImplementedError
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 163, in _process_incoming
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 220, in dispatch
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 190, in _do_dispatch
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/exception_wrapper.py", line 76, in wrapped
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server function_name, call_dict, binary)
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server self.force_reraise()
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/exception_wrapper.py", line 67, in wrapped
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server return f(self, context, *args, **kw)
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/compute/utils.py", line 1004, in decorated_function
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server return function(self, context, *args, **kwargs)
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 219, in decorated_function
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server kwargs['instance'], e, sys.exc_info())
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server self.force_reraise()
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 207, in decorated_function
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server return function(self, context, *args, **kwargs)
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 5768, in attach_interface
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server bind_host_id=bind_host_id, tag=tag)
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/network/api.py", line 297, in allocate_port_for_instance
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server raise NotImplementedError()
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server NotImplementedError
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1783079
Title:
Unable to attach interface to a VM
Status in OpenStack Compute (nova):
New
Bug description:
Running with neutron network.
Unable to attach interface to a VM doing:
neutron port-create NETWORK --fixed-ip subnet_id=SUBNET
nova interface-attach --port-id <port-id> <vm-id>
===============================================
I got:
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.NotImplementedError'> (HTTP 500) (Request-ID: req-5c9ae62d-fad0-4cc9-3452345)
===============================================
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server [req-5c9ae62d-fad0-4cc9-9496-23452345 user 29d90dc8-2558-41c9-a997-2134123 - default default] Exception during message handling: NotImplementedError
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 163, in _process_incoming
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 220, in dispatch
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 190, in _do_dispatch
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/exception_wrapper.py", line 76, in wrapped
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server function_name, call_dict, binary)
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server self.force_reraise()
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/exception_wrapper.py", line 67, in wrapped
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server return f(self, context, *args, **kw)
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/compute/utils.py", line 1004, in decorated_function
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server return function(self, context, *args, **kwargs)
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 219, in decorated_function
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server kwargs['instance'], e, sys.exc_info())
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server self.force_reraise()
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 207, in decorated_function
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server return function(self, context, *args, **kwargs)
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 5768, in attach_interface
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server bind_host_id=bind_host_id, tag=tag)
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/network/api.py", line 297, in allocate_port_for_instance
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server raise NotImplementedError()
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server NotImplementedError
2018-07-23 10:28:23.633 110509 ERROR oslo_messaging.rpc.server
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1783079/+subscriptions
Follow ups