Red Hat Update Infrastructure systemd/Timers
Systemd timers are systemd unit files that end in .timer that control .service files or events. Several repetitive tasks are automatically scheduled and run in Red Hat Update Infrastructure, on the RHUA node in particular.
| Timer file | Purpose | Frequency | Log file |
|---|---|---|---|
|
|
export synchronized content |
every 5 minutes; randomized |
|
|
|
delete orphaned content |
weekly, on 4am every Wednesday |
|
|
|
delete temporary files left behind by Pulp |
weekly, on 3am every Tuesday |
|
|
|
clean up temporary directories from uploads to custom repositories |
every 5 minutes; randomized |
|
|
rhui-repo-sync-timer |
synchronize repositories, if they are due |
every 5 minutes; randomized |
(none; see the systemd journal instead) |
|
rhui-symlinks-cleanup-deepscan.timer |
delete all broken symlinks to deleted artifacts |
yearly, at 4am on the Tuesday in January that is between the 16th and the 22nd |
/root/.rhui/rhui.log |
|
rhui-synchronize-subscriptions.timer |
check for changes to the entitlement certificate, and import a new one if needed |
hourly; randomized |
|
|
rhui-update-mappings.timer |
update the information about available minor versions |
every six hours; randomized |
|
Parameters for systemd timers Copy linkLink copied!
- Timer files are stored in
/usr/lib/systemd/systemin the RHUA container. - All the log file paths are in the RHUA container. Note that
/var/log/rhuiis also available on the RHUA host as/var/lib/rhui/log, and/root/.rhuiis available as/var/lib/rhui/root/.rhui - Timers are randomized when the RHUA container starts or is restarted.
- To view all the Red Hat Update Infrastructure timers, run the following command in the RHUA container:
systemctl list-timers --all rhui\*
In addition to the above-mentioned timers, which exist in the RHUA container, the following timers are installed on the host systems where the RHUA, CDS, and HAProxy containers run.
| Timer file | Purpose | Frequency | Log file |
|---|---|---|---|
|
|
remove old versions of Red Hat Update Infrastructure container images |
weekly, at 4am every Sunday |
|