Usually, if an instance can ping the default gateway, for example, vRouter, but does not have access to the Internet or cannot ping an IP address outside the cloud, you should verify the default route in virtual routing and forwarding (VRF).
To verify the default route in VRF:
Log in to the OpenContrail web UI.
Go to Monitor > Infrastructure > Virtual Routers > cmp00x > Routes, where cmp00x is the name of the compute node in question.
From the VRF drop-down list, select the VRF of the virtual network in question.
The following example displays the default route 0.0.0.0/0
with two valid peer routes:
Log in to any Mirantis OpenContrail analytics node, for example, nal01
.
Verify the status of the OpenContrail analytics services:
contrail-status
Example of system response:
== Contrail Analytics ==
supervisor-analytics: active
contrail-alarm-gen active
contrail-analytics-api active
contrail-analytics-nodemgr active
contrail-collector active
contrail-query-engine active
contrail-snmp-collector active
contrail-topology active
== Contrail Supervisor Database ==
supervisor-database: active
contrail-database active
contrail-database-nodemgr active
kafka active
If some service is not in the active
status, fix the issue
and restart the service using the service <service_name> restart.
Verify the contrail-svc-monitor
status:
Log in to the Mirantis OpenContrail controller ntw
node.
Verify that the contrail-svc-monitor
state is active
using the contrail-status command.
Example of system response:
== Contrail Config ==
supervisor-config: active
contrail-api:0 active
contrail-config-nodemgr active
contrail-device-manager active
contrail-discovery:0 active
contrail-schema initializing
contrail-svc-monitor active
ifmap active
If the contrail-svc-monitor
state is inactive
or
initializing
with an error message:
Log in to the Mirantis OpenContrail controller node where
contrail-svc-monitor
is in the active
state.
For example, to ntw01
.
Restart the service using the following command. On the remaining
ntw
nodes, the contrail-svc-monitor
state must be backup
.
service contrail-svc-monitor restart
If the state is still inactive
or initializing
with
an error message, recreate the gateway:
Clear Gateway
.Set Gateway
.Verify the SNAT and other services instances as described in Verify SNAT and other services instances.