Example output from 5.0, when kafka is stopped:
[root@a1s19 /]# curl -X GET -H "X-Auth-Token: e792b56948eb42f7bea3e863d4e297cb" -H "content-type: application/json" http://10.84.5.19:8081/analytics/uves/virtual-networks | python -m json.tool
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
100 2 100 2 0 0 606 0 --:--:-- --:--:-- --:--:-- 666
[]
[root@a1s19 /]# contrail-status
Pod Service Original Name State Status
analytics alarm-gen contrail-analytics-alarm-gen running Up About a minute
analytics api contrail-analytics-api running Up 6 hours
analytics collector contrail-analytics-collector running Up 6 hours
analytics nodemgr contrail-nodemgr running Up 6 hours
analytics query-engine contrail-analytics-query-engine running Up 6 hours
config api contrail-controller-config-api running Up 6 hours
config cassandra contrail-external-cassandra running Up 6 hours
config device-manager contrail-controller-config-devicemgr running Up 6 hours
config nodemgr contrail-nodemgr running Up 6 hours
config rabbitmq contrail-external-rabbitmq running Up 6 hours
config schema contrail-controller-config-schema running Up 6 hours
config svc-monitor contrail-controller-config-svcmonitor running Up 6 hours
config zookeeper contrail-external-zookeeper running Up 6 hours
control control contrail-controller-control-control running Up 6 hours
control dns contrail-controller-control-dns running Up 6 hours
control named contrail-controller-control-named running Up 6 hours
control nodemgr contrail-nodemgr running Up 6 hours
database cassandra contrail-external-cassandra running Up 6 hours
database kafka contrail-external-kafka exited Exited (143) 23 minutes ago
database nodemgr contrail-nodemgr running Up 6 hours
database zookeeper contrail-external-zookeeper running Up 6 hours
vrouter agent contrail-vrouter-agent running Up 6 hours
vrouter nodemgr contrail-nodemgr running Up 6 hours
webui job contrail-controller-webui-job running Up 6 hours
webui web contrail-controller-webui-web running Up 6 hours
vrouter kernel module is PRESENT
== Contrail control ==
control: active
nodemgr: timeout
named: active
dns: active
== Contrail database ==
kafka: inactive
nodemgr: active
zookeeper: active
cassandra: active
== Contrail analytics ==
snmp-collector: inactive
query-engine: active
api: initializing (UvePartitions:UVE-Aggregation[Partitions:0] connection down)
alarm-gen: active
nodemgr: active
collector: initializing (KafkaPub:10.84.5.19:9092 connection down)
topology: inactive
[root@a1s19 /]# curl -X GET -H "X-Auth-Token: e792b56948eb42f7bea3e863d4e297cb" -H "content-type: application/json" http://10.84.5.19:8081/analytics/uves/virtual-networks | python -m json.tool
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
100 2 100 2 0 0 480 0 --:--:-- --:--:-- --:--:-- 666
[]
[root@a1s19 /]# docker ps | grep contrail-api
[root@a1s19 /]# docker ps | grep api 6b70d30b55e1 ci-repo.englab.juniper.net:5000/contrail-analytics-api:ocata-5.0-35 "/entrypoint.sh /u..." 3 weeks ago Up 6 hours analytics_api_1
35d8134b2997 ci-repo.englab.juniper.net:5000/contrail-controller-config-api:ocata-5.0-35 "/entrypoint.sh /u..." 3 weeks ago Up 6 hours config_api_1
Example output from 5.0, when kafka is stopped: 7bea3e863d4e297 cb" -H "content-type: application/json" http:// 10.84.5. 19:8081/ analytics/ uves/virtual- networks | python -m json.tool
Dload Upload Total Spent Left Speed analytics- alarm-gen running Up About a minute analytics- api running Up 6 hours analytics- collector running Up 6 hours analytics- query-engine running Up 6 hours controller- config- api running Up 6 hours external- cassandra running Up 6 hours controller- config- devicemgr running Up 6 hours external- rabbitmq running Up 6 hours controller- config- schema running Up 6 hours controller- config- svcmonitor running Up 6 hours external- zookeeper running Up 6 hours controller- control- control running Up 6 hours controller- control- dns running Up 6 hours controller- control- named running Up 6 hours external- cassandra running Up 6 hours external- kafka exited Exited (143) 23 minutes ago external- zookeeper running Up 6 hours vrouter- agent running Up 6 hours controller- webui-job running Up 6 hours controller- webui-web running Up 6 hours
[root@a1s19 /]# curl -X GET -H "X-Auth-Token: e792b56948eb42f
% Total % Received % Xferd Average Speed Time Time Time Current
100 2 100 2 0 0 606 0 --:--:-- --:--:-- --:--:-- 666
[]
[root@a1s19 /]# contrail-status
Pod Service Original Name State Status
analytics alarm-gen contrail-
analytics api contrail-
analytics collector contrail-
analytics nodemgr contrail-nodemgr running Up 6 hours
analytics query-engine contrail-
config api contrail-
config cassandra contrail-
config device-manager contrail-
config nodemgr contrail-nodemgr running Up 6 hours
config rabbitmq contrail-
config schema contrail-
config svc-monitor contrail-
config zookeeper contrail-
control control contrail-
control dns contrail-
control named contrail-
control nodemgr contrail-nodemgr running Up 6 hours
database cassandra contrail-
database kafka contrail-
database nodemgr contrail-nodemgr running Up 6 hours
database zookeeper contrail-
vrouter agent contrail-
vrouter nodemgr contrail-nodemgr running Up 6 hours
webui job contrail-
webui web contrail-
vrouter kernel module is PRESENT
== Contrail control ==
control: active
nodemgr: timeout
named: active
dns: active
== Contrail database ==
kafka: inactive
nodemgr: active
zookeeper: active
cassandra: active
== Contrail analytics == UVE-Aggregation [Partitions: 0] connection down) 10.84.5. 19:9092 connection down)
snmp-collector: inactive
query-engine: active
api: initializing (UvePartitions:
alarm-gen: active
nodemgr: active
collector: initializing (KafkaPub:
topology: inactive
[root@a1s19 /]# curl -X GET -H "X-Auth-Token: e792b56948eb42f 7bea3e863d4e297 cb" -H "content-type: application/json" http:// 10.84.5. 19:8081/ analytics/ uves/virtual- networks | python -m json.tool
Dload Upload Total Spent Left Speed englab. juniper. net:5000/ contrail- analytics- api:ocata- 5.0-35 "/entrypoint.sh /u..." 3 weeks ago Up 6 hours analytics_api_1 englab. juniper. net:5000/ contrail- controller- config- api:ocata- 5.0-35 "/entrypoint.sh /u..." 3 weeks ago Up 6 hours config_api_1
% Total % Received % Xferd Average Speed Time Time Time Current
100 2 100 2 0 0 480 0 --:--:-- --:--:-- --:--:-- 666
[]
[root@a1s19 /]# docker ps | grep contrail-api
[root@a1s19 /]# docker ps | grep api 6b70d30b55e1 ci-repo.
35d8134b2997 ci-repo.