Description of problem: Sync status showing never synced even though the repositories has been synced successfully How reproducible: Sync a repository and check the Content --> sync status page after few days. It will be showing Never Synced and there is no other information available. Navigate to Content --> Products, here the correct data is available, synced or not, package count, last sync etc.
Created attachment 1754665 [details] sync_status
Created attachment 1754666 [details] product_page
Is it possible that task cleanup was performed on the Satellite? If so, the sync status task may no longer exist.
Hi Brad, Yes, I have cleaned the sync tasks and initiated new ones. However the sync status should be showing synced(something like already or just synced) as the packages has been downloaded right ? Regards.
(In reply to mithun kalyat from comment #4) > Hi Brad, > > Yes, I have cleaned the sync tasks and initiated new ones. However the sync > status should be showing synced(something like already or just synced) as > the packages has been downloaded right ? > > Regards. Hey Mithun, From your last comment, can you confirm that you can see the sync status after the new sync tasks were run? To show the sync status of a repository, we need the last sync task for the repository. The cleanup rake task if set to run automatically, deletes all stopped tasks older than 30 days and all tasks older than a year. https://access.redhat.com/solutions/2755731 . Is that what was set up in the system?
Hi Samir, Just to clarify, I am concerned about the message we are seeing for repositories under Content --> sync status page. So after few days or when we run a sync task clean up as per https://access.redhat.com/solutions/2755731, you will see the status of repository is 'Never synced'. It is actually confusing because we have already synced the repository but just cleaned the tasks. I understand this is based on tasks and when we clear it, the status will change. My request is to at least change the message to something like 'Synced' or 'Sync tasks Cleaned' instead 'Never synced'. Hope this clear, please let me know if you still have any questions for me.
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34143 has been resolved.
*** Bug 2056515 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Satellite 6.11 Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:5498