contiv-experimental / demo

Easy cut demos to try contiv [DEPRECATED]
Other
6 stars 25 forks source link

docker installation is failing #82

Closed ankithg closed 7 years ago

ankithg commented 8 years ago

I had run the script and everything was up. My VMs shut down for some reason. Once I brought them up, docker swarm and netmaster were down. I tried running the script again. I am consistently running into this error

TASK [docker : ensure docker is started] *** fatal: [node1]: FAILED! => {"changed": false, "failed": true, "msg": "Job for docker.service failed because the control process exited with error code. See \"systemctl status docker.service\" and \"journalctl -xe\" for details.\n"}

ankithg commented 8 years ago

rm -rf /var/lib/docker/ solved the problem

jainvipin commented 8 years ago

@shaleman - is this a docker issue, or our installation issue?

shaleman commented 8 years ago

This sounds like its related to overlayfs. I'm guessing, different version of docker was previously installed on this machine which was using default graph-driver. In our ansible, we force overlayfs graph driver. Docker daemon will fail to start if there are docker images in /var/lib/docker from different graph driver. @mapuri @vvb Should we force remove /var/lib/docker/ before installing docker in ansible?