Bug 676657
Summary: | Repo sync error | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
Component: | z_other | Assignee: | John Matthews <jmatthew> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | jortel, skarmark |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | Sprint 20 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-08-16 12:06:59 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 647488 |
Description
Preethi Thomas
2011-02-10 15:48:51 UTC
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. Closing with Community Release 15 pulp-0.0.223-4. |