kubevirt: Devicemapper: Can't set cookie dm_task_set_cookie failed
Hello,
I have this error with docker version 17.06.0-ce :
docker -v Docker version 17.06.0-ce, build 02c1d87
devmapper: Error activating devmapper device for '6bf91878789809febd403ed5e87f715f4c9a2d3b7f257e90fbe3d34dd0f8e816-init': devicemapper: Can't set cookie dm_task_set_cookie failed
When i try to restart docker, with
service docker restart
i have this error :
use \"--data-root\" instead"
Jul 17 14:11:50 dockerd[46867]: time="2017-07-17T14:11:50.919640600+02:00" level=info msg="libcontainerd: new containerd process, pi
d: 46875"
Jul 17 14:11:51 dockerd[46867]: time="2017-07-17T14:11:51.922847500+02:00" level=warning msg="failed to rename /mnt/block_drive/dock
er/tmp for background deletion: rename /mnt/block_drive/docker/tmp /mnt/block_drive/docker/tmp-old: file exists. Deleting synchronously"
Jul 17 14:11:52 dockerd[46867]: time="2017-07-17T14:11:52.123141700+02:00" level=warning msg="devmapper: Usage of loopback devices i
s strongly discouraged for production use. Please use `--storage-opt dm.thinpooldev` or use `man docker` to refer to dm.thinpooldev section."
Jul 17 14:11:52 dockerd[46867]: Error starting daemon: error initializing graphdriver: devmapper: Base Device UUID and Filesystem ve
rification failed: devicemapper: Can't set cookie dm_task_set_cookie failed
Jul 17 14:11:52 systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Jul 17 14:11:52 systemd[1]: Failed to start Docker Application Container Engine.
For solving i restart the VM and restart docker
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 1
- Comments: 25 (3 by maintainers)
Commits related to this issue
- [WIP] Provide a jinja2 template for the cdi manifest (#321) * change build-manifests.sh to generate jinjia template * change verbosity to string * add file to travis — committed to kubevirt-bot/kubevirt by deleted user 6 years ago
- Merge pull request #321 from mars1024/modify/bandwidth bandwidth: get bandwidth interface in host ns through container interface — committed to mzzgaopeng/kubevirt by squeed 5 years ago
- enable selinux for 1.17 provider (#321) * enable selinux for 1.17 provider Signed-off-by: Vladik Romanovsky <vromanso@redhat.com> * add securityContext to calico-kube-controllers spec Signed-off-b... — committed to kubevirt-bot/kubevirt by vladikr 4 years ago
Hi @sylvainmouquet,
Thanks for reporting this! Are you using our Vagrant setup, or do you run your own infrastructure? We have seen this in our CentOS based Vagrant setup (https://github.com/kubevirt/kubevirt/issues/241), but it should be fixed in CentOS already.
Running
on affected nodes should be sufficient, instead of restarting docker.
Hello, I have the same type of error:
On Ubuntu 14.04 AWS
I have the problem this morning on the same machine. I have tried your solution :
I have restart the docker build and it works
Filed an issue against Docker: https://github.com/docker/for-linux/issues/85
Suggested permanent fix?
I fixed this issue by simply upgrading my Linux kernel from 3.10.0 to 4.4.83 (Current LT).
Background info: