juicedata / docker-volume-juicefs

Docker volume plugin for juicefs
30 stars 8 forks source link

volume is not immediately ready when mounted to a container #2

Closed yujunz closed 6 years ago

yujunz commented 6 years ago

See https://travis-ci.com/juicedata/docker-volume-juicefs/builds/72528323

container_linux.go:265: starting container process caused "process_linux.go:368: container init caused \"rootfs_linux.go:57: mounting \\\"/var/lib/docker/plugins/89be0960ab9c4ca184f89070549a79eefb0058d2eace4ac4c8caa4c42295eb21/rootfs/jfs/volumes/ci-aliyun\\\" to rootfs \\\"/var/lib/docker/overlay2/853ef9df93d3557b05af3523d7e1babfb1413a7c93aac48c4f86e4e8c6186e09/merged\\\" at \\\"/write\\\" caused \\\"stat /var/lib/docker/plugins/89be0960ab9c4ca184f89070549a79eefb0058d2eace4ac4c8caa4c42295eb21/rootfs/jfs/volumes/ci-aliyun: input/output error\\\"\""

The same procedure works well when doing it manually step by step even in travix-ci environment.