Ask Your Question
2

NeutronClientException when booting instances

asked 2013-12-09 15:46:00 -0500

jh gravatar image

I get errors when trying to create/boot instances. The instance goes into an ERROR state. If I log in to the hypervisor where the instance is trying to be created and look at the /var/log/nova/nova-compute.log log file, I see the trace that is attached below.

The main issue seems to come from a problem with Neutron, see NeutronClientException: 404 Not Found in the trace below.

I'm trying to figure out the best steps to debug this further. Please answer if you have any idea. More information can also be provided.

2013-12-09 15:22:56.745 31508 AUDIT nova.compute.manager [req-60c35c7a-dc7a-43ce-86a2-4948d8aaf304 ea08504867304a46a54adff2a5687128 1a470b4681b74b0182601efc257175ac] [instance: 4b585137-aa20-43f4-802d-d3a12013-12-09 15:23:00.787 31508 TRACE nova.compute.manager [instance: 4b585137-aa20-43f4-802d-d3a1f8ca2dba]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2063, in spawn
2013-12-09 15:23:00.787 31508 TRACE nova.compute.manager [instance: 4b585137-aa20-43f4-802d-d3a1f8ca2dba]     admin_pass=admin_password)
2013-12-09 15:23:00.787 31508 TRACE nova.compute.manager [instance: 4b585137-aa20-43f4-802d-d3a1f8ca2dba]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2441, in _create_image
2013-12-09 15:23:00.787 31508 TRACE nova.compute.manager [instance: 4b585137-aa20-43f4-802d-d3a1f8ca2dba]     net = netutils.get_injected_network_template(network_info)
2013-12-09 15:23:00.787 31508 TRACE nova.compute.manager [instance: 4b585137-aa20-43f4-802d-d3a1f8ca2dba]   File "/usr/lib/python2.7/dist-packages/nova/virt/netutils.py", line 74, in get_injected_network_template
2013-12-09 15:23:00.787 31508 TRACE nova.compute.manager [instance: 4b585137-aa20-43f4-802d-d3a1f8ca2dba]     if not (network_info and template):
2013-12-09 15:23:00.787 31508 TRACE nova.compute.manager [instance: 4b585137-aa20-43f4-802d-d3a1f8ca2dba]   File "/usr/lib/python2.7/dist-packages/nova/network/model.py", line 379, in __len__
2013-12-09 15:23:00.787 31508 TRACE nova.compute.manager [instance: 4b585137-aa20-43f4-802d-d3a1f8ca2dba]     return self._sync_wrapper(fn, *args, **kwargs)
2013-12-09 15:23:00.787 31508 TRACE nova.compute.manager [instance: 4b585137-aa20-43f4-802d-d3a1f8ca2dba]   File "/usr/lib/python2.7/dist-packages/nova/network/model.py", line 366, in _sync_wrapper
2013-12-09 15:23:00.787 31508 TRACE nova.compute.manager [instance: 4b585137-aa20-43f4-802d-d3a1f8ca2dba]     self.wait()
2013-12-09 15:23:00.787 31508 TRACE nova.compute.manager [instance: 4b585137-aa20-43f4-802d-d3a1f8ca2dba]   File "/usr/lib/python2.7/dist-packages/nova/network/model.py", line 398, in wait
2013-12-09 15:23:00.787 31508 TRACE nova.compute.manager [instance: 4b585137-aa20-43f4-802d-d3a1f8ca2dba]     self[:] = self._gt.wait()
2013-12-09 15:23:00.787 31508 TRACE nova.compute.manager [instance: 4b585137-aa20-43f4-802d-d3a1f8ca2dba]   File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 168, in wait
2013-12-09 15:23:00.787 31508 TRACE nova.compute.manager [instance: 4b585137-aa20-43f4-802d-d3a1f8ca2dba]     return self._exit_event.wait()
2013-12-09 15:23:00.787 31508 TRACE nova.compute.manager [instance: 4b585137-aa20-43f4-802d-d3a1f8ca2dba]   File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 120, in wait
2013-12-09 15:23:00.787 31508 TRACE nova.compute.manager [instance: 4b585137-aa20-43f4-802d-d3a1f8ca2dba]     current.throw(*self._exc)
2013-12-09 15:23:00.787 31508 TRACE nova.compute.manager [instance: 4b585137-aa20-43f4-802d-d3a1f8ca2dba]   File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 194, in main
2013-12-09 15:23:00.787 31508 TRACE nova.compute.manager [instance: 4b585137-aa20-43f4-802d-d3a1f8ca2dba]     result = function(*args, **kwargs)
2013-12-09 15:23:00.787 31508 TRACE nova.compute.manager [instance: 4b585137-aa20-43f4-802d-d3a1f8ca2dba]   File "/usr ...
(more)
edit retag flag offensive close delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-12-14 02:05:12 -0500

fetahi gravatar image

This maybe? https://answers.launchpad.net/neutron/+question/226821

edit flag offensive delete publish link more

Comments

Thanks, that link helped to resolve the issue. I added [securitygroup] firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver to /etc/neutron/plugins/openvswitch/ovs_quantum_plugin.ini on the nova-cloud-controller/0 node. That fixed the issue.

jh ( 2013-12-16 09:37:39 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2013-12-09 15:46:00 -0500

Seen: 366 times

Last updated: Dec 14 '13