I must have something fundamentally wrong in my setup. Nobody else seems to have this issue although are having other issues. Anyhow, I have upgraded to 1.2 and tried to spin up a Rancher-nfs stack. The nfs-driver service spins up a container on each host, but each container starts and then stops with the following errors:
12/14/2016 11:28:17 PMtime="2016-12-15T05:28:17Z" level=info msg=Running
12/14/2016 11:28:17 PMtime="2016-12-15T05:28:17Z" level=info msg=Starting
12/14/2016 11:28:17 PMtime="2016-12-15T05:28:17Z" level=fatal msg="Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"
12/14/2016 11:28:19 PMtime="2016-12-15T05:28:19Z" level=info msg=Running
12/14/2016 11:28:19 PMtime="2016-12-15T05:28:19Z" level=info msg=Starting
12/14/2016 11:28:19 PMtime="2016-12-15T05:28:19Z" level=fatal msg="Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"
I donāt have a clue what could be going wrong here. Could it be the version of Docker? Iām running 1.11.2.
As a troubleshooting step I copied the compose files and started up a custom stack using the same config, except I changed it to mount the docker.sock ( - /var/run/docker.sock:/var/run/docker.sock). That got rid of the above error, but then it failed with the following error:
12/14/2016 11:38:33 PMtime="2016-12-15T05:38:33Z" level=info msg=Running
12/14/2016 11:38:33 PMtime="2016-12-15T05:38:33Z" level=info msg=Starting
12/14/2016 11:38:35 PMtime="2016-12-15T05:38:35Z" level=fatal msg="getting driver ID: rancher-nfs is not a driver registered with the current Rancher environment"
12/14/2016 11:39:03 PMtime="2016-12-15T05:39:03Z" level=info msg=Running
12/14/2016 11:39:03 PMtime="2016-12-15T05:39:03Z" level=info msg=Starting
12/14/2016 11:39:05 PMtime="2016-12-15T05:39:05Z" level=fatal msg="getting driver ID: rancher-nfs is not a driver registered with the current Rancher environment"
Any help would be appreciated. Iām completely lost on this one. There seems to be no documentation on how to run this stack, although it should be straight forward. I donāt know if I am missing a dependency or what other issues might be going on in my environment to cause this.