Bug 1220076

Summary: [doc] Issue in "Synchronizing repository metadata"
Product: [SUSE Linux Enterprise Server] PUBLIC SUSE Linux Enterprise Server 15 SP3 Reporter: Jiri Belka <jiri.belka>
Component: DocumentationAssignee: Tomáš Bažant <tbazant>
Status: RESOLVED FIXED QA Contact: Frank Sundermeyer <fs>
Severity: Normal    
Priority: P5 - None CC: antonio.gemelli
Version: unspecified   
Target Milestone: unspecified   
Hardware: Other   
OS: Other   
Whiteboard: https://jira.suse.com/browse/DOCTEAM-1318
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jiri Belka 2024-02-19 13:44:52 UTC
Synchronizing repository metadata:

https://documentation.suse.com/sles/15-SP3/html/SLES-all/cha-rmt-mirroring.html#sec-rmt-mirroring-synchronization

The main "complain" is that it is not written one should enable rmt timers... I do not remember how I installed RMT but I see "presents" are "disabled" by default:

---%>---
 # systemctl list-unit-files  |grep rmt
rmt-server-migration.service                                                         disabled        disabled
rmt-server-mirror.service                                                            disabled        disabled
rmt-server-sync.service                                                              disabled        disabled
rmt-server-systems-scc-sync.service                                                  disabled        disabled
rmt-server.service                                                                   enabled         disabled
rmt-server.target                                                                    disabled        disabled
rmt-server-mirror.timer                                                              disabled        disabled
rmt-server-sync.timer                                                                disabled        disabled
rmt-server-systems-scc-sync.timer                                                    disabled        disabled
---%<---

Thus, RMT server runs (rmt-server.service unit) but I was quite surprised not having updates (mirrored updates).

There is `systemctl status rmt-server-sync.timer' command, but it does NOT explicitly say to "enable"/start it.

Thus please do:

- add an explicit commands to enable/start needed units:

systemctl enable --now <unit>

- check wording of this part:

"... is done with the systemd timer rmt-server-sync.timer."

To be technially precise, I assume it wanted to say: The synchronization is timer-based activated by systemd <unit name> timer unit. That is, probably "is done" -> "is timer-based __activated__", so one understands clearly it is activated/triggered regularly by .timer unit.
Comment 1 Jiri Belka 2024-02-19 13:49:29 UTC
My issue is probably due to not using YaST. In any case, we should not expect all would use YaST ;) Thx.
Comment 2 Tomáš Bažant 2024-03-12 11:02:48 UTC
Thank you for reporting this bug!
It is being tracked and processed as part of our queue.
Comment 4 Jiri Belka 2024-03-22 10:40:08 UTC
(In reply to Tomáš Bažant from comment #3)
> fixed by
> https://github.com/SUSE/doc-sle/commit/
> dd32871d1483c3e3fc4dd4cfb27f99e1d129b6d7

+1