action #27934
Updated by SLindoMansilla over 6 years ago
## 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: ```bash # systemctl start openqa-worker@1 ``` OR ```bash _openqa-worker$ /usr/share/openqa/script/worker --verbose --instance 1 ``` 3. You will see the mentioned error output above. ## problem **H1:** REJECTED BY E1.2 <del>The current version openQA-worker-4.5.1511164281.966cda56-22.1.noarch is producing the same error on all distributions.</del> **H2:** VERIFIED BY E2.1 <strong>The problem is related to apparmor</strong>. **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.