Description of problem: Looks like cancel sync does not cancel syncs of repos that has automatic sync schedules. Version-Release number of selected component (if applicable): How reproducible: [root@preethi ~]# rpm -q pulp pulp-0.0.232-1.fc15.noarch Steps to Reproduce: 1. Create a repo with automatic sync schedule 2. Run a manual repo sync 3. Try to cancel the above repo sync
the sync cancel used to always "cancel" the scheduled sync instead of the running one changed the sync task search criteria to look for running or immediate and waiting tasks
build: 0.238
verified [root@preethi ~]# rpm -qa pulp pulp-0.0.238-1.fc15.noarch [root@preethi ~]# pulp-admin -u admin -p admin repo update --id=f14 --start=2011-10-14T10:30:00-04:00:00 --interval=P1DT1H5M Successfully updated repository [ f14 ] [root@preethi ~]# pulp-admin repo sync --id=f14 -F Sync for repository f14 started Sync: Canceled Item Details: Tree_File: 7/7 Rpm: 2766/2766
Pulp v1.0 is released Closed Current Release.
Pulp v1.0 is released.