Description of problem: Saw the following error on repo sync. Saw it the very first time I ran repo sync on a yum repo. Not able to reproduce it though. [root@preethi ~]# rpm -q pulp pulp-0.0.137-1.fc14.noarch [root@preethi ~]# rpm -q grinder grinder-0.0.79-1.fc14.noarch [root@preethi ~]# pulp-admin -u admin -p admin repo sync --id=f14 -F Sync for repository f14 started Step: Finished Waiting / Traceback (most recent call last): File "/usr/bin/pulp-admin", line 147, in <module> admin.main() File "/usr/lib/python2.7/site-packages/pulp/client/cli/base.py", line 98, in main command.main(args[1:]) File "/usr/lib/python2.7/site-packages/pulp/client/core/base.py", line 118, in main action.main(args[1:]) File "/usr/lib/python2.7/site-packages/pulp/client/core/base.py", line 231, in main self.run() File "/usr/lib/python2.7/site-packages/pulp/client/core/repo.py", line 684, in run self.sync_foreground(task) File "/usr/lib/python2.7/site-packages/pulp/client/core/repo.py", line 653, in sync_foreground self.print_sync_finish(task['state'], task['progress']) File "/usr/lib/python2.7/site-packages/pulp/client/core/repo.py", line 639, in print_sync_finish current += self.form_error_details(progress) File "/usr/lib/python2.7/site-packages/pulp/client/core/repo.py", line 259, in form_error_details ret_val += "\t" + errors + "\n" TypeError: cannot concatenate 'str' and 'dict' objects Additional info:
http://git.fedorahosted.org/git/?p=pulp.git;a=commit;h=eb247ee1ce9a96c1b1a172e32ac9ecd4fc13048d Modified the client so it can handle different error formats.
Fixed build: 0.138
Fails_qa [root@dell-pe1855-01 ~]# rpm -q pulp pulp-0.0.139-1.fc14.noarch On a freshly kickstarted f14 with pulp, I got this. So failing just in case its an actual issue [root@dell-pe1855-01 ~]# pulp-admin -u admin -p admin repo sync --id=f14 -F Sync for repository f14 started Sync: Finished 2765/2773 new items downloaded 8/2773 existing items processed Item Details: Tree_Files: 7/7 Rpms: 2765/2766 Warning: 1 errors occurred 1 Rpm Error(s): {'error_type': "<type 'exceptions.OSError'>", 'error': "[Errno 17] File exists: '/var/lib/pulp//repos/released/F-14/GOLD/Fedora/x86_64/os//Packages'", 'traceback': ['Traceback (most recent call last):', ' File "/usr/lib/python2.7/site-packages/grinder/ParallelFetch.py", line 289, in run', ' status,msg = self.fetcher.fetchItem(itemInfo)', ' File "/usr/lib/python2.7/site-packages/grinder/RepoFetch.py", line 100, in fetchItem', " packages_location=info['pkgpath'] or None)", ' File "/usr/lib/python2.7/site-packages/grinder/BaseFetch.py", line 90, in fetch', ' os.makedirs(basedir)', ' File "/usr/lib64/python2.7/os.py", line 157, in makedirs', ' mkdir(name, mode)', "OSError: [Errno 17] File exists: '/var/lib/pulp//repos/released/F-14/GOLD/Fedora/x86_64/os//Packages'"]}
Moving back to verified Opened new bug for the above error. https://bugzilla.redhat.com/show_bug.cgi?id=678346 <preethi> jmatthews, failed https://bugzilla.redhat.com/show_bug.cgi?id=676657 <prad> jconnor, sure, I just fixed it so it doesnt break :) <jconnor> prad: fair enough and thank you for the catch :) <prad> np <jmatthews> preethi, these are unrelated <jmatthews> preethi, the second issue you saw is an issue with grinder <jmatthews> preethi, there was a race condition on dir creation, it's been fixed will be available in next build <preethi> jmatthews, ok. wasn't sure. my subsequent syncs didn't give the same error though <jmatthews> preethi, might be good to create a new bug for the last error you saw <preethi> jmatthews, will do <preethi> thanks <jmatthews> preethi, thx
Closing with Community Release 15 pulp-0.0.223-4.