Project

General

Profile

Actions

action #27934

closed

[tools][expedite][sprint 201711.2] openQA-worker doesn't start because of error with db_profiler.pm

Added by SLindoMansilla over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
-
Start date:
2017-11-20
Due date:
% Done:

100%

Estimated time:

Description

observation

When starting the worker service on an installed Leap 42.3 as on a docker container based on Leap 42.3, the worker fails to start showing the following error:

Can't locate db_profiler.pm:   Permission denied at /usr/share/openqa/script/../lib/OpenQA/Setup.pm line 26.
BEGIN failed--compilation aborted at /usr/share/openqa/script/../lib/OpenQA/Setup.pm line 26.
Compilation failed in require at /usr/share/openqa/script/../lib/OpenQA/Worker.pm line 33.
BEGIN failed--compilation aborted at /usr/share/openqa/script/../lib/OpenQA/Worker.pm line 33.
Compilation failed in require at /usr/share/openqa/script/worker line 106.
BEGIN failed--compilation aborted at /usr/share/openqa/script/worker line 106.

steps to reproduce

On Leap 42.3

  1. Install the package openQA-worker from repository http://download.opensuse.org/repositories/devel:/openQA/openSUSE_Leap_42.3 having also enabled http://download.opensuse.org/repositories/devel:/openQA:/Leap:/42.3/openSUSE_Leap_42.3
  2. Try to start a worker:
# systemctl start openqa-worker@1

OR

_openqa-worker$ /usr/share/openqa/script/worker --verbose --instance 1
  1. You will see the mentioned error output above.

problem

H1: REJECTED BY E1.2 The current version openQA-worker-4.5.1511164281.966cda56-22.1.noarch is producing the same error on all distributions.
H2: VERIFIED BY E2.1 The problem is related to apparmor.
H3: The problem is reproducible in other machine.


E1.1: Try a docker container with an image based on Tumbleweed and try to reproduce the error, following the steps.
R1.1: It fails running the container on the same machine.


E1.2: Try to reproduce the error, following the steps on a fresh installed Leap 42.3 on a different physical machine.
R1.2: It works on another machine.


E2.1: Try to start the worker with apparmor stopped.
R2.1: The worker works as expected.


E3.1: Find someone that have the same issue.
R3.1: qkzhu have the same issue.


E3.2: For qkzhu the worker also works trying with a stopped apparmor.
R3.2: Waiting for answer.

Actions

Also available in: Atom PDF