Bug 678346 - Repo sync error with grinder
Summary: Repo sync error with grinder
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Sprint 21
Assignee: John Matthews
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-02-17 16:24 UTC by Preethi Thomas
Modified: 2011-08-16 12:21 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-08-16 12:08:42 UTC
Embargoed:


Attachments (Terms of Use)

Description Preethi Thomas 2011-02-17 16:24:27 UTC
[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'"]}

Comment 1 John Matthews 2011-02-17 17:10:00 UTC
Fixed with this commit:

http://git.fedorahosted.org/git/?p=grinder.git;a=commit;h=f1d690d6eb0fe631932f94d0a33934ef13f9db1d

Will be in grinder 0.80

Comment 2 Jeff Ortel 2011-02-22 14:32:58 UTC
Build: 0.140

Comment 3 Preethi Thomas 2011-02-22 18:08:06 UTC
verified
[root@intel-d3c4702-01 ~]# rpm -q grinder
grinder-0.0.80-1.fc14.noarch

[root@intel-d3c4702-01 ~]# pulp-admin -u admin -p admin repo create --id=f14 --name=f14 --arch=x86_64 --feed=yum:http://download.devel.redhat.com/released/F-14/GOLD/Fedora/x86_64/os/
Successfully created repository [ f14 ]

You have mail in /var/spool/mail/root
[root@intel-d3c4702-01 ~]# 
[root@intel-d3c4702-01 ~]# 
[root@intel-d3c4702-01 ~]# pulp-admin -u admin -p admin repo sync --id=f14 -F
Sync for repository f14 started
Sync: Finished
2766/2773 new items downloaded
7/2773 existing items processed

Item Details: 
Tree_Files: 7/7
Rpms: 2766/2766

Comment 4 Preethi Thomas 2011-08-16 12:08:42 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 5 Preethi Thomas 2011-08-16 12:21:37 UTC
Closing with Community Release 15

pulp-0.0.223-4.


Note You need to log in before you can comment on or make changes to this bug.