worlddump: include Open vSwitch info
This may be useful when debugging neutron gate failures. Change-Id: Iea3589456d2b05d233ba88523a5bd4ac114a0c86
This commit is contained in:
parent
13d255d90d
commit
c1b7cb1117
@ -110,6 +110,20 @@ def network_dump():
|
|||||||
_dump_cmd("ip route")
|
_dump_cmd("ip route")
|
||||||
|
|
||||||
|
|
||||||
|
def ovs_dump():
|
||||||
|
_header("Open vSwitch Dump")
|
||||||
|
|
||||||
|
# NOTE(ihrachys): worlddump is used outside of devstack context (f.e. in
|
||||||
|
# grenade), so there is no single place to determine the bridge names from.
|
||||||
|
# Hardcode for now.
|
||||||
|
bridges = ('br-int', 'br-tun', 'br-ex')
|
||||||
|
_dump_cmd("sudo ovs-vsctl show")
|
||||||
|
for bridge in bridges:
|
||||||
|
_dump_cmd("sudo ovs-ofctl show %s" % bridge)
|
||||||
|
for bridge in bridges:
|
||||||
|
_dump_cmd("sudo ovs-ofctl dump-flows %s" % bridge)
|
||||||
|
|
||||||
|
|
||||||
def process_list():
|
def process_list():
|
||||||
_header("Process Listing")
|
_header("Process Listing")
|
||||||
_dump_cmd("ps axo "
|
_dump_cmd("ps axo "
|
||||||
@ -147,6 +161,7 @@ def main():
|
|||||||
disk_space()
|
disk_space()
|
||||||
process_list()
|
process_list()
|
||||||
network_dump()
|
network_dump()
|
||||||
|
ovs_dump()
|
||||||
iptables_dump()
|
iptables_dump()
|
||||||
ebtables_dump()
|
ebtables_dump()
|
||||||
compute_consoles()
|
compute_consoles()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user