{"action":"created","issue":{"url":"https://api.github.com/repos/google/cadvisor/issues/306","labels_url":"https://api.github.com/repos/google/cadvisor/issues/306/labels{/name}","comments_url":"https://api.github.com/repos/google/cadvisor/issues/306/comments","events_url":"https://api.github.com/repos/google/cadvisor/issues/306/events","html_url":"https://github.com/google/cadvisor/issues/306","id":48621234,"number":306,"title":"Failed to get container \"\" with error: unable to find data for container \"\"","user":{"login":"danielkraaij","id":607089,"avatar_url":"https://avatars.githubusercontent.com/u/607089?v=3","gravatar_id":"","url":"https://api.github.com/users/danielkraaij","html_url":"https://github.com/danielkraaij","followers_url":"https://api.github.com/users/danielkraaij/followers","following_url":"https://api.github.com/users/danielkraaij/following{/other_user}","gists_url":"https://api.github.com/users/danielkraaij/gists{/gist_id}","starred_url":"https://api.github.com/users/danielkraaij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielkraaij/subscriptions","organizations_url":"https://api.github.com/users/danielkraaij/orgs","repos_url":"https://api.github.com/users/danielkraaij/repos","events_url":"https://api.github.com/users/danielkraaij/events{/privacy}","received_events_url":"https://api.github.com/users/danielkraaij/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2014-11-13T10:39:10Z","updated_at":"2015-02-27T17:15:39Z","closed_at":"2015-02-27T17:15:39Z","body":"I Recently found this great tool and started using it on some hosts i manage. However on one host the following happend when viewing docker containers in more detail.\r\n`Failed to get container \"/docker/e0b572cde642d3bc21542377541d527cd6e3cf90cb76addd84e429669f4c6476\" with error: unable to find data for container /docker/e0b572cde642d3bc21542377541d527cd6e3cf90cb76addd84e429669f4c6476`\r\n\r\nI Found the following lines in the log files.\r\n`/var/run/cadvisor.INFO`\r\n```\r\nI1113 10:17:21.708953 00001 container.go:202] Failed to update stats for container \"/docker/e0b572cde642d3bc21542377541d527cd6e3cf90cb76addd84e429669f4c6476\": could not find device with major: 252, minor: 1 in cached partitions map\r\nW1113 10:17:21.709006 00001 container.go:118] Failed to get RecentStats(\"/docker/e0b572cde642d3bc21542377541d527cd6e3cf90cb76addd84e429669f4c6476\") while determining the next housekeeping: unable to find data for container /docker/e0b572cde642d3bc21542377541d527cd6e3cf90cb76addd84e429669f4c6476\r\n```\r\n\r\n`/var/run/cadvisor.WARNING`\r\n```\r\nW1113 10:16:20.709530 00001 container.go:118] Failed to get RecentStats(\"/docker/e0b572cde642d3bc21542377541d527cd6e3cf90cb76addd84e429669f4c6476\") while determining the next housekeeping: unable to find data for container /docker/e0b572cde642d3bc21542377541d527cd6e3cf90cb76addd84e429669f4c6476\r\nW1113 10:16:21.708884 00001 container.go:118] Failed to get RecentStats(\"/docker/e0b572cde642d3bc21542377541d527cd6e3cf90cb76addd84e429669f4c6476\") while determining the next housekeeping: unable to find data for container /docker/e0b572cde642d3bc21542377541d527cd6e3cf90cb76addd84e429669f4c6476\r\n```\r\n\r\n`/var/run/cadvisor.ERROR`\r\n```\r\nE1113 09:51:02.294062 00001 handler.go:288] Libcontainer state not found for container \"/docker/1644772d9144a29b477fa5ad76651be1bf34c2600fa4fe3d5258e3b647a262f7\"\r\nE1113 09:51:06.294204 00001 handler.go:288] Libcontainer state not found for container \"/docker/1644772d9144a29b477fa5ad76651be1bf34c2600fa4fe3d5258e3b647a262f7\"\r\n```\r\n\r\nHere is some information about docker itself\r\n```\r\n~# docker info\r\nContainers: 4\r\nImages: 77\r\nStorage Driver: aufs\r\n Root Dir: /var/lib/docker/aufs\r\n Dirs: 85\r\nExecution Driver: native-0.2\r\nKernel Version: 3.13.0-39-generic\r\nOperating System: Ubuntu 14.04.1 LTS\r\nWARNING: No swap limit support\r\n```\r\nContents of the `/var/lib/docker`\r\n```\r\n~# ls -la /var/lib/docker/\r\ntotal 40\r\ndrwx------ 11 root root 4096 Nov 13 11:09 .\r\ndrwxr-xr-x 42 root root 4096 Oct 13 09:44 ..\r\ndrwxr-xr-x  5 root root   40 Sep 11 09:55 aufs\r\ndrwx------  6 root root 4096 Nov 13 10:54 containers\r\ndrwx------  3 root root   19 Sep 11 09:55 execdriver\r\ndrwx------ 80 root root 8192 Nov 13 10:47 graph\r\ndrwx------  2 root root   98 Nov 13 11:09 init\r\n-rw-r--r--  1 root root 5120 Nov 13 11:09 linkgraph.db\r\n-rw-------  1 root root  412 Nov 13 10:47 repositories-aufs\r\ndrwx------  2 root root    6 Nov 12 11:46 tmp\r\ndrwx------  2 root root    6 Oct 22 16:01 trust\r\ndrwx------  3 root root   16 Nov  3 15:18 vfs\r\ndrwx------ 23 root root 4096 Nov 13 11:09 volumes\r\n```\r\n\r\nI have same OS and kernel version on my laptop where it works perfectly. The only difference is that the server is a VM running on KVM \r\n\r\nAny ideas on how to fix the problem?"},"comment":{"url":"https://api.github.com/repos/google/cadvisor/issues/comments/76431909","html_url":"https://github.com/google/cadvisor/issues/306#issuecomment-76431909","issue_url":"https://api.github.com/repos/google/cadvisor/issues/306","id":76431909,"user":{"login":"vmarmol","id":985208,"avatar_url":"https://avatars.githubusercontent.com/u/985208?v=3","gravatar_id":"","url":"https://api.github.com/users/vmarmol","html_url":"https://github.com/vmarmol","followers_url":"https://api.github.com/users/vmarmol/followers","following_url":"https://api.github.com/users/vmarmol/following{/other_user}","gists_url":"https://api.github.com/users/vmarmol/gists{/gist_id}","starred_url":"https://api.github.com/users/vmarmol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmarmol/subscriptions","organizations_url":"https://api.github.com/users/vmarmol/orgs","repos_url":"https://api.github.com/users/vmarmol/repos","events_url":"https://api.github.com/users/vmarmol/events{/privacy}","received_events_url":"https://api.github.com/users/vmarmol/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T17:15:39Z","updated_at":"2015-02-27T17:15:39Z","body":"No worries and thanks for the verification! We've fixed a lot of misc errors in 0.9.0 so no surprise it works better now.\r\n\r\nClosing, and feel free to open another issue if you run into any trouble."}}