Verify the default route in VRF

Verify the default route in VRF

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:

  1. Log in to the OpenContrail web UI.

  2. Go to Monitor > Infrastructure > Virtual Routers > cmp00x > Routes, where cmp00x is the name of the compute node in question.

  3. 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:

    ../../../_images/vrf_default_route.png
  4. Log in to any Mirantis OpenContrail analytics node, for example, nal01.

  5. 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
    
  6. If some service is not in the active status, fix the issue and restart the service using the service <service_name> restart.

  7. Verify the contrail-svc-monitor status:

    1. Log in to the Mirantis OpenContrail controller ntw node.

    2. 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
      
    3. If the contrail-svc-monitor state is inactive or initializing with an error message:

      1. Log in to the Mirantis OpenContrail controller node where contrail-svc-monitor is in the active state. For example, to ntw01.

      2. 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
        
      3. If the state is still inactive or initializing with an error message, recreate the gateway:

        1. Log in to the Horizon web UI.

        2. Go to Project > Network > Routers.

        3. On the right side of the router, click Clear Gateway.

        4. On the right side of the router, click Set Gateway.

        5. In the External Network field, specify the network to which the router will connect.

        6. Click Set Gateway.

  8. Verify the SNAT and other services instances as described in Verify SNAT and other services instances.