| Summary: | repo create error. File name too long | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
| Component: | user-experience | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.0.0 | CC: | skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-24 20:11:20 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Please provide steps to reproduce or if you can point me to a box where you're seeing this that would work too. commit bc418df6bb97aefe78e2c592a609276919b2a49e build: 0.255 verified with dropping db and creating repos with the same names as before [root@katello-test ~]# rpm -q pulp pulp-0.0.256-1.el6.noarch [root@katello-test ~]# [root@katello-test ~]# pulp-admin -u admin -p admin repo create --id=pulp --feed=http://repos.fedorapeople.org/repos/pulp/pulp/6Server/x86_64/ Successfully created repository [ pulp ] Pulp v1.0 is released Closed Current Release. |
Description of problem: repo create error <jmatthews> preethi_lt, '/var/lib/pulp//repos/released/F-14/GOLD/Fedora/x86_64/os/repodata/1d46a2073097bdb6b7b6f6fba60e4525ca0bf2d1165026a3e1c87b0b2abaf07f-1d46a2073097bdb <jmatthews> 6b7b6f6fba60e4525ca0bf2d1165026a3e1c87b0b2abaf07f-1d46a2073097bdb6b7b6f6fba60e4525ca0bf2d1165026a3e1c87b0b2abaf07f-Fedora-14-comps.xml' <jmatthews> preethi, that long string is what createrepo tried to use <jmatthews> I think it got it because /var/lib/pulp/repos/released...... had repodata for that repo previously <jmatthews> when you created the new repo pulp used the existing directory and ran a createrepo on what we thought would be empty * lzap-afk is now known as lzap <jmatthews> I'm not 100% sure how the rest of this error manifested * tstrachota has quit (Quit: Leaving) <jmatthews> preethi_lt, would you file a bug on this, and include all of the pulp.log around this error in the bz? * jrist-afk is now known as jrist <jmatthews> preethi_lt, the short term fix was to delete the repo and re-create it from pulp.log 2011-09-29 12:35:48,963 2213:140068874348288: pulp.server.webservices.controllers.decorators:ERROR: decorators:52 Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/decorators.py", line 48, in report_error return method(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/decorators.py", line 127, in _auth_decorator value = method(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/repositories.py", line 248, in POST content_types=repo_data.get('content_types', 'yum')) File "/usr/lib/python2.7/site-packages/pulp/server/api/repo.py", line 264, in create pulp.server.util.create_repo(repo_path, checksum_type=r['checksum_type']) File "/usr/lib/python2.7/site-packages/pulp/server/util.py", line 494, in create_repo raise CreateRepoError(err_msg) CreateRepoError: Traceback (most recent call last): File "/usr/share/createrepo/genpkgmetadata.py", line 278, in <module> main(sys.argv[1:]) File "/usr/share/createrepo/genpkgmetadata.py", line 256, in main mdgen.doRepoMetadata() File "/usr/lib/python2.7/site-packages/createrepo/__init__.py", line 1025, in doRepoMetadata mdcontent = self._createRepoDataObject(self.conf.groupfile, 'group_gz') File "/usr/lib/python2.7/site-packages/createrepo/__init__.py", line 853, in _createRepoDataObject (csum, outfn) = checksum_and_rename(outfn, self.conf.sumtype) File "/usr/lib/python2.7/site-packages/createrepo/utils.py", line 111, in checksum_and_rename os.rename(fn_path, csum_path) OSError: [Errno 36] File name too long