action #170464
closedopenQA Project (public) - coordination #58184: [saga][epic][use case] full version control awareness within openQA
openQA Project (public) - coordination #152847: [epic] version control awareness within openQA for test distributions
Enable automatic openQA git clone instead of fetchneedles on o3
0%
Description
Motivation¶
We have a new feature called git_auto_update
(see #164898). The implementation highlighted areas that needed to be improved before it can be used in production. Provided all blockers are addressed we should enable this on o3.
Acceptance criteria¶
- AC1: Git repos are updated via a minion jobs
- AC2: Cron jobs are no longer needed
Suggestions¶
- See #166721#note-15 for context
- Disable cron job as a first thing
- Just enable the automatic cloning either first manually or directly via salt
- Monitor the impact, e.g. failed minion jobs or stalled minion jobs or not enough jobs picked up or executed in time, see also job-related queries on Grafana
- Enable new systemd timer
Updated by tinita 13 days ago
- Related to action #168376: Enable automatic openQA git clone instead of fetchneedles on OSD size:S added
Updated by tinita 13 days ago
- Related to action #164898: Replace fetchneedles with a minion job for the regular update of git repos size:M added
Updated by tinita 13 days ago
livdywan wrote in #note-8:
Well when I asked in Slack you said it's not enabled. Are you saying it is enabled? Or should that ticket be re-opened? Feel free to go ahead and update either ticket I guess.
I said I think it is not enabled. I thought you would check first.
It is enabled explicitly on o3, but not on osd
# o3
% grep auto_update /etc/openqa/openqa.ini
git_auto_update = yes
% cat /etc/cron.d/openqa-update-git
...
# tina 2024-10-16 replace by git_auto_update https://progress.opensuse.org/issues/164898
#-*/1 * * * * geekotest env updateall=1 force=1 /usr/share/openqa/script/fetchneedles > /dev/null 2>&1