Skip to end of metadata
Go to start of metadata


Log file:

/var/lib/containers/atomic/cp-sr.0/rootfs/var/log/flexswitch/asicd.log


Check for crash

[root@0000157ce59a-leaf admin]# journalctl |grep -i fatal
May 27 06:53:25 0000157ce59a-leaf runc[6210]: fatal error: asicd not running
May 27 06:53:30 0000157ce59a-leaf handle-exit.sh[78508]: cp-sr exit status fatal
May 27 06:53:31 0000157ce59a-leaf handle-exit.sh[78639]: KVS exit status not fatal: not rebooting
May 27 06:53:42 0000157ce59a-leaf dockerd-current[9268]: time="2019-05-27T06:53:42.519027652Z" level=fatal msg="containerd: serve grpc" error="accept unix /var/run/docker/libcontainerd/docker-containerd.sock: use of closed network connection"


runc

# runc list --format json
[{"ociVersion":"1.0.0","id":"cp-sr","pid":6233,"status":"running","bundle":"/var/lib/containers/atomic/cp-sr.0","rootfs":"/var/lib/containers/atomic/cp-sr.0/rootfs","created":"2019-05-27T06:55:53.938561425Z","owner":"root"},{"ociVersion":"1.0.0","id":"kvs","pid":6220,"status":"running","bundle":"/var/lib/containers/atomic/kvs.0","rootfs":"/var/lib/containers/atomic/kvs.0/rootfs","created":"2019-05-27T06:55:53.938505156Z","owner":"root"},{"ociVersion":"1.0.0","id":"lnc","pid":5433,"status":"running","bundle":"/var/lib/containers/atomic/lnc.0","rootfs":"/var/lib/containers/atomic/lnc.0/rootfs","created":"2019-05-27T06:55:44.162409039Z","owner":"root"},{"ociVersion":"1.0.0","id":"vfx","pid":5429,"status":"running","bundle":"/var/lib/containers/atomic/vfx.0","rootfs":"/var/lib/containers/atomic/vfx.0/rootfs","created":"2019-05-27T06:55:44.212358732Z","owner":"root"}]


System Profile

[root@0000157ce59a-leaf admin]# cat /var/lib/containers/atomic/cp-sr/rootfs/opt/flexswitch/params/systemProfile.json
{
   "API_Port": 8080,
   "Daemons": [
      {
         "Enable": false,
         "Name": "fMgrd"
      },
      {
         "Enable": true,
         "Name": "notifierd"
      },
      {
         "Enable": true,
         "Name": "statsd"
      },
      {
         "Enable": true,
         "Name": "lldpd"
      },
      {
         "Enable": true,
         "Name": "arpd"
      },
      {
         "Enable": false,
         "Name": "bgpd"
      },
      {
         "Enable": true,
         "Name": "ribd"
      },
      {
         "Enable": true,
         "Name": "ndpd"
      },
      {
         "Enable": false,
         "Name": "bfdd"
      },
      {
         "Enable": false,
         "Name": "ospfv2d"
      },
      {
         "Enable": true,
         "Name": "ltsd"
      },
      {
         "Enable": true,
         "Name": "uripd"
      }
   ],
   "Description": "Flowfabric Node",
   "GlobalLoggingLevel": "info",
   "HostName": "0000157ce59a-leaf",
   "MgmtIp": "10.201.8.33",
   "Notifier_Port": 8081,
   "PasswordEncoding": "md5",
   "SwitchMac": "00:90:fb:60:e2:7e",
   "SystemId": "Flowfabric",
   "TCPPortBase": 10000,
   "Version": "1.0.0",
   "Vrf": "default"


Clients

# cat /var/lib/containers/atomic/cp-sr/rootfs/opt/flexswitch/params/clients.json
[
   {
      "Exec": "pmd",
      "Name": "pmd",
      "Port": 10000,
      "Runlevel": 0
   },
   {
      "Exec": "sysmgmtd",
      "Name": "sysmgmtd",
      "Port": 10001,
      "Runlevel": 1
   },
   {
      "Exec": "asicd",
      "Name": "asicd",
      "Port": 10002,
      "Runlevel": 2
   },
   {
      "Exec": "fMgrd",
      "Name": "fMgrd",
      "Port": 10003,
      "Runlevel": 3
   },
   {
      "Exec": "platformd",
      "Name": "platformd",
      "Port": 10004,
      "Runlevel": 4
   },
   {
      "Exec": "notifierd",
      "Name": "notifierd",
      "Port": 10005,
      "Runlevel": 5
   },
   {
      "Exec": "statsd",
      "Name": "statsd",
      "Port": 10006,
      "Runlevel": 6
   },
   {
      "Exec": "lldpd",
      "Name": "lldpd",
      "Port": 10007,
      "Runlevel": 7
   },
   {
      "Exec": "arpd",
      "Name": "arpd",
      "Port": 10008,
      "Runlevel": 8
   },
   {
      "Exec": "bgpd",
      "Name": "bgpd",
      "Port": 10009,
      "Runlevel": 9
   },
   {
      "Exec": "ribd",
      "Name": "ribd",
      "Port": 10010,
      "Runlevel": 10
   },
   {
      "Exec": "ndpd",
      "Name": "ndpd",
      "Port": 10011,
      "Runlevel": 11
   },
   {
      "Exec": "bfdd",
      "Name": "bfdd",
      "Port": 10012,
      "Runlevel": 12
   },
   {
      "Exec": "ospfv2d",
      "Name": "ospfv2d",
      "Port": 10013,
      "Runlevel": 13
   },
   {
      "Exec": "ltsd",
      "Name": "ltsd",
      "Port": 10014,
      "Runlevel": 14
   },
   {
      "Exec": "uripd",
      "Name": "uripd",
      "Port": 10015,
      "Runlevel": 15
   },
   {
      "Exec": "confd",
      "Name": "local",
      "Port": 0,
      "Runlevel": 16
   }


  • No labels