action #27868

Refactor openQA::Setup Configuration and logging initialization

Added by szarate over 2 years ago. Updated 8 months ago.

Status:NewStart date:17/11/2017
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Feature requests
Target version:QA - future
Difficulty:
Duration:

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.


Related issues

Related to openQA Project - action #25958: [tools][sprint 201710.2][sprint 201711.1][easy hack] Harm... Resolved 11/10/2017

History

#1 Updated by szarate over 2 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.

#2 Updated by szarate about 2 years ago

  • Related to action #25958: [tools][sprint 201710.2][sprint 201711.1][easy hack] Harmonizing logging setup across openQA added

#3 Updated by SLindoMansilla about 2 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.

#4 Updated by szarate about 2 years ago

As per poo#27934, my comment and Sergio's are not valid anymore, we could not reproduce this either.

#5 Updated by okurz over 1 year ago

  • Target version changed from future to future

#6 Updated by okurz 8 months ago

  • Category set to Feature requests

Also available in: Atom PDF