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:
Refiled as a bug in the Pulp project: 698648
commit f971a8eb530effd29e6ae2ccb2159487da3ee0e6 tree 2dd20ff189d46547dac86d8e29b45c822157b141 698582 - Changed output for next sync in the case where the sync is running rhui-2.0/tools/src/rhui/tools/screens/sync.py
Fixed in 2.0.23.
Verified in build rhhu-tools 2.0.25 pulp 0.181 Its working fine and showing correct status. "Next sync" showing correct status/time when sync is running. In other case, "next sync" showing correct time when repo sync finished. Eralier it was showing as unscheduled. ------------------------------------------------------------------------------ -= Red Hat Update Infrastructure Management Tool =- -= Repository Synchronization Status =- Last Refreshed: 15:57:44 (updated every 50 seconds, ctrl+c to exit) Next Sync Last Sync Last Result ------------------------------------------------------------------------------ Red Hat Enterprise Linux Server 6 Updates (RPMs) (6Server-x86_64) 05-26-2011 16:49 Never scheduled Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-i386) 05-26-2011 16:46 05-26-2011 15:56 finished Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64) 05-26-2011 16:46 Never scheduled Connected: dhcp193-79.pnq.redhat.com ------------------------------------------------------------------------------ ^Crhui (sync) => dr ------------------------------------------------------------------------------ -= Red Hat Update Infrastructure Management Tool =- -= Repository Synchronization Status =- Last Refreshed: 16:58:49 (updated every 50 seconds, ctrl+c to exit) Next Sync Last Sync Last Result ------------------------------------------------------------------------------ Red Hat Enterprise Linux Server 6 Updates (RPMs) (6Server-x86_64) 05-26-2011 16:49 Never running Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-i386) 05-26-2011 17:46 05-26-2011 16:47 finished Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64) 05-26-2011 17:46 05-26-2011 16:47 finished Connected: dhcp193-79.pnq.redhat.com ------------------------------------------------------------------------------ ^Crhui (sync) =>
moving to release pending
closing out, product released