action #27868
closedRefactor openQA::Setup Configuration and logging initialization
0%
Description
Currently all logger configuration is lives within OpenQA::Setup but it should live in it's own space like OpenQA::Configuration OpenQA::Logger so that console aplications like the worker, that do not require database don't get cluttered.
Updated by szarate about 7 years ago
Maybe this is not related, but Sergio got this when trying his dockerized worker approach
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.
Updated by szarate about 7 years ago
- Related to action #25958: [tools][sprint 201710.2][sprint 201711.1][easy hack] Harmonizing logging setup across openQA added
Updated by SLindoMansilla about 7 years ago
szarate wrote:
Maybe this is not related, but Sergio got this when trying his dockerized worker approach
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.
Not only the dockerized version. The current worker version from http://download.opensuse.org/repositories/devel:/openQA/openSUSE_Leap_42.3 have the same problem.
Updated by szarate about 7 years ago
As per poo#27934, my comment and Sergio's are not valid anymore, we could not reproduce this either.
Updated by okurz over 4 years ago
- Status changed from New to In Progress
- Assignee set to livdywan
Updated by okurz over 4 years ago
- Due date set to 2020-04-08
- Status changed from In Progress to Feedback
Updated by livdywan over 4 years ago
This step is probably also needed to resolve this if I understood the request correctly https://github.com/os-autoinst/openQA/pull/2912
Updated by szarate over 4 years ago
cdywan wrote:
This step is probably also needed to resolve this if I understood the request correctly https://github.com/os-autoinst/openQA/pull/2912
Yep, looks like so :) Thanks!