Hi Anibal,
On Wednesday 20 December 2017 03:39 PM, Senthil Kumaran S wrote:
I think the more appropriate place to add a loop device to the container will be the LXC protocol. When the protocol is defined the job writer can request loop device.
We had a proper design discussion within the LAVA team in order to solve this considering ease of administration and avoiding resource starvation. The following has been decided:
* The device dictionary will hold the loop device details for each DUT. * The number of loop devices and the exact loop devices a DUT shall use will be part of the device dictionary. * The admin should ensure the availability of loop devices as configured in each device dictionary. * There will be an easy way to check the loop devices are not duplicated among device dictionaries. * The loop device configuration will apply only to DUTs that use LXC directly or indirectly. * Documentation explaining how to expose/configure availability of loop devices within LXC.
The work related to this will be tracked via the LAVA story - https://projects.linaro.org/browse/LAVA-1188
Thank You.