action #27868
closed
Refactor openQA::Setup Configuration and logging initialization
Added by szarate about 7 years ago.
Updated over 4 years ago.
Category:
Feature requests
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.
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.
- Related to action #25958: [tools][sprint 201710.2][sprint 201711.1][easy hack] Harmonizing logging setup across openQA added
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.
As per poo#27934, my comment and Sergio's are not valid anymore, we could not reproduce this either.
- Target version changed from future to future
- Category set to Feature requests
- Status changed from New to In Progress
- Assignee set to livdywan
- Due date set to 2020-04-08
- Status changed from In Progress to Feedback
- Status changed from Feedback to Resolved
Also available in: Atom
PDF