The sync_list return order logic is really wonky. I thought it was chronological when I wrote this CLI command, but it's not, it's chronological by subset. I need to go in and properly order them before assuming the most recent is first in the list.
commit fd6487ee6e325e9ed479f0fca2767c326b641559 Author: Jay Dobies <jason.dobies> Date: Wed Jun 1 14:34:34 2011 -0400 708416 - Order the sync list before determining most recent sync src/pulp/client/core/cds.py
build: 0.185
[root@preethi ~]# pulp-admin cds status --hostname=pulp-cds.usersys.redhat.com +------------------------------------------+ CDS Status +------------------------------------------+ Name pulp-cds.usersys.redhat.com Hostname pulp-cds.usersys.redhat.com Description None Cluster None Sync Schedule None Repos f14, pulp Last Sync 2011-07-20 12:30:37-04:00 Status: Responding Yes Last Heartbeat 2011-07-20 17:30:39.785797+00:00 +------------------------------------------+ Most Recent Sync Tasks +------------------------------------------+ State Running Start Time 2011-07-20 13:28:43-04:00 Finish Time In Progress [root@preethi ~]# pulp-admin cds status --hostname=pulp-cds.usersys.redhat.com +------------------------------------------+ CDS Status +------------------------------------------+ Name pulp-cds.usersys.redhat.com Hostname pulp-cds.usersys.redhat.com Description None Cluster None Sync Schedule None Repos f14, pulp Last Sync 2011-07-20 13:30:56-04:00 Status: Responding Yes Last Heartbeat 2011-07-20 17:32:01.554974+00:00 +------------------------------------------+ Most Recent Sync Tasks +------------------------------------------+ State Finished Start Time 2011-07-20 13:28:43-04:00 Finish Time 2011-07-20 13:30:56-04:00 [root@preethi ~]# pulp-admin cds sync --hostname=pulp-cds.usersys.redhat.com Sync for CDS [pulp-cds.usersys.redhat.com] started Use "cds status" to check on the progress [root@preethi ~]# rpm -q pulp pulp-0.0.210-1.fc14.noarch [root@preethi ~]# pulp-admin cds status --hostname=pulp-cds.usersys.redhat.com +------------------------------------------+ CDS Status +------------------------------------------+ Name pulp-cds.usersys.redhat.com Hostname pulp-cds.usersys.redhat.com Description None Cluster None Sync Schedule None Repos f14, pulp Last Sync 2011-07-20 13:30:56-04:00 Status: Responding Yes Last Heartbeat 2011-07-20 17:33:54.466758+00:00 +------------------------------------------+ Most Recent Sync Tasks +------------------------------------------+ State Finished Start Time 2011-07-20 13:28:43-04:00 Finish Time 2011-07-20 13:30:56-04:00
Closing with Community Release 15 pulp-0.0.223-4.