I have a repo that was created with RHUI, which means it has a sync schedule on it. I'm unable to delete that repo now. Below is a breakdown of the commands I used: ---- Not sure what "progress unknown" means, if that means in progress or some hung state. [root@guardian ~]# pulp-admin repo status --id rhui-1.2-5Server-x86_64 +------------------------------------------+ Status for rhui-1.2-5Server-x86_64 +------------------------------------------+ Repository: rhui-1.2-5Server-x86_64 Number of Packages: 13 Last Sync: 2011-05-11 16:01:58-04:00 Currently syncing: progress unknown ---- Whatever it is, I can't delete: [root@guardian ~]# pulp-admin repo delete --id rhui-1.2-5Server-x86_64 error: operation failed: PulpException: "Repo cannot be deleted because of sync in progress. You can cancel ongoing sync using 'repo cancel_sync' command." ---- I tried cancelling whatever was in progress and it looks like it worked: [root@guardian ~]# pulp-admin repo cancel_sync --id rhui-1.2-5Server-x86_64 Sync for repository rhui-1.2-5Server-x86_64 canceled ---- But I still can't delete: [root@guardian ~]# pulp-admin repo delete --id rhui-1.2-5Server-x86_64 error: operation failed: PulpException: "Repo cannot be deleted because of sync in progress. You can cancel ongoing sync using 'repo cancel_sync' command."
added removal of scheduled syncs as first part of delete fix pushed in: ad776addad0b7bedcffd69c7b56b5dc3b23ec918
build: 0.177
verified [root@preethi ~]# rpm -q pulp pulp-0.0.178-1.fc14.noarch [root@preethi ~]# pulp-admin repo create --id=sync-schedule-delete --feed=http://repos.fedorapeople.org/repos/pulp/pulp/fedora-14/x86_64/ --interval PT1H --start=2011-05-20T11:15-06:00 Successfully created repository [ sync-schedule-delete ] [root@preethi ~]# pulp-admin repo delete --id=sync-schedule-delete Successful deleted repository [ sync-schedule-delete ]
Closing with Community Release 15 pulp-0.0.223-4.