Actions
action #89755
closedcoordination #80142: [saga][epic] Scale out: Redundant/load-balancing deployments of openQA, easy containers, containers on kubernetes
container: Fix missing shared directories and its permissions
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2021-03-09
Due date:
% Done:
0%
Estimated time:
Description
Observation¶
Some directories are missing generating errors like this
gru_1 | Can not create MOJO_TMPDIR : mkdir /var/lib/openqa/share/factory/tmp: Permission denied at /usr/share/openqa/script/../lib/OpenQA/Setup.pm line 306.
The directories has to be:
/data/factory/iso:rw
/data/factory/hdd:rw
/data/factory/other:rw
/data/factory/tmp:rw
/data/testresults:rw
/data/tests:ro
/data/conf:ro
Also the factory
and testresults
directories have to be writable by geekotest
user in the container
Acceptance criteria¶
- AC 1: Ensure factory/testresults directories are created
- AC 2: Ensure container user has permissions for these directories
Suggestions¶
- Does the user in the container have the right permissions?
- Does os-autoinst/openQA/... create all folders on demand?
- See https://github.com/os-autoinst/openQA/pull/3755
Actions