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 almost 4 years ago. Updated over 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 (1 open1 closed)

Related to openQA Project (public) - action #76978: How to run an openQA test in 5 minutes size:MResolvedjbaier_cz2020-11-04

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

Actions
Actions

Also available in: Atom PDF