Project

General

Profile

Actions

action #89755

closed

coordination #80142: [saga][epic] Scale out: Redundant/load-balancing deployments of openQA, easy containers, containers on kubernetes

container: Fix missing shared directories and its permissions

Added by ilausuch about 3 years ago. Updated about 3 years ago.

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


Related issues 2 (2 open0 closed)

Related to openQA Project - action #76978: How to run an openQA test in 5 minutes size:MIn Progressjbaier_cz2020-11-042024-05-10

Actions
Related to openQA Project - action #90989: containers: Configurable workdir location in docker-composeWorkable2021-04-12

Actions
Actions

Also available in: Atom PDF