Project

General

Profile

Actions

action #179425

closed

coordination #154768: [saga][epic][ux] State-of-art user experience for openQA

coordination #179356: [epic] Better config file management

Fix reading files from /etc/openqa/openqa.ini.d/ size:S

Added by okurz 8 days ago. Updated 1 day ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2025-03-24
Due date:
% Done:

0%

Estimated time:
Tags:

Description

Observation

As observed in #177276 openQA never reads files in /etc/openqa/openqa.ini.d/ as it reads from /usr/share/openqa/etc/openqa/ which has symlinks to openqa.ini or database.ini

Acceptance criteria

  • AC1: drop-in config files from /etc/openqa/openqa.ini.d/ are read by the openQA webUI when installed from the package
  • AC2: /etc/openqa/openqa.ini if present is still read
  • AC3: the openQA worker can still read /etc/openqa/workers.ini
  • AC4: the openQA-client can still read /etc/openqa/client.conf

Suggestions

  • Understand where the difference in reading comes from regarding symlinks in /usr/share/openqa/etc/openqa
  • Crosscheck worker+client from package installations
  • Verify with openQA-in-openQA tests

Out of scope

drop-in config file support for database.ini, client, worker


Related issues 1 (1 open0 closed)

Blocks openQA Infrastructure (public) - action #177276: Make use of config files in openqa.ini.d for OSD specific settings size:SBlockedokurz

Actions
Actions #1

Updated by okurz 8 days ago

  • Copied from action #177276: Make use of config files in openqa.ini.d for OSD specific settings size:S added
Actions #2

Updated by mkittler 8 days ago

  • Status changed from New to Feedback
  • Assignee set to mkittler
Actions #3

Updated by okurz 7 days ago

  • Copied from deleted (action #177276: Make use of config files in openqa.ini.d for OSD specific settings size:S)
Actions #4

Updated by okurz 7 days ago

  • Blocks action #177276: Make use of config files in openqa.ini.d for OSD specific settings size:S added
Actions #5

Updated by okurz 7 days ago

https://github.com/os-autoinst/openQA/pull/6324 was merged and reverted as it broke o3.

Actions #6

Updated by okurz 5 days ago

  • Status changed from Feedback to In Progress
Actions #7

Updated by okurz 5 days ago

  • Subject changed from Fix reading files from /etc/openqa/openqa.ini.d/ to Fix reading files from /etc/openqa/openqa.ini.d/ size:S
  • Description updated (diff)
Actions #8

Updated by mkittler 5 days ago

  • Status changed from In Progress to Feedback
Actions #9

Updated by mkittler 4 days ago

The latest PR is now deployed on o3 and it seems to work. The only problem I found it that one gets Mar 28 14:06:19 ariel openqa-webui-daemon[8657]: Can't open directory "/etc/openqa/openqa.ini.d": Permission denied at /usr/share/openqa/script/../lib/OpenQA/Config.pm line 29. even after changing the ownership of that directory. I suppose it is due to apparmor.

Actions #10

Updated by emiler 1 day ago

  • Status changed from Feedback to In Progress
Actions #11

Updated by mkittler 1 day ago

  • Status changed from In Progress to Resolved

The symlinking has been removed so AC1 is now fulfilled. I have tested this locally with a packaged installation. The other config files are also still read so the remaining ACs are also fulfilled.

Actions

Also available in: Atom PDF