neutron-openvswitch-agent - error on startup - uncaught exception causes exit of eventloop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
ryu (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
I've seen this a few times during setup of the n-ovs-agent process on network nodes (n-gateway) in juju deployments on OpenStack Newton B3+ on Xenial:
2016-09-12 14:41:45.565 20629 WARNING stevedore.named [req-3762dc49-
2016-09-12 14:41:56.447 20629 ERROR ryu.lib.hub [req-5c9cbccf-
File "/usr/lib/
func(*args, **kwargs)
File "/usr/lib/
ovs_
File "/usr/lib/
agent.
File "/usr/lib/
return f(*args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
return self.gen.next()
File "/usr/lib/
pm.start()
File "/usr/lib/
self.
File "/usr/lib/
while not self.is_active():
File "/usr/lib/
self.pid, self.cmd_
File "/usr/lib/
run_
File "/usr/lib/
pid = find_child_
File "/usr/lib/
log_
File "/usr/lib/
_stdout, _stderr = obj.communicate
File "/usr/lib/
return self._communica
File "/usr/lib/
self.wait()
File "/usr/lib/
eventlet.
File "/usr/lib/
hub.switch()
File "/usr/lib/
return self.greenlet.
Timeout: 5 seconds
Something is spinning - not sure what; the agent is non-responsive and needs a restart to get things working.
Changed in ryu (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in neutron (Ubuntu): | |
status: | New → Invalid |
Something todo with the initial spawn of the ovsdb-monitor process:
2016-09-12 20:18:45.506 20299 DEBUG neutron. agent.linux. async_process [req-5d68e705- ef4a-449b- 8150-e465fa460d bc - - - - -] Launching async process [ovsdb-client monitor Interface name,ofport, external_ ids --format=json]. start /usr/lib/ python2. 7/dist- packages/ neutron/ agent/linux/ async_process. py:109 agent.linux. utils [req-5d68e705- ef4a-449b- 8150-e465fa460d bc - - - - -] Running command: ['sudo', '/usr/bin/ neutron- rootwrap' , '/etc/neutron/ rootwrap. conf', 'ovsdb-client', 'monitor', 'Interface', 'name,ofport, external_ ids', '--format=json'] create_process /usr/lib/ python2. 7/dist- packages/ neutron/ agent/linux/ utils.py: 83 agent.linux. utils [req-5d68e705- ef4a-449b- 8150-e465fa460d bc - - - - -] Running command: ['ps', '--ppid', '20527', '-o', 'pid='] create_process /usr/lib/ python2. 7/dist- packages/ neutron/ agent/linux/ utils.py: 83 agent.linux. utils [req-5d68e705- ef4a-449b- 8150-e465fa460d bc - - - - -] Exit code: 0 execute /usr/lib/ python2. 7/dist- packages/ neutron/ agent/linux/ utils.py: 140 agent.linux. utils [req-5d68e705- ef4a-449b- 8150-e465fa460d bc - - - - -] Running command: ['ps', '--ppid', '20529', '-o', 'pid='] create_process /usr/lib/ python2. 7/dist- packages/ neutron/ agent/linux/ utils.py: 83 agent.linux. utils [req-5d68e705- ef4a-449b- 8150-e465fa460d bc - - - - -] Running command: ['ps', '--ppid', '20527', '-o', 'pid='] create_process /usr/lib/ python2. 7/dist- packages/ neutron/ agent/linux/ utils.py: 83 agent.linux. utils [req-5d68e705- ef4a-449b- 8150-e465fa460d bc - - - - -] Exit code: 0 execute /usr/lib/ python2. 7/dist- packages/ neutron/ agent/linux/ utils.py: 140 agent.linux. utils [req-5d68e705- ef4a-449b- 8150-e465fa460d bc - - - - -] Running command: ['ps', '--ppid', '20529', '-o', 'pid='] create_process /usr/lib/ python2. 7/dist- packages/ neutron/ agent/linux/ utils.py: 83 agent.linux. utils [req-5d68e705- ef4a-449b- 8150-e465fa460d bc - - - - -] Running command: ['ps', '--ppid', '20527', '-o', 'pid='] create_process /usr/lib/ python2. 7/dist- packages/ neutron/ agent/linux/ utils.py: 83 agent.linux. utils [req-5d68e705- ef4a-449b- 8150-e465fa460d bc - - - - -] Exit code: 0 execute /usr/lib/ python2. 7/dist- packages/ neutron/ agent/linux/ utils.py: 140 agent.linux. utils [req-5d68e705- ef4a-449b- 8150-e465fa460d bc - - - - -] Running command: ['ps', '--ppid', '20529', '-o', 'pid='] create_process /usr/lib/ python2. 7/dist- packages/ neutron/ agent/linux/ utils.py: 83 agent.linux. utils [req-5d68e705- ef4a-449b- 8150-e465fa460d bc - - - - -] Running command: ['ps', '--ppid', '20527', '-o', 'pid='] create_process /usr/lib/ python2. 7/dist- packages/ neutron/ agent/linux/ utils.py: 83 agent.linux. utils [req-5d68e705- ef4a-449b- 8150-e465f. ..
2016-09-12 20:18:45.508 20299 DEBUG neutron.
2016-09-12 20:18:45.602 20299 DEBUG neutron.
2016-09-12 20:18:45.922 20299 DEBUG neutron.
2016-09-12 20:18:45.935 20299 DEBUG neutron.
2016-09-12 20:18:46.247 20299 DEBUG neutron.
2016-09-12 20:18:46.558 20299 DEBUG neutron.
2016-09-12 20:18:46.563 20299 DEBUG neutron.
2016-09-12 20:18:46.835 20299 DEBUG neutron.
2016-09-12 20:18:47.183 20299 DEBUG neutron.
2016-09-12 20:18:47.191 20299 DEBUG neutron.
2016-09-12 20:18:47.539 20299 DEBUG neutron.
2016-09-12 20:18:47.842 20299 DEBUG neutron.