Issue with smart proxy server

Problem: Issue with smart proxy server synchronization status

Expected outcome:- Should not see the synchronization status running when there is no synchronization task is going.

Foreman and Proxy versions: Foreman 3.13 Katello 4.15

**Foreman and Proxy plugin versions:**Foreman 3.13 Katello 4.15

Distribution and version: Rocky 9

Other relevant data:

Hi Team,

We are having foreman setup as one foreman main server, one DB server and two proxy servers. On of the proxy server, we are getting sync status is showing as 68% but there is no sync is going on currently in UI. But on the 2nd smart proxy server, we didnot face this kind of issue.


  hammer proxy content synchronization-status --id 2
Last sync:                    2025/05/07 18:38:33
Status:                       Capsule is synchronized
Currently running sync tasks:
 1) Task id:  eb406c5d-e564-420c-8587-9337f702db96
    Progress: 64%
 2) Task id:  67bbbe8e-93a4-4df5-8a60-7e53e0b3cb93
    Progress: 71%
Last failure:
    Task id:
    Messages:

In UI, Its showing as below for the smart proxy:

Content Sync

Smart proxy is synchronized

68%

Last sync: 2025-05-08 00:08:33 +0530

This is from the smart proxy server where we didnot face any issue:

hammer proxy content synchronization-status --id 4
Last sync:                    2025/05/07 14:43:53
Status:                       Capsule is synchronized
Currently running sync tasks:

Last failure:
    Task id:
    Messages:

Please help us on this issue.