yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #60573
[Bug 1642579] Re: use neutron for nova-compute but compute use nova-network rpc api
[Expired for OpenStack Compute (nova) because there has been no activity
for 60 days.]
** Changed in: nova
Status: Incomplete => Expired
--
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/1642579
Title:
use neutron for nova-compute but compute use nova-network rpc api
Status in OpenStack Compute (nova):
Expired
Bug description:
my nova.conf like this:
network_api_class=nova.network.neutronv2.api.API
use_neutron=True
when I create a vm because nova-compute not found the glance image then a exceptin occure:
2016-11-14 11:32:48.729 37828 Traceback (most recent call last):
2016-11-14 11:32:48.729 37828 File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 358, in _cleanup_allocated_networks
2016-11-14 11:32:48.729 37828 context, instance, requested_networks=requested_networks)
2016-11-14 11:32:48.729 37828 File "/usr/lib/python2.7/site-packages/nova/network/api.py", line 49, in wrapped
2016-11-14 11:32:48.729 37828 return func(self, context, *args, **kwargs)
2016-11-14 11:32:48.729 37828 File "/usr/lib/python2.7/site-packages/nova/network/api.py", line 299, in deallocate_for_instance
2016-11-14 11:32:48.729 37828 requested_networks=requested_networks)
2016-11-14 11:32:48.729 37828 File "/usr/lib/python2.7/site-packages/nova/network/rpcapi.py", line 183, in deallocate_for_instance
2016-11-14 11:32:48.729 37828 return cctxt.call(ctxt, 'deallocate_for_instance', **kwargs)
2016-11-14 11:32:48.729 37828 File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 413, in call
2016-11-14 11:32:48.729 37828 return self.prepare().call(ctxt, method, **kwargs)
2016-11-14 11:32:48.729 37828 File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 158, in call
2016-11-14 11:32:48.729 37828 retry=self.retry)
2016-11-14 11:32:48.729 37828 File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 91, in _send
2016-11-14 11:32:48.729 37828 timeout=timeout, retry=retry)
2016-11-14 11:32:48.729 37828 File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 512, in send
2016-11-14 11:32:48.729 37828 retry=retry)
2016-11-14 11:32:48.729 37828 File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 501, in _send
2016-11-14 11:32:48.729 37828 result = self._waiter.wait(msg_id, timeout)
2016-11-14 11:32:48.729 37828 File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 379, in wait
2016-11-14 11:32:48.729 37828 message = self.waiters.get(msg_id, timeout=timeout)
2016-11-14 11:32:48.729 37828 File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 277, in get
2016-11-14 11:32:48.729 37828 'to message ID %s' % msg_id)
2016-11-14 11:32:48.729 37828 MessagingTimeout: Timed out waiting for a reply to message ID e3b4c7fb434b48908ac4f0ef49fb77f1
I use the neutron for netowrk but the error log show that nova-conductor use nova-network rpc api
for example the code:File "/usr/lib/python2.7/site-packages/nova/network/api.py", line 299, in deallocate_for_instance
in fact it should use /usr/lib/python2.7/site-packages/nova/network/neutronv2.api.py
why? I guess maybe I create a error instance then the bug occure
if I create a active instance the bug will not be occure
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1642579/+subscriptions
References