troubleshoot Contrail





contrail-status
[lab@openstack ~]$ sudo contrail-status 
Pod              Service         Original Name                          State    Status      
                 redis           contrail-external-redis                running  Up 3 hours  
analytics        alarm-gen       contrail-analytics-alarm-gen           running  Up 3 hours  
analytics        api             contrail-analytics-api                 running  Up 3 hours  
analytics        collector       contrail-analytics-collector           running  Up 3 hours  
analytics        nodemgr         contrail-nodemgr                       running  Up 3 hours  
analytics        query-engine    contrail-analytics-query-engine        running  Up 3 hours  
analytics        snmp-collector  contrail-analytics-snmp-collector      running  Up 3 hours  
analytics        topology        contrail-analytics-topology            running  Up 3 hours  
config           api             contrail-controller-config-api         running  Up 3 hours  
config           device-manager  contrail-controller-config-devicemgr   running  Up 3 hours  
config           nodemgr         contrail-nodemgr                       running  Up 3 hours  
config           schema          contrail-controller-config-schema      running  Up 3 hours  
config           svc-monitor     contrail-controller-config-svcmonitor  running  Up 3 hours  
config-database  cassandra       contrail-external-cassandra            running  Up 3 hours  
config-database  nodemgr         contrail-nodemgr                       running  Up 3 hours  
config-database  rabbitmq        contrail-external-rabbitmq             running  Up 3 hours  
config-database  zookeeper       contrail-external-zookeeper            running  Up 3 hours  
control          control         contrail-controller-control-control    running  Up 3 hours  
control          dns             contrail-controller-control-dns        running  Up 3 hours  
control          named           contrail-controller-control-named      running  Up 3 hours  
control          nodemgr         contrail-nodemgr                       running  Up 3 hours  
database         cassandra       contrail-external-cassandra            running  Up 3 hours  
database         kafka           contrail-external-kafka                running  Up 3 hours  
database         nodemgr         contrail-nodemgr                       running  Up 3 hours  
database         zookeeper       contrail-external-zookeeper            running  Up 3 hours  
webui            job             contrail-controller-webui-job          running  Up 3 hours  
webui            web             contrail-controller-webui-web          running  Up 3 hours  

WARNING: container with original name 'contrail-external-redis' have Pod os Service empty. Pod: '' / Service: 'redis'. 
Please pass NODE_TYPE with pod name to container's env

== Contrail control ==
control: active
nodemgr: active
named: active
dns: active

== Contrail control ==
control: active
nodemgr: active
named: active
dns: active

== Contrail config-database ==
nodemgr: initializing (Disk for DB is too low. )
zookeeper: active
rabbitmq: active
cassandra: active

== Contrail database ==
kafka: active
nodemgr: active
zookeeper: active
cassandra: active

== Contrail analytics ==
snmp-collector: active
query-engine: active
api: active
alarm-gen: active
nodemgr: active
collector: active
topology: active

== Contrail webui ==
web: active
job: active

== Contrail config ==
svc-monitor: active
nodemgr: active
device-manager: active
api: active
schema: active

[lab@openstack ~]$

contrail_version
[root@openstack ~]# docker exec control_control_1 contrail-version
Package                                Version                        Build-ID | Repo | RPM Name
-------------------------------------- ------------------------------ ----------------------------------
contrail-control                       5.0-214.el7                    @contrail           
contrail-lib                           5.0-214.el7                    @contrail           
python-contrail                        5.0-214.el7                    @contrail           
contrail-utils                         5.0-214.el7                    @contrail           
contrail-dns                           5.0-214.el7                    @contrail           
contrail-setup                         5.0-214.el7                    @contrail           
[root@openstack ~]# 
[root@openstack ~]# 
[root@openstack ~]# docker exec analytics_nodemgr_1 contrail-version
Package                                Version                        Build-ID | Repo | RPM Name
-------------------------------------- ------------------------------ ----------------------------------
contrail-lib                           5.0-214.el7                    @contrail           
python-contrail                        5.0-214.el7                    @contrail           
contrail-utils                         5.0-214.el7                    @contrail           
contrail-setup                         5.0-214.el7                    @contrail           
contrail-nodemgr                       5.0-214.el7                    @contrail           
[root@openstack ~]# 

analytics_query-engine_1


config_svcmonitor_1