Description of problem: when performing a sync cancel, seeing pulp throw a os error traceback. note that the traceback below is not the same repo that i am trying to sync Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pulp/server/tasking/task.py", line 335, in run result = self.callable(*self.args, **self.kwargs) File "/usr/lib/python2.7/site-packages/pulp/server/api/repo.py", line 1501, in _sync threads) File "/usr/lib/python2.7/site-packages/pulp/server/api/repo_sync.py", line 145, in sync progress_callback, max_speed, threads) File "/usr/lib/python2.7/site-packages/pulp/server/api/repo_sync.py", line 474, in sync pulp.server.util.create_repo(store_path, groups=groups_xml_path, checksum_type=repo['checksum_type']) File "/usr/lib/python2.7/site-packages/pulp/server/util.py", line 380, in create_repo shutil.copytree(current_repo_dir, backup_repo_dir) File "/usr/lib/python2.7/shutil.py", line 174, in copytree os.makedirs(dst) File "/usr/lib/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 17] File exists: '/var/lib/pulp//repos/kalpana/Fedora/14/x86_64/repodata.old' Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
commit e776210c3b93d9aaabadeb6a40decf429db46cb7
build: 0.170
verified [root@preethi ~]# rpm -q pulp pulp-0.0.172-1.fc14.noarch [root@preethi ~]# pulp-admin repo sync --id=f14-original Sync for repository f14-original started Use "repo status" to check on the progress [root@preethi ~]# pulp-admin repo sync --id=f13-original Sync for repository f13-original started Use "repo status" to check on the progress [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# pulp-admin repo cancel_sync --id=f14-original Sync for repository f14-original canceled No error in pulp.log either
Closing with Community Release 15 pulp-0.0.223-4.