Open felixboehm opened 4 years ago
Here are my hetzner deploy scripts coming: https://github.com/owncloud-docker/compose-playground/pull/22
The code of above is implemented by make_aarnet_eos_test.sh
not sure if it matters but at the tests at the end of the script seem to fail:
===== TESTING EOSD & EOSXD MOUNTS =====
eos: Writing a test file..
./setup: line 172: e/eos/test/hello.txt: No space left on device
Reading the test file..
cat: e/eos/test/hello.txt: No such file or directory
eosxd: Writing a test file..
echo: write error: No space left on device
Reading the test file..
cat: e/eosxd/test/hello.txt: No space left on device
..All done!
I stumbled upon the same behavior commented by @individual-it
===== TESTING EOSD & EOSXD MOUNTS =====
eos: Writing a test file.. ./setup: line 172: e/eos/test/hello.txt: No space left on device
Reading the test file.. cat: e/eos/test/hello.txt: No such file or directory
eosxd: Writing a test file.. echo: write error: No space left on device
Reading the test file.. cat: e/eosxd/test/hello.txt: No space left on device
..All done!
@davitol @individual-it if that 'No space left on device' error happens, the setup code failed to create the filesystems. If correct the console output should says
===== CREATING FILESYSTEMS =====
success: mapped 'eosfs1' <=> fsid=1
success: mapped 'eosfs2' <=> fsid=2
success: mapped 'eosfs3' <=> fsid=3
success: mapped 'eosfs4' <=> fsid=4
.. Done!
The code would e.g. fail when there is no TTY attached. as it is run with docker exec -ti
instead of a plain docker exec
.
Fixed here: https://github.com/owncloud-docker/compose-playground/blob/master/examples/hetzner-deploy/make_aarnet_eos_test.sh
There might be more preconditions missing in your case, like docker not using overlayfs2, or dockerd not running with MountFlags=shared
My make_aarnet_eos_test.sh
also ensures the MountFlag, but does not assert overlayfs2 yet -- not exectly sure if strictly needed.
new script make_ocis_eos_docker_test.sh
on linux
Open