nova-network sometimes crashes with bad state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Medium
|
Unassigned |
Bug Description
We've run into a problem with nova-network (both with bzr655 and bzr669) where nova-network crashes with the following traceback. Upstart unhelpfully restarts it, which results in it dying again. I've put in a workaround that traps this error and skips the entry, which seems to right the system, after it works through the rabbitmq backlog that has built up. (in our case, it was 90K events, only half of which have been processed over the last 90 minutes.)
(nova.root): TRACE: Traceback (most recent call last):
(nova.root): TRACE: File "/usr/bin/
(nova.root): TRACE: service.serve()
(nova.root): TRACE: File "/usr/lib/
(nova.root): TRACE: x.start()
(nova.root): TRACE: File "/usr/lib/
(nova.root): TRACE: self.manager.
(nova.root): TRACE: File "/usr/lib/
(nova.root): TRACE: super(VlanManager, self).init_host()
(nova.root): TRACE: File "/usr/lib/
(nova.root): TRACE: self._on_
(nova.root): TRACE: File "/usr/lib/
(nova.root): TRACE: self.driver.
(nova.root): TRACE: File "/usr/lib/
(nova.root): TRACE: f.write(
(nova.root): TRACE: File "/usr/lib/
(nova.root): TRACE: hosts.append(
(nova.root): TRACE: File "/usr/lib/
(nova.root): TRACE: return "%s,%s.%s,%s" % (instance_
(nova.root): TRACE: TypeError: 'NoneType' object is unsubscriptable
(nova.root): TRACE:
Changed in nova: | |
importance: | High → Undecided |
status: | Confirmed → Incomplete |
Changed in nova: | |
importance: | Undecided → Medium |
status: | Incomplete → Confirmed |
summary: |
- nova-network crashes with bad data + nova-network sometimes crashes with bad state |
Hi,
I am also seeing this error running an ubuntu image or the ttylinux image using FlatDHCP...
2011-02-15 16:49:52,956 ERROR nova.root [-] Exception during message handling pymodules/ python2. 6/nova/ rpc.py" , line 192, in receive context= ctxt, **node_args) pymodules/ python2. 6/nova/ network/ manager. py", line 418, in allocate_fixed_ip update_ dhcp(context, network_ref['id']) pymodules/ python2. 6/nova/ rpc.py" , li ne 192, in receive\n rval = node_func( context= ctxt, **node_args)\n', ' File "/usr/lib/ pymodules/ python2. 6/nova/ network/ manager. py", li ne 418, in allocate_fixed_ip\n self.driver. update_ dhcp(context, network_ ref[\'id\ '])\n', "TypeError: 'NoneType' object is unsubscriptab le\n"]
550 (nova.root): TRACE: Traceback (most recent call last):
551 (nova.root): TRACE: File "/usr/lib/
552 (nova.root): TRACE: rval = node_func(
553 (nova.root): TRACE: File "/usr/lib/
554 (nova.root): TRACE: self.driver.
555 (nova.root): TRACE: TypeError: 'NoneType' object is unsubscriptable
556 (nova.root): TRACE:
557 2011-02-15 16:49:52,957 ERROR nova.rpc [-] Returning exception 'NoneType' object is unsubscriptable to caller
558 2011-02-15 16:49:52,957 ERROR nova.rpc [-] ['Traceback (most recent call last):\n', ' File "/usr/lib/