Project

General

Profile

Actions

action #95768

open

containers: the single_container_test shows this error "Permission denied" when tries to create the directory "/var/lib/openqa/share/factory/tmp"

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

Status:
New
Priority:
Low
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2021-07-21
Due date:
% Done:

0%

Estimated time:

Description

Motivation

Thanks to a previous issue #95179 we could see in the logs that the webui has permissions problems on the "factory" directory
e.g. https://openqa.opensuse.org/tests/1830297#step/single_container_webui/107

The reason is because the directory has the root user (in the container) but the webui is executed with the geekotest user.

Acceptance Criteria

  • AC 1: webui can create the needed directories in /var/lib/openqa/share/factory

Suggestion

  • Currently if the container doesn't fail the logs are not be printed, so print "docker logs openqa_webui" the logs before destroy the container
  • Check if there are other directories that require to be created from the webui and can be created
Actions

Also available in: Atom PDF