{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry-incubator/diego-release/issues/38","labels_url":"https://api.github.com/repos/cloudfoundry-incubator/diego-release/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/diego-release/issues/38/comments","events_url":"https://api.github.com/repos/cloudfoundry-incubator/diego-release/issues/38/events","html_url":"https://github.com/cloudfoundry-incubator/diego-release/issues/38","id":75925447,"number":38,"title":"Diego fail to start a container on centos 7.1 with aufs","user":{"login":"guanglinlv","id":10666676,"avatar_url":"https://avatars.githubusercontent.com/u/10666676?v=3","gravatar_id":"","url":"https://api.github.com/users/guanglinlv","html_url":"https://github.com/guanglinlv","followers_url":"https://api.github.com/users/guanglinlv/followers","following_url":"https://api.github.com/users/guanglinlv/following{/other_user}","gists_url":"https://api.github.com/users/guanglinlv/gists{/gist_id}","starred_url":"https://api.github.com/users/guanglinlv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guanglinlv/subscriptions","organizations_url":"https://api.github.com/users/guanglinlv/orgs","repos_url":"https://api.github.com/users/guanglinlv/repos","events_url":"https://api.github.com/users/guanglinlv/events{/privacy}","received_events_url":"https://api.github.com/users/guanglinlv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-13T09:54:48Z","updated_at":"2015-05-15T00:26:04Z","closed_at":null,"body":"hi all,\r\n\r\nI am trying to let Diego work on centos 7.1 and i have upgrade kernel to 4.0.2 with aufs4.0.\r\nI get a new problem that `pivot_root(\".\", \"tmp/garden-host\")` failed, the failure message is `Invalid argument`.\r\n\r\nIs there need any kernel support ?\r\n\r\n- garden-linux.stdout.log\r\n\r\n```log\r\n{\"timestamp\":\"1431546463.278645992\",\"source\":\"garden-linux\",\"message\":\"garden-linux.pool.nevp5f9irno.creating\",\"log_level\":1,\"data\":{\"session\":\"2.2\"}}\r\n{\"timestamp\":\"1431546463.278743505\",\"source\":\"garden-linux\",\"message\":\"garden-linux.pool.nevp5f9irno.acquired-pool-resources\",\"log_level\":1,\"data\":{\"session\":\"2.2\"}}\r\n{\"timestamp\":\"1431546463.465993166\",\"source\":\"garden-linux\",\"message\":\"garden-linux.pool.nevp5f9irno.created\",\"log_level\":1,\"data\":{\"session\":\"2.2\"}}\r\n{\"timestamp\":\"1431546463.564160347\",\"source\":\"garden-linux\",\"message\":\"garden-linux.garden-server.bulk_info.got-bulkinfo\",\"log_level\":1,\"data\":{\"handles\":[\"\"],\"session\":\"4.74\"}}\r\n{\"timestamp\":\"1431546463.680500031\",\"source\":\"garden-linux\",\"message\":\"garden-linux.pool.nevp5f9irno.start.command.failed\",\"log_level\":2,\"data\":{\"argv\":[\"/var/vcap/data/garden-linux/depot/nevp5f9irno/start.sh\"],\"error\":\"exit status 1\",\"exit-status\":1,\"session\":\"2.2.4.1\",\"stderr\":\"pivot_root: Invalid argument\\nError waiting for acknowledgement from child process\\n\",\"stdout\":\"\",\"took\":\"214.221802ms\"}}\r\n{\"timestamp\":\"1431546463.680669546\",\"source\":\"garden-linux\",\"message\":\"garden-linux.pool.nevp5f9irno.start.failed-to-start\",\"log_level\":2,\"data\":{\"error\":\"exit status 1\",\"session\":\"2.2.4\"}}\r\n{\"timestamp\":\"1431546463.680748224\",\"source\":\"garden-linux\",\"message\":\"garden-linux.pool.destroy.destroying\",\"log_level\":1,\"data\":{\"id\":\"nevp5f9irno\",\"session\":\"2.3\"}}\r\n{\"timestamp\":\"1431546463.731221914\",\"source\":\"garden-linux\",\"message\":\"garden-linux.pool.destroy.command.failed\",\"log_level\":2,\"data\":{\"argv\":[\"/var/vcap/packages/garden-linux/garden-bin/destroy.sh\",\"/var/vcap/data/garden-linux/depot/nevp5f9irno\"],\"error\":\"exit status 1\",\"exit-status\":1,\"id\":\"nevp5f9irno\",\"session\":\"2.3.1\",\"stderr\":\"/var/vcap/data/garden-linux/depot/nevp5f9irno/destroy.sh: line 27: kill: (6599) - No such process\\n\",\"stdout\":\"\",\"took\":\"41.399822ms\"}}\r\n{\"timestamp\":\"1431546463.731603861\",\"source\":\"garden-linux\",\"message\":\"garden-linux.garden-server.create.failed\",\"log_level\":2,\"data\":{\"error\":\"container: start: exit status 1\",\"request\":{\"handle\":\"41717c36-71cc-4f9c-ac4d-41def7c1e0c3-ab38b89a91944b12848411a93335a6cf\",\"rootfs\":\"/var/vcap/packages/rootfs_cflinuxfs2\",\"properties\":{\"executor:action\":\"{\\\"timeout\\\":{\\\"action\\\":{\\\"serial\\\":{\\\"actions\\\":[{\\\"emit_progress\\\":{\\\"start_message\\\":\\\"\\\",\\\"success_message\\\":\\\"\\\",\\\"failure_message_prefix\\\":\\\"Failed to set up docker environment\\\",\\\"action\\\":{\\\"download\\\":{\\\"from\\\":\\\"http://file-server.service.consul:8080/v1/static/docker_app_lifecycle/docker_app_lifecycle.tgz\\\",\\\"to\\\":\\\"/tmp/docker_app_lifecycle\\\",\\\"cache_key\\\":\\\"builder-docker\\\"}}}},{\\\"emit_progress\\\":{\\\"start_message\\\":\\\"Staging...\\\",\\\"success_message\\\":\\\"Staging Complete\\\",\\\"failure_message_prefix\\\":\\\"Staging Failed\\\",\\\"action\\\":{\\\"run\\\":{\\\"path\\\":\\\"/tmp/docker_app_lifecycle/builder\\\",\\\"args\\\":[\\\"-outputMetadataJSONFilename\\\",\\\"/tmp/docker-result/result.json\\\",\\\"-dockerRef\\\",\\\"10.10.10.210:8080/lvguanglin/kodexplorer:latest\\\",\\\"-dockerRegistryAddresses\\\",\\\"10.10.10.210:8080\\\",\\\"-insecureDockerRegistries\\\",\\\"10.10.10.210:8080\\\",\\\"-cacheDockerImage\\\"],\\\"env\\\":[{\\\"name\\\":\\\"VCAP_APPLICATION\\\",\\\"value\\\":\\\"{\\\\\\\"limits\\\\\\\":{\\\\\\\"mem\\\\\\\":256,\\\\\\\"disk\\\\\\\":1024,\\\\\\\"fds\\\\\\\":16384},\\\\\\\"application_version\\\\\\\":\\\\\\\"10d506e1-79d6-48be-aa8c-017817689b46\\\\\\\",\\\\\\\"application_name\\\\\\\":\\\\\\\"kod\\\\\\\",\\\\\\\"version\\\\\\\":\\\\\\\"10d506e1-79d6-48be-aa8c-017817689b46\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"kod\\\\\\\",\\\\\\\"space_name\\\\\\\":\\\\\\\"admin\\\\\\\",\\\\\\\"space_id\\\\\\\":\\\\\\\"7b633d82-73fb-47e2-bf2d-24734bf68f9a\\\\\\\"}\\\"},{\\\"name\\\":\\\"VCAP_SERVICES\\\",\\\"value\\\":\\\"{}\\\"},{\\\"name\\\":\\\"MEMORY_LIMIT\\\",\\\"value\\\":\\\"256m\\\"},{\\\"name\\\":\\\"CF_STACK\\\",\\\"value\\\":\\\"cflinuxfs2\\\"},{\\\"name\\\":\\\"DIEGO_DOCKER_CACHE\\\",\\\"value\\\":\\\"true\\\"}],\\\"resource_limits\\\":{\\\"nofile\\\":16384},\\\"privileged\\\":true}}}}]}},\\\"timeout\\\":900000000000}}\",\"executor:allocated-at\":\"1431546463252012459\",\"executor:cpu-weight\":\"100\",\"executor:disk-mb\":\"6144\",\"executor:egress-rules\":\"[{\\\"protocol\\\":\\\"all\\\",\\\"destinations\\\":[\\\"0.0.0.0-9.255.255.255\\\"],\\\"log\\\":false},{\\\"protocol\\\":\\\"all\\\",\\\"destinations\\\":[\\\"11.0.0.0-169.253.255.255\\\"],\\\"log\\\":false},{\\\"protocol\\\":\\\"all\\\",\\\"destinations\\\":[\\\"169.255.0.0-172.15.255.255\\\"],\\\"log\\\":false},{\\\"protocol\\\":\\\"all\\\",\\\"destinations\\\":[\\\"172.32.0.0-192.167.255.255\\\"],\\\"log\\\":false},{\\\"protocol\\\":\\\"all\\\",\\\"destinations\\\":[\\\"192.169.0.0-255.255.255.255\\\"],\\\"log\\\":false},{\\\"protocol\\\":\\\"tcp\\\",\\\"destinations\\\":[\\\"0.0.0.0/0\\\"],\\\"ports\\\":[53],\\\"log\\\":false},{\\\"protocol\\\":\\\"udp\\\",\\\"destinations\\\":[\\\"0.0.0.0/0\\\"],\\\"ports\\\":[53],\\\"log\\\":false},{\\\"protocol\\\":\\\"all\\\",\\\"destinations\\\":[\\\"0.0.0.0-9.255.255.255\\\"],\\\"log\\\":false},{\\\"protocol\\\":\\\"all\\\",\\\"destinations\\\":[\\\"11.0.0.0-169.253.255.255\\\"],\\\"log\\\":false},{\\\"protocol\\\":\\\"all\\\",\\\"destinations\\\":[\\\"169.255.0.0-172.15.255.255\\\"],\\\"log\\\":false},{\\\"protocol\\\":\\\"all\\\",\\\"destinations\\\":[\\\"172.32.0.0-192.167.255.255\\\"],\\\"log\\\":false},{\\\"protocol\\\":\\\"all\\\",\\\"destinations\\\":[\\\"192.169.0.0-255.255.255.255\\\"],\\\"log\\\":false},{\\\"protocol\\\":\\\"tcp\\\",\\\"destinations\\\":[\\\"0.0.0.0/0\\\"],\\\"ports\\\":[53],\\\"log\\\":false},{\\\"protocol\\\":\\\"udp\\\",\\\"destinations\\\":[\\\"0.0.0.0/0\\\"],\\\"ports\\\":[53],\\\"log\\\":false},{\\\"protocol\\\":\\\"tcp\\\",\\\"destinations\\\":[\\\"10.10.10.210\\\"],\\\"ports\\\":[8080],\\\"log\\\":false}]\",\"executor:env\":\"null\",\"executor:log-config\":\"{\\\"guid\\\":\\\"41717c36-71cc-4f9c-ac4d-41def7c1e0c3\\\",\\\"index\\\":0,\\\"source_name\\\":\\\"STG\\\"}\",\"executor:memory-mb\":\"1024\",\"executor:metrics-config\":\"{\\\"guid\\\":\\\"\\\",\\\"index\\\":0}\",\"executor:monitor\":\"null\",\"executor:owner\":\"executor\",\"executor:result\":\"{\\\"failed\\\":false,\\\"failure_reason\\\":\\\"\\\",\\\"stopped\\\":false}\",\"executor:rootfs\":\"/var/vcap/packages/rootfs_cflinuxfs2\",\"executor:setup\":\"null\",\"executor:start-timeout\":\"0\",\"executor:state\":\"created\",\"tag:domain\":\"cf-app-staging\",\"tag:lifecycle\":\"task\",\"tag:result-file\":\"/tmp/docker-result/result.json\"},\"privileged\":true},\"session\":\"4.71\"}}\r\n{\"timestamp\":\"1431546463.769743919\",\"source\":\"garden-linux\",\"message\":\"garden-linux.garden-server.destroy.failed\",\"log_level\":2,\"data\":{\"error\":\"unknown handle: 41717c36-71cc-4f9c-ac4d-41def7c1e0c3-ab38b89a91944b12848411a93335a6cf\",\"handle\":\"41717c36-71cc-4f9c-ac4d-41def7c1e0c3-ab38b89a91944b12848411a93335a6cf\",\"session\":\"4.75\"}}\r\n```\r\n\r\n- df -h\r\n\r\n```log\r\nFilesystem     Type      Size  Used Avail Use% Mounted on\r\ndevtmpfs       devtmpfs  2.0G     0  2.0G   0% /dev\r\ntmpfs          tmpfs     2.0G     0  2.0G   0% /dev/shm\r\ntmpfs          tmpfs     2.0G  8.3M  2.0G   1% /run\r\ntmpfs          tmpfs     2.0G     0  2.0G   0% /sys/fs/cgroup\r\n/dev/vda1      ext4       38G   11G   25G  30% /\r\n/dev/vdb2      ext4       36G  1.5G   33G   5% /var/vcap/data\r\ntmpfs          tmpfs     1.0M   28K  996K   3% /var/vcap/data/sys/run\r\n/dev/loop0     ext4      120M  1.6M  115M   2% /tmp\r\ncgroup         tmpfs     2.0G   16K  2.0G   1% /tmp/garden-/cgroup\r\nnone           aufs       36G  1.5G   33G   5% /var/vcap/data/garden-linux/overlays/nerqi07c98r/rootfs\r\nnone           aufs       36G  1.5G   33G   5% /var/vcap/data/garden-linux/overlays/nerqi07c98r/rootfs\r\nnone           aufs       36G  1.5G   33G   5% /var/vcap/data/garden-linux/overlays/nevp5f9irno/rootfs\r\nnone           aufs       36G  1.5G   33G   5% /var/vcap/data/garden-linux/overlays/nevp5f9irno/rootfs\r\n```\r\n\r\n- /proc/mounts\r\n\r\n```log\r\nproc /proc proc rw,nosuid,nodev,noexec,relatime 0 0\r\nsysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0\r\ndevtmpfs /dev devtmpfs rw,nosuid,size=2008488k,nr_inodes=502122,mode=755 0 0\r\nsecurityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0\r\ntmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0\r\ndevpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0\r\ntmpfs /run tmpfs rw,nosuid,nodev,mode=755 0 0\r\ntmpfs /sys/fs/cgroup tmpfs rw,nosuid,nodev,noexec,mode=755 0 0\r\ncgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd 0 0\r\npstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0\r\ncgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0\r\ncgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0\r\ncgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0\r\ncgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0\r\ncgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0\r\ncgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0\r\ncgroup /sys/fs/cgroup/net_cls cgroup rw,nosuid,nodev,noexec,relatime,net_cls 0 0\r\ncgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0\r\ncgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0\r\nconfigfs /sys/kernel/config configfs rw,relatime 0 0\r\n/dev/vda1 / ext4 rw,relatime,data=ordered 0 0\r\nsystemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=29,pgrp=1,timeout=300,minproto=5,maxproto=5,direct 0 0\r\nmqueue /dev/mqueue mqueue rw,relatime 0 0\r\nhugetlbfs /dev/hugepages hugetlbfs rw,relatime 0 0\r\ndebugfs /sys/kernel/debug debugfs rw,relatime 0 0\r\n/dev/vdb2 /var/vcap/data ext4 rw,relatime,data=ordered 0 0\r\ntmpfs /var/vcap/data/sys/run tmpfs rw,relatime,size=1024k 0 0\r\n/dev/loop0 /tmp ext4 rw,relatime,data=ordered 0 0\r\n/dev/vdb2 /var/vcap/data/garden-linux/graph/aufs ext4 rw,relatime,data=ordered 0 0\r\ncgroup /tmp/garden-/cgroup tmpfs rw,relatime,mode=755 0 0\r\ncgroup /tmp/garden-/cgroup/cpuset cgroup rw,relatime,cpuset 0 0\r\ncgroup /tmp/garden-/cgroup/blkio cgroup rw,relatime,blkio 0 0\r\ncgroup /tmp/garden-/cgroup/memory cgroup rw,relatime,memory 0 0\r\ncgroup /tmp/garden-/cgroup/devices cgroup rw,relatime,devices 0 0\r\ncgroup /tmp/garden-/cgroup/freezer cgroup rw,relatime,freezer 0 0\r\ncgroup /tmp/garden-/cgroup/net_cls cgroup rw,relatime,net_cls 0 0\r\ncgroup /tmp/garden-/cgroup/perf_event cgroup rw,relatime,perf_event 0 0\r\ncgroup /tmp/garden-/cgroup/hugetlb cgroup rw,relatime,hugetlb 0 0\r\nnone /var/vcap/data/garden-linux/overlays/nerqi07c98r/rootfs aufs rw,relatime,si=3d779c18ad618124 0 0\r\ndevpts /var/vcap/data/garden-linux/overlays/nerqi07c98r/rootfs/dev/pts devpts rw,relatime,mode=600,ptmxmode=666 0 0\r\nnone /var/vcap/data/garden-linux/overlays/nerqi07c98r/rootfs aufs rw,relatime,si=3d779c18ad618124 0 0\r\ndevpts /var/vcap/data/garden-linux/overlays/nerqi07c98r/rootfs/dev/pts devpts rw,relatime,mode=600,ptmxmode=666 0 0\r\nnone /var/vcap/data/garden-linux/overlays/nevp5f9irno/rootfs aufs rw,relatime,si=3d779c18ad61d124 0 0\r\ndevpts /var/vcap/data/garden-linux/overlays/nevp5f9irno/rootfs/dev/pts devpts rw,relatime,mode=600,ptmxmode=666 0 0\r\nnone /var/vcap/data/garden-linux/overlays/nevp5f9irno/rootfs aufs rw,relatime,si=3d779c18ad61d124 0 0\r\ndevpts /var/vcap/data/garden-linux/overlays/nevp5f9irno/rootfs/dev/pts devpts rw,relatime,mode=600,ptmxmode=666 0 0\r\n```\r\n\r\nthanks\r\n\r\n@ematpl "},"comment":{"url":"https://api.github.com/repos/cloudfoundry-incubator/diego-release/issues/comments/102208531","html_url":"https://github.com/cloudfoundry-incubator/diego-release/issues/38#issuecomment-102208531","issue_url":"https://api.github.com/repos/cloudfoundry-incubator/diego-release/issues/38","id":102208531,"user":{"login":"guanglinlv","id":10666676,"avatar_url":"https://avatars.githubusercontent.com/u/10666676?v=3","gravatar_id":"","url":"https://api.github.com/users/guanglinlv","html_url":"https://github.com/guanglinlv","followers_url":"https://api.github.com/users/guanglinlv/followers","following_url":"https://api.github.com/users/guanglinlv/following{/other_user}","gists_url":"https://api.github.com/users/guanglinlv/gists{/gist_id}","starred_url":"https://api.github.com/users/guanglinlv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guanglinlv/subscriptions","organizations_url":"https://api.github.com/users/guanglinlv/orgs","repos_url":"https://api.github.com/users/guanglinlv/repos","events_url":"https://api.github.com/users/guanglinlv/events{/privacy}","received_events_url":"https://api.github.com/users/guanglinlv/received_events","type":"User","site_admin":false},"created_at":"2015-05-15T00:26:04Z","updated_at":"2015-05-15T00:26:04Z","body":"hi @ematpl ,\r\n\r\nactually,i am using diego to do this, i also will raise an issue on the garden-linux repo.\r\n\r\nthanks you all the same."}}