So whenever the containers come up the logs look like this:
10/18/2016 10:55:14 PMWaiting for metadata
10/18/2016 10:55:15 PMtime="2016-10-18T20:55:15Z" level=info msg="Execing [/usr/bin/nsenter --mount=/proc/19834/ns/mnt -F -- /var/lib/docker/aufs/mnt/d0d5b99eacca64567698ad55a5087f0a5b9b6cde2638bfb61adc04934c0ba861/var/lib/rancher/convoy-agent/share-mnt --stage2 /var/lib/rancher/convoy/Not found-Not found -- /launch volume-agent-nfs-internal 19834]"
10/18/2016 10:55:15 PMTimestamp: 2016-10-18 20:55:15.959195851 +0000 UTC
10/18/2016 10:55:15 PMCode: System error10/18/2016 10:55:15 PM
10/18/2016 10:55:15 PMMessage: stat found-Not: no such file or directory
[...]
I’m using:
Docker version 1.12.1, build 23cf638 on Debian 8.3
Rancher
v1.2.0-pre4-rc2
Cattle
v0.170.1
User Interface
v1.2.13
Rancher Compose
v0.11.0-rc2
Note the above buggy nsenter command especially “–stage2 /var/lib/rancher/convoy/Not found-Not found --”
On the host you can then find something like this:
$:/var/lib/rancher/convoy# ls -l
total 8
drwxr-xr-x 3 root root 4096 Oct 18 20:55 convoy-nfs-2d88e5cd-7c48-49da-8af0-06a94ae1e757
drwxr-xr-x 2 root root 4096 Oct 18 20:55 Not
$:/var/lib/rancher/convoy#
I’ve installed nfs-server and nfs-common. I tried it with and without nfsvers=4 and i always used the latest version in the catalog (v0.4.0).
My gut-feeling tells me i’m missing something obvious here, any idea? I tried that with docker-nfs but also manual nfs.
@k9ert I replied to your PR. We can continue the conversation there. Also, I opened this issue to track: https://github.com/rancher/rancher/issues/6387. Because of the large number of projects/microservices we have, we centralize bug tracking in the rancher repo.