Description

The 'contrail-vrouter-nodemgr' is not running a service, so service stop, start or restart cannot be performed.

Symptoms

Service stop, start or restart cannot be performed on 'contrail-vrouter-nodemgr'.

root@node6:~# service contrail-vrouter-nodemgr stop
contrail-vrouter-nodemgr: unrecognized service

Solution

The 'contrail-vrouter-nodemgr' is not registered to upstart. Therefore, the supervisorctl needs to be used to perform any action on the 'contrail-vrouter-nodemgr'.

root@node6:/var/run# supervisorctl -s unix:///var/run/supervisord_vrouter.sock
contrail-vrouter-agent           RUNNING    pid 727, uptime 0:00:41
contrail-vrouter-nodemgr         RUNNING    pid 10520, uptime 38 days, 23:34:37
supervisor> stop contrail-vrouter-nodemgr
contrail-vrouter-nodemgr: stopped
supervisor> start contrail-vrouter-nodemgr
contrail-vrouter-nodemgr: started
supervisor> quit
root@node6:/var/run# contrail-status -d
== Contrail vRouter ==
supervisor-vrouter:           active
contrail-vrouter-agent        active              pid 727, uptime 0:01:32                
contrail-vrouter-nodemgr      active              pid 1037, uptime 0:00:22          
    

 The list of jobs registered to upstart can be viewed using the 'initctl list'.