Bug 1188406
| Summary: | sync and publish returns failed [Errno 21] Is a directory on f21 and rh6 | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Irina Gulina <igulina> |
| Component: | z_other | Assignee: | Randy Barlow <rbarlow> |
| Status: | CLOSED DUPLICATE | QA Contact: | pulp-qe-list |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | austin, mhrivnak, rbarlow |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | 2.6.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-02-06 15:33:32 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Irina Gulina
2015-02-02 19:04:59 UTC
on pulp 2.6.0.5 under rh6
>> pulp-admin rpm repo publish run --repo-id zoo
+----------------------------------------------------------------------+
Publishing Repository [zoo]
+----------------------------------------------------------------------+
This command may be exited via ctrl+c without affecting the request.
Copying files
[-]
... completed
Initializing repo metadata
[-]
... completed
Publishing Distribution files
[-]
... completed
Publishing RPMs
[-]
... completed
Publishing Delta RPMs
... skipped
Publishing Errata
[==================================================] 100%
4 of 4 items
... completed
Publishing Comps file
[==================================================] 100%
3 of 3 items
... completed
Publishing Metadata.
[-]
... completed
Closing repo metadata
[-]
... completed
Generating sqlite files
... skipped
Publishing files to web
[-]
... failed
[Errno 21] Is a directory
Task Failed
[Errno 21] Is a directory
I believe this is related to: https://bugzilla.redhat.com/show_bug.cgi?id=1183784 The problem is that the relative urls are conflicting with relative urls of deleted repos. Until solved, there are two workarounds: 1. Use a different relative url 2. Delete the conflicting orphaned directories in: /var/lib/pulp/published/yum/http/repos /var/lib/pulp/published/yum/https/repos *** This bug has been marked as a duplicate of bug 1183784 *** |