{"action":"created","issue":{"url":"https://api.github.com/repos/google/cadvisor/issues/1802","repository_url":"https://api.github.com/repos/google/cadvisor","labels_url":"https://api.github.com/repos/google/cadvisor/issues/1802/labels{/name}","comments_url":"https://api.github.com/repos/google/cadvisor/issues/1802/comments","events_url":"https://api.github.com/repos/google/cadvisor/issues/1802/events","html_url":"https://github.com/google/cadvisor/issues/1802","id":273324622,"number":1802,"title":" manager.go:161] unable to connect to Rkt api service: rkt: cannot tcp Dial rkt api service: dial tcp 127.0.0.1:15441: getsockopt: connection refused","user":{"login":"xiamujun","id":12455569,"avatar_url":"https://avatars0.githubusercontent.com/u/12455569?v=4","gravatar_id":"","url":"https://api.github.com/users/xiamujun","html_url":"https://github.com/xiamujun","followers_url":"https://api.github.com/users/xiamujun/followers","following_url":"https://api.github.com/users/xiamujun/following{/other_user}","gists_url":"https://api.github.com/users/xiamujun/gists{/gist_id}","starred_url":"https://api.github.com/users/xiamujun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiamujun/subscriptions","organizations_url":"https://api.github.com/users/xiamujun/orgs","repos_url":"https://api.github.com/users/xiamujun/repos","events_url":"https://api.github.com/users/xiamujun/events{/privacy}","received_events_url":"https://api.github.com/users/xiamujun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-13T06:37:24Z","updated_at":"2017-11-13T18:08:41Z","closed_at":null,"author_association":"NONE","body":"docker run --volume=/:/rootfs:ro \\\r\n--volume=/var/run:/var/run:rw \\\r\n--volume=/sys:/sys:ro \\\r\n--volume=/var/lib/docker/:/var/lib/docker:ro \\\r\n--volume=/cgroup:/cgroup:ro \\\r\n--privileged=true \\\r\n--publish=8080:8080 \\\r\n--detach=true \\\r\n--link influxsrv:influxsrv \\\r\n--name=cadvisor \\\r\ngoogle/cadvisor:v0.28.0 \\\r\n-storage_driver_db=influxdb \\\r\n-storage_driver_host=influxsrv:8086 \\\r\n-storage_driver_db=cadvisor\r\n\r\ndocker logs cadvisor\r\nI1113 06:34:17.159807       1 storagedriver.go:50] Caching stats in memory for 2m0s\r\nI1113 06:34:17.160070       1 manager.go:149] cAdvisor running in container: \"/sys/fs/cgroup/cpu,cpuacct\"\r\nW1113 06:34:17.173969       1 manager.go:161] unable to connect to Rkt api service: rkt: cannot tcp Dial rkt api service: dial tcp 127.0.0.1:15441: getsockopt: connection refused\r\nW1113 06:34:17.174078       1 manager.go:172] unable to connect to CRI-O api service: Get http://%2Fvar%2Frun%2Fcrio.sock/info: dial unix /var/run/crio.sock: connect: no such file or directory\r\nI1113 06:34:17.189041       1 fs.go:139] Filesystem UUIDs: map[]\r\nI1113 06:34:17.189059       1 fs.go:140] Filesystem partitions: map[/dev/vdb1:{mountpoint:/rootfs/data-aliyun major:253 minor:17 fsType:ext4 blockSize:0} shm:{mountpoint:/rootfs/var/lib/docker/containers/c3d1b599b30b363516f5f06609bf47cb35a85d96406ca733330a6702bc6c4e22/shm major:0 minor:42 fsType:tmpfs blockSize:0} tmpfs:{mountpoint:/dev major:0 minor:116 fsType:tmpfs blockSize:0} /dev/vda1:{mountpoint:/var/lib/docker/overlay major:253 minor:1 fsType:ext4 blockSize:0}]\r\nI1113 06:34:17.190197       1 manager.go:223] Machine: {NumCores:2 CpuFrequency:2494222 MemoryCapacity:4141957120 HugePages:[{PageSize:1048576 NumPages:0} {PageSize:2048 NumPages:0}] MachineID:f0f31005fb5a436d88e3c6cbf54e25aa SystemUUID:35DE9982-7E86-4561-80D5-0212908A2411 BootID:a0059eb1-2089-4c9d-9103-2bd160bb0a25 Filesystems:[{Device:tmpfs DeviceMajor:0 DeviceMinor:116 Capacity:67108864 Type:vfs Inodes:505610 HasInodes:true} {Device:/dev/vda1 DeviceMajor:253 DeviceMinor:1 Capacity:42139451392 Type:vfs Inodes:2621440 HasInodes:true} {Device:/dev/vdb1 DeviceMajor:253 DeviceMinor:17 Capacity:105553780736 Type:vfs Inodes:6553600 HasInodes:true} {Device:shm DeviceMajor:0 DeviceMinor:42 Capacity:67108864 Type:vfs Inodes:505610 HasInodes:true} {Device:overlay DeviceMajor:0 DeviceMinor:112 Capacity:42139451392 Type:vfs Inodes:2621440 HasInodes:true}] DiskMap:map[253:0:{Name:vda Major:253 Minor:0 Size:42949672960 Scheduler:none} 253:16:{Name:vdb Major:253 Minor:16 Size:107374182400 Scheduler:none}] NetworkDevices:[{Name:eth0 MacAddress:00:16:3e:0a:d3:58 Speed:-1 Mtu:1500}] Topology:[{Id:0 Memory:4141957120 Cores:[{Id:0 Threads:[0] Caches:[]} {Id:1 Threads:[1] Caches:[]}] Caches:[{Size:41943040 Type:Unified Level:3}]}] CloudProvider:Unknown InstanceType:Unknown InstanceID:None}\r\nI1113 06:34:17.190909       1 manager.go:229] Version: {KernelVersion:4.13.12-1.el7.elrepo.x86_64 \r\n\r\n\r\n\r\n\r\n\r\nContainerOsVersion:Alpine Linux v3.4 DockerVersion:17.11.0-ce-rc3 DockerAPIVersion:1.34 CadvisorVersion:v0.28.0 CadvisorRevision:3d2e7fc}\r\nI1113 06:34:17.203104       1 factory.go:355] Registering Docker factory\r\nW1113 06:34:17.203132       1 manager.go:273] Registration of the rkt container factory failed: unable to communicate with Rkt api service: rkt: cannot tcp Dial rkt api service: dial tcp 127.0.0.1:15441: getsockopt: connection refused\r\nW1113 06:34:17.203214       1 manager.go:284] Registration of the crio container factory failed: Get http://%2Fvar%2Frun%2Fcrio.sock/info: dial unix /var/run/crio.sock: connect: no such file or directory\r\nI1113 06:34:17.203231       1 factory.go:54] Registering systemd factory\r\nI1113 06:34:17.204126       1 factory.go:86] Registering Raw factory\r\nI1113 06:34:17.204991       1 manager.go:1161] Started watching for new ooms in manager\r\nI1113 06:34:17.205542       1 nvidia.go:47] No NVIDIA devices found.\r\nI1113 06:34:17.206412       1 manager.go:322] Starting recovery of all containers\r\nI1113 06:34:17.305398       1 manager.go:327] Recovery completed\r\nI1113 06:34:17.420127       1 cadvisor.go:159] Starting cAdvisor version: v0.28.0-3d2e7fc on port 8080\r\n\r\n\r\n#####################\r\ndocker info\r\nContainers: 9\r\n Running: 9\r\n Paused: 0\r\n Stopped: 0\r\nImages: 10\r\nServer Version: 17.11.0-ce-rc3\r\nStorage Driver: overlay\r\n Backing Filesystem: extfs\r\n Supports d_type: true\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: bridge host macvlan null overlay\r\n Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog\r\nSwarm: inactive\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nInit Binary: docker-init\r\ncontainerd version: 992280e8e265f491f7a624ab82f3e238be086e49\r\nrunc version: 0351df1c5a66838d0c392b4ac4cf9450de844e2d\r\ninit version: 949e6fa\r\nSecurity Options:\r\n seccomp\r\n  Profile: default\r\nKernel Version: 4.13.12-1.el7.elrepo.x86_64\r\nOperating System: CentOS Linux 7 (Core)\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 2\r\nTotal Memory: 3.857GiB\r\nName: prod_shipyard\r\nID: S7IY:SOI5:Q7CN:ZFTS:CDJZ:3KBT:LVSB:AYX5:ZTGI:WM7I:SMK3:OP7N\r\nDocker Root Dir: /var/lib/docker\r\nDebug Mode (client): false\r\nDebug Mode (server): false\r\nRegistry: https://index.docker.io/v1/\r\nExperimental: false\r\nInsecure Registries:\r\n 127.0.0.0/8\r\nRegistry Mirrors:\r\n https://vfjfj35s.mirror.aliyuncs.com/\r\nLive Restore Enabled: false\r\n\r\nWARNING: bridge-nf-call-iptables is disabled\r\nWARNING: bridge-nf-call-ip6tables is disabled\r\n\r\n centos7.4 kernel4.13.12   \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/google/cadvisor/issues/comments/344006520","html_url":"https://github.com/google/cadvisor/issues/1802#issuecomment-344006520","issue_url":"https://api.github.com/repos/google/cadvisor/issues/1802","id":344006520,"user":{"login":"dashpole","id":3262098,"avatar_url":"https://avatars1.githubusercontent.com/u/3262098?v=4","gravatar_id":"","url":"https://api.github.com/users/dashpole","html_url":"https://github.com/dashpole","followers_url":"https://api.github.com/users/dashpole/followers","following_url":"https://api.github.com/users/dashpole/following{/other_user}","gists_url":"https://api.github.com/users/dashpole/gists{/gist_id}","starred_url":"https://api.github.com/users/dashpole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dashpole/subscriptions","organizations_url":"https://api.github.com/users/dashpole/orgs","repos_url":"https://api.github.com/users/dashpole/repos","events_url":"https://api.github.com/users/dashpole/events{/privacy}","received_events_url":"https://api.github.com/users/dashpole/received_events","type":"User","site_admin":false},"created_at":"2017-11-13T18:08:41Z","updated_at":"2017-11-13T18:08:41Z","author_association":"COLLABORATOR","body":"The error message in the title occurs because you are not running rkt.  cAdvisor attempts to connect to all container runtimes it knows about.  Since you are running docker, but not rkt, it is expected that it will fail to connect to rkt."}}
{"actor":{"display_login":"dashpole"}}