openvswitch-agent down when ovs-vsctl list-port fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Gary Kotton |
Bug Description
Exception handling for command execution failure looks missing especially for rpc support.
Agent looks easily down.
2012-08-17 04:59:43 DEBUG [quantum.
Command: ['sudo', 'ovs-vsctl', '--timeout=2', 'list-ports', 'br-int']
Exit code: 142
Stdout: ''
Stderr: ''
Traceback (most recent call last):
File "/opt/stack/
main()
File "/opt/stack/
enable_
File "/opt/stack/
self.rpc_loop()
File "/opt/stack/
port_info = self.update_
File "/opt/stack/
ports = self.int_
File "/opt/stack/
port_names = self.get_
File "/opt/stack/
res = self.run_
File "/opt/stack/
return utils.execute(
File "/opt/stack/
raise RuntimeError(m)
RuntimeError:
Command: ['sudo', 'ovs-vsctl', '--timeout=2', 'list-ports', 'br-int']
Exit code: 142
Stdout: ''
Stderr: ''
DEBUG:amqplib:
2012-08-17 04:59:43 DEBUG [amqplib] Closed channel #1
Changed in quantum: | |
status: | New → Confirmed |
Changed in quantum: | |
status: | Fix Committed → Fix Released |
Changed in quantum: | |
milestone: | folsom-rc1 → 2012.2 |
Can you please provide details on how to reproduce the problem.
Thanks
Gary