Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Need to capture VPC related information in sosreports #96

Open
scragraham opened this issue Feb 5, 2016 · 1 comment
Open

Need to capture VPC related information in sosreports #96

scragraham opened this issue Feb 5, 2016 · 1 comment

Comments

@scragraham
Copy link

Currently anything related to midonet is not captured in our sosreports. Need to investigate what commands need to be executed on the CLC in order to gather appropriate troubleshooting information.

@teejalon
Copy link

teejalon commented Feb 7, 2016

Hi
Here is a list of things I would like to see in sosreport:
What routers we have
[root@clc]# midonet-cli -e 'router list'
To see euca root routers routes:
[root@clc ~]# midonet-cli -e "router midonet-cli -e 'router list' | grep eucart | cut -d " " -f2 route list"

Generally how many servers we have in modo setup
[root@clc ~]# midonet-cli -e 'host list'

To see tunelzone(s) and its members
[root@clc ~]# midonet-cli -e tunnel-zone midonet-cli -e 'tunnel-zone list' | grep euca | cut -d " " -f 2 list member

To see all out subnets
[root@clc ~]# midonet-cli -e 'bridge list'

for midogw servers or hosts in midonet you want to list bindings to see that the uplink interfaces are ok
So loop through the hosts and list bindingd
[root@clc ~]# for i in $(midonet-cli -e 'host list '| cut -d " " -f2);do echo $i;midonet-cli -e host $i list binding;done

for multi midogw setup list statefull port groups
[root@clc ~]# midonet-cli -e 'port-group list'

all seurity groups chains
[root@clc ~]# midonet-cli -e 'chain list'

list bgp routes do a double loop and think about should one do this in python :?
[root@clc ~]# for i in $(midonet-cli -e 'list port'| cut -d " " -f2);do for j in $(midonet-cli -e "port $i list bgp");do midon et-cli -e "port $i bgp $j list route";done;done

on CLC find out the bgp setup
[root@clc ~]# for i in $(midonet-cli -e 'list port'| cut -d " " -f2);do midonet-cli -e port $i list bgp;done

on midoGW servers you want to see BGP status
[root@midogw ~]# vtysh -c 'show ip bgp summary'
[root@midogw ~]# vtysh -c 'show ip bgp'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants