action #179425
closed
Added by okurz 9 days ago.
Updated 2 days ago.
Category:
Regressions/Crashes
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 open — 0 closed)
- Copied from action #177276: Make use of config files in openqa.ini.d for OSD specific settings size:S added
- Status changed from New to Feedback
- Assignee set to mkittler
- Copied from deleted (action #177276: Make use of config files in openqa.ini.d for OSD specific settings size:S)
- Blocks action #177276: Make use of config files in openqa.ini.d for OSD specific settings size:S added
- Status changed from Feedback to In Progress
- 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)
- Status changed from In Progress to Feedback
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.
- Status changed from Feedback to In Progress
- 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.
Also available in: Atom
PDF