(Originally filed in the RHUI project, I created this bug in Pulp since the functionality for rescheduling resides in there) Description of problem: When a scheduled repo sync get finished, the status in "Next sync" field is automatically set as "unscheduled". Even I re-trigger the sync schedule for same repo, still the status of "Next sync" remains "unscheduled" and status in "Last result" set as running. Version-Release number of selected component (if applicable): pulp 0.168 RHUI Tool 2.0.15 How reproducible: Always Steps to Reproduce: 1. Schedule a repo sync and when sync will be finished, check the status in "Next Sync" 2. Retrigger the schedule repo sync for same repo, sync started and state changed to "running" under "Last result" but status of "Next sync" remains "unscheduled" Actual results: "Next sync status remains "Unscheduled" Expected results: Proper time should be set for "Next sync" after triggering the repo sync . Additional info: See the status for 2nd repo (Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64) ) -= Repository Synchronization Status =- Last Refreshed: 10:57:36 (updated every 5 seconds, ctrl+c to exit) Next Sync Last Sync Last Result ------------------------------------------------------------------------------ Red Hat Enterprise Linux Server 6 Updates (SRPMS) (6Server-x86_64) 04-21-2011 11:14 04-21-2011 05:00 finished Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64) 04-21-2011 10:57 04-21-2011 05:17 running Connected: dhcp193-131.pnq.redhat.com ------------------------------------------------------------------------------ -= Repository Synchronization Status =- Last Refreshed: 10:58:49 (updated every 5 seconds, ctrl+c to exit) Next Sync Last Sync Last Result ------------------------------------------------------------------------------ Red Hat Enterprise Linux Server 6 Updates (SRPMS) (6Server-x86_64) 04-21-2011 11:14 04-21-2011 05:00 finished Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64) Unscheduled 04-21-2011 05:27 finished Connected: dhcp193-131.pnq.redhat.com ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ -= Red Hat Update Infrastructure Management Tool =- -= Repository Synchronization Status =- Last Refreshed: 11:00:08 (updated every 5 seconds, ctrl+c to exit) Next Sync Last Sync Last Result ------------------------------------------------------------------------------ Red Hat Enterprise Linux Server 6 Updates (SRPMS) (6Server-x86_64) 04-21-2011 11:14 04-21-2011 05:00 finished Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64) Unscheduled 04-21-2011 05:27 running Connected: dhcp193-131.pnq.redhat.com ------------------------------------------------------------------------------ ^Crhui (sync) => Select one or more repositories to schedule to be synchronized before its scheduled time. The sync will happen as soon as possible depending on other tasks that may be executing in the RHUI. Last Result Next Sync Repository ------------------------------------------ - 1 : finished 04-21-2011 11:14 Red Hat Enterprise Linux Server 6 Updates (SRPMS) (6Server-x86_64) x 2 : finished Unscheduled Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64) Enter value from (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands:
One note, the text "Unscheduled" text is added by RHUI Manager in the case where the date for the next scheduled sync is returned as None.
Talked about this with Jason Connor and, based on what we can see in this bug report, this is working as intended. I'll be adding a fix to the RHUI Manager output to indicate that the next sync isn't scheduled because it's currently running.