NBD image become ro by default on debian workers
NBD jobs works fine on my gentoo worker. But on debian it is impossible to mount them on DUT rw. This is due to debian having /etc/nbd-server/config which lead to nbd-server running as nbd. And so the nbd-server cannot write the local image owned by root.
There are multiple solution:
- Let worker admin change this file to "user = root"
- LAVA could chown image to nbd
- LAVA could chown image to a specific value via an option
2 and 3 are the better choice. I will came with a PR for 2 at least. But comment are welcome.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information