Troubleshoot vRouter





contrail-status
[lab@openstack ~]$ ssh lab@compute1
The authenticity of host 'compute1 (172.25.11.1)' can't be established.
ECDSA key fingerprint is SHA256:AoxF1ZGUinsyXi+crqGv7cYcibQKjIN/ijB1mVfsDlA.
ECDSA key fingerprint is MD5:1d:06:09:a9:a4:52:e2:b3:74:c0:25:51:19:eb:66:ee.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'compute1,172.25.11.1' (ECDSA) to the list of known hosts.
lab@compute1's password: 
[lab@compute1 ~]$ 


[lab@compute1 ~]$ sudo contrail-status
Pod      Service  Original Name           State    Status      
vrouter  agent    contrail-vrouter-agent  running  Up 4 hours  
vrouter  nodemgr  contrail-nodemgr        running  Up 4 hours  

vrouter kernel module is PRESENT
== Contrail vrouter ==
nodemgr: active
agent: active



vrouter config file
[lab@compute1 ~]$ sudo docker exec -it vrouter_vrouter-agent_1 cat /etc/contrail/contrail-vrouter-agent.conf |egrep -v "^#|^$"| grep -v "^[[:space:]]*$"

[lab@compute1 ~]$ sudo docker exec -it vrouter_vrouter-agent_1 cat /etc/contrail/contrail-vrouter-agent.conf | grep -v "^[[:space:]]*$"
[CONTROL-NODE]
servers=172.25.11.3:5269
[DEFAULT]
collectors=172.25.11.3:8086
log_file=/var/log/contrail/contrail-vrouter-agent.log
log_level=SYS_NOTICE
log_local=1
xmpp_dns_auth_enable=False
xmpp_auth_enable=False
physical_interface_mac = 00:50:56:a9:63:1f
tsn_servers = []
[SANDESH]
introspect_ssl_enable=False
sandesh_ssl_enable=False
[NETWORKS]
control_network_ip=172.25.11.1
[DNS]
servers=172.25.11.3:53
[METADATA]
metadata_proxy_secret=contrail
[VIRTUAL-HOST-INTERFACE]
name=vhost0
ip=172.25.11.1/24
physical_interface=ens160
gateway=172.25.11.254
compute_node_address=172.25.11.1
[SERVICE-INSTANCE]
netns_command=/usr/bin/opencontrail-vrouter-netns
docker_command=/usr/bin/opencontrail-vrouter-docker
[HYPERVISOR]
type = kvm
[FLOWS]
fabric_snat_hash_table_size = 4096
[SESSION_DESTINATION]
slo_destination = collector
sample_destination = collector
[lab@compute1 ~]$