I created a repo at 12:32 with an interval of 6 hours. When I query it from RHUI Manager, I see: Next sync: 04-15-2011 18:32 That's correct, it should run again in 6 hours. Then I manually kick off a sync and it shows the last sync as: Last sync: 04-15-2011 16:33 That should reflect 12:33. The other, probably related issue, is that the format of the next and last sync coming out of our API is inconsistent. The last sync is a UTC float but the next sync is a dict (with hours, minutes, etc.). These need to be made consistent.
This bug will be automatically fixed by the new iso8601 date/time support.
Fixed as part of the new iso8601 support
build: 0.176
To verify this defect quickly, I set the interval of 1 hour and its working fine. I created 3 repos using rhui-manager. and checked the status using "dr".. ------------------------------------------------------------------------------ -= Red Hat Update Infrastructure Management Tool =- -= Repository Synchronization Status =- Last Refreshed: 15:49:38 (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 Never scheduled Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64) 05-26-2011 16:46 Never scheduled Connected: dhcp193-79.pnq.redhat.com ------------------------------------------------------------------------------ Here next sync is after 1 hour. Then I triggered, the individual repo sync for the 2nd listed repo ( Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-i386)) ------------------------------------------------------------------------------ Last Result Next Sync Repository ------------------------------------------ - 1 : scheduled 05-26-2011 16:49 Red Hat Enterprise Linux Server 6 Updates (RPMs) (6Server-x86_64) x 2 : scheduled 05-26-2011 16:46 Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-i386) - 3 : scheduled 05-26-2011 16:46 Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64) Enter value (1-3) to toggle selection, 'c' to confirm selections, or '?' for more commands: c The following repositories will be scheduled for synchronization: Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-i386) Proceed? (y/n) y Scheduling sync for Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-i386)... ... successfully scheduled for the next available timeslot. ------------------------------------------------------------------------------ When sync is finished, I checked the status using "dr". And its showing correct time in "Last Sync" and in correct format. ------------------------------------------------------------------------------ -= Red Hat Update Infrastructure Management Tool =- -= Repository Synchronization Status =- Last Refreshed: 15:55:40 (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:53 finished Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64) 05-26-2011 16:46 Never scheduled Connected: dhcp193-79.pnq.redhat.com ------------------------------------------------------------------------------
Closing with Community Release 15 pulp-0.0.223-4.