Project

General

Profile

action #89755

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 5 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Concrete Bugs
Target version:
Start date:
2021-03-09
Due date:
% Done:

0%

Estimated time:
Difficulty:

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

Related to openQA Project - action #76978: How to run an openQA test in 5 minutesBlocked2020-11-04

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

History

#1 Updated by ilausuch 5 months ago

  • Description updated (diff)

#2 Updated by cdywan 5 months ago

  • Description updated (diff)

#3 Updated by cdywan 5 months ago

  • Description updated (diff)

Note:

  • I re-phrased it to not assume that the problem is on the container side. Maybe it is, but let's not prescribe the solution here.
  • I removed the explicit AC for tests since I think it's implied for a bug fix.

#4 Updated by cdywan 5 months ago

  • Related to action #76978: How to run an openQA test in 5 minutes added

#5 Updated by okurz 5 months ago

  • Status changed from New to Workable
  • Target version set to future
  • Parent task set to #80142

thanks, looks good. We can consider taking this story onto our backlog as soon as the current task related to automatic tests for the current state are completed unless of course the automatic tests already reproduce the problem visible within this ticket.

#6 Updated by ilausuch 5 months ago

  • Assignee set to ilausuch

#7 Updated by ilausuch 5 months ago

  • Status changed from Workable to In Progress

#8 Updated by ilausuch 5 months ago

#9 Updated by cdywan 5 months ago

ilausuch wrote:

https://github.com/os-autoinst/openQA/pull/3783
still incomplete because AC3

what AC3?

#10 Updated by okurz 5 months ago

Please stop working on "future" tickets!

#11 Updated by openqa_review 5 months ago

  • Due date set to 2021-03-26

Setting due date based on mean cycle time of SUSE QE Tools

#12 Updated by okurz 5 months ago

  • Due date deleted (2021-03-26)
  • Status changed from In Progress to Workable
  • Assignee deleted (ilausuch)

As discussed in chat. We should focus on the tasks that are in our backlog for now.

#13 Updated by ilausuch 3 months ago

The directories declaration was fixed on the commit https://github.com/os-autoinst/openQA/commit/8a210eeacf09df21cfe7de632cafcb9c43bcc06e
Also the permissions over these directories.

However I would like to refer to this task #90989

#14 Updated by ilausuch 3 months ago

  • Related to action #90989: containers: Configurable workdir location in docker-compose added

#15 Updated by cdywan 3 months ago

ilausuch wrote:

The directories declaration was fixed on the commit https://github.com/os-autoinst/openQA/commit/8a210eeacf09df21cfe7de632cafcb9c43bcc06e
Also the permissions over these directories.

However I would like to refer to this task #90989

So the way I read the commit, I think this ticket is Resolved. And #90989 would probably be an improvement.

#16 Updated by ilausuch 3 months ago

I agree

#17 Updated by ilausuch 3 months ago

  • Status changed from Workable to Resolved

Also available in: Atom PDF