containers / virtcontainers

A Go package for building hardware virtualized container runtimes
Apache License 2.0
139 stars 43 forks source link

unable to ustart a container using devicemapper and qemu 2.9 #479

Closed devimc closed 7 years ago

devimc commented 7 years ago
# time="2017-11-10 08:10:03.872592118Z" level=info msg="About to add CNI network crionet (type=bridge)" 
# time="2017-11-10 08:10:05.399730700Z" level=debug msg="running conmon: /home/jenkins/jenkins_slave/workspace/clear-containers-tests-azure-ubuntu-17-04-PR/go/src/github.com/kubernetes-incubator/cri-o/conmon/conmon" args=[-c f9ea8e12b653aeca8c276b167778918865f5c93617ab9be1b31ca26c7e6d63ba -u f9ea8e12b653aeca8c276b167778918865f5c93617ab9be1b31ca26c7e6d63ba -r /usr/local/bin/cc-runtime -b /tmp/tmp.JgcBVHbf96/crio-run/devicemapper-containers/f9ea8e12b653aeca8c276b167778918865f5c93617ab9be1b31ca26c7e6d63ba/userdata -p /tmp/tmp.JgcBVHbf96/crio-run/devicemapper-containers/f9ea8e12b653aeca8c276b167778918865f5c93617ab9be1b31ca26c7e6d63ba/userdata/pidfile -l /var/log/crio/pods/f9ea8e12b653aeca8c276b167778918865f5c93617ab9be1b31ca26c7e6d63ba/f9ea8e12b653aeca8c276b167778918865f5c93617ab9be1b31ca26c7e6d63ba.log --exit-dir /var/run/crio/exits] 
# time="2017-11-10 08:10:05.517711276Z" level=debug msg="Received container pid: -1" 
# time="2017-11-10 08:10:05.517745776Z" level=error msg="Container creation error: QMP command failed
# " 
# time="2017-11-10 08:10:05.560617541Z" level=info msg="Got pod network {Name:podsandbox1 Namespace:redhat.test.crio ID:f9ea8e12b653aeca8c276b167778918865f5c93617ab9be1b31ca26c7e6d63ba NetNS:/var/run/netns/k8s_podsandbox1_redhat.test.crio_redhat-test-crio_1-d50e99a1 PortMappings:[]}" 
# time="2017-11-10 08:10:05.560646341Z" level=info msg="About to del CNI network crionet (type=bridge)" 
# time="2017-11-10 08:10:05.675209012Z" level=debug msg="devmapper: UnmountDevice START(hash=a1a07ad3fc844334c00faa278ba496b8cad838e6bf1e4cc2539ce842028b0977)" 
# time="2017-11-10 08:10:05.675232912Z" level=debug msg="devmapper: Unmount(/tmp/tmp.JgcBVHbf96/crio/devicemapper/mnt/a1a07ad3fc844334c00faa278ba496b8cad838e6bf1e4cc2539ce842028b0977)" 
# time="2017-11-10 08:10:05.691100136Z" level=debug msg="devmapper: Unmount done" 
# time="2017-11-10 08:10:05.691126436Z" level=debug msg="devmapper: deactivateDevice START(a1a07ad3fc844334c00faa278ba496b8cad838e6bf1e4cc2539ce842028b0977)" 
# time="2017-11-10 08:10:05.691219136Z" level=debug msg="devmapper: removeDevice START(container-8:1-783692-a1a07ad3fc844334c00faa278ba496b8cad838e6bf1e4cc2539ce842028b0977)" 
# time="2017-11-10 08:10:06.847167767Z" level=debug msg="devmapper: removeDevice END(container-8:1-783692-a1a07ad3fc844334c00faa278ba496b8cad838e6bf1e4cc2539ce842028b0977)" 
# time="2017-11-10 08:10:06.847195667Z" level=debug msg="devmapper: deactivateDevice END(a1a07ad3fc844334c00faa278ba496b8cad838e6bf1e4cc2539ce842028b0977)" 
# time="2017-11-10 08:10:06.847201567Z" level=debug msg="devmapper: UnmountDevice END(hash=a1a07ad3fc844334c00faa278ba496b8cad838e6bf1e4cc2539ce842028b0977)" 
# time="2017-11-10 08:10:06.899789246Z" level=debug msg="devmapper: DeleteDevice START(hash=a1a07ad3fc844334c00faa278ba496b8cad838e6bf1e4cc2539ce842028b0977 syncDelete=false)" 
# time="2017-11-10 08:10:06.899845646Z" level=debug msg="devmapper: issueDiscard START(device: a1a07ad3fc844334c00faa278ba496b8cad838e6bf1e4cc2539ce842028b0977)." 
# time="2017-11-10 08:10:06.899852046Z" level=debug msg="devmapper: activateDeviceIfNeeded(a1a07ad3fc844334c00faa278ba496b8cad838e6bf1e4cc2539ce842028b0977)" 
# time="2017-11-10 08:10:07.071119703Z" level=debug msg="devmapper: issueDiscard END(device: a1a07ad3fc844334c00faa278ba496b8cad838e6bf1e4cc2539ce842028b0977)." 
# time="2017-11-10 08:10:07.071168703Z" level=debug msg="devmapper: deactivateDevice START(a1a07ad3fc844334c00faa278ba496b8cad838e6bf1e4cc2539ce842028b0977)" 
# time="2017-11-10 08:10:07.071234503Z" level=debug msg="devmapper: removeDevice START(container-8:1-783692-a1a07ad3fc844334c00faa278ba496b8cad838e6bf1e4cc2539ce842028b0977)" 
# time="2017-11-10 08:10:07.143225411Z" level=debug msg="devmapper: removeDevice END(container-8:1-783692-a1a07ad3fc844334c00faa278ba496b8cad838e6bf1e4cc2539ce842028b0977)" 
# time="2017-11-10 08:10:07.143257311Z" level=debug msg="devmapper: deactivateDevice END(a1a07ad3fc844334c00faa278ba496b8cad838e6bf1e4cc2539ce842028b0977)" 
# time="2017-11-10 08:10:07.191714884Z" level=debug msg="devmapper: unregisterDevice(a1a07ad3fc844334c00faa278ba496b8cad838e6bf1e4cc2539ce842028b0977)" 
# time="2017-11-10 08:10:07.205599905Z" level=debug msg="devmapper: DeleteDevice END(hash=a1a07ad3fc844334c00faa278ba496b8cad838e6bf1e4cc2539ce842028b0977 syncDelete=false)" 
# time="2017-11-10T08:10:07Z" level=fatal msg="Creating the pod sandbox failed: rpc error: code = 2 desc = container create failed: QMP command failed
# " 
# rm: cannot remove '/tmp/tmp.JgcBVHbf96/crio/devicemapper': Device or resource busy
Build timed out (after 5 minutes). Marking the build as aborted.

more information https://github.com/clearcontainers/packaging/pull/34