Bug 1098844
Summary: | Not able to install rpm from the pulp synced fedora repo | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
Component: | rpm-support | Assignee: | Sayli Karmarkar <skarmark> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | unspecified | Docs Contact: | |
Priority: | high | ||
Version: | 2.4 Beta | CC: | cperry, mhrivnak, skarmark |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | 2.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-08-09 06:55:35 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
Preethi Thomas
2014-05-19 02:29:05 UTC
[root@cisco-b420m3-01 ~]# yum install marisa Loaded plugins: pulp-profile-update Resolving Dependencies --> Running transaction check ---> Package marisa.x86_64 0:0.2.4-4.fc20 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: marisa x86_64 0.2.4-4.fc20 F20 78 k Transaction Summary ================================================================================ Install 1 Package Total download size: 78 k Installed size: 248 k Is this ok [y/d/N]: y Downloading packages: F20/prestodelta | 98 B 00:00 marisa-0.2.4-4.fc20.x86_64.rpm FAILED https://cisco-b420m3-01.rhts.eng.bos.redhat.com/pulp/repos/released/F-20/GOLD/Fedora/x86_64/os/marisa-0.2.4-4.fc20.x86_64.rpm: [Errno 14] HTTPS Error 404 - Not Found Trying other mirror. Error downloading packages: marisa-0.2.4-4.fc20.x86_64: [Errno 256] No more mirrors to try. [root@cisco-b420m3-01 ~]# I think the problem is here: https://github.com/pulp/pulp_rpm/blob/89e3cff776b/plugins/pulp_rpm/plugins/distributors/yum/publish.py#L371 If we change that to use the filename instead of the relative path, I think everything will work. The primary.xml is being generated with each rpm's location being at the root of the repository. So the relative path should always be just the file name. Fixed in 2.4.0-0.17.beta. verified [root@hp-dl380pgen8-01 ~]# rpm -qa pulp-server pulp-server-2.4.0-0.19.beta.fc20.noarch [root@hp-dl380pgen8-01 ~]# [root@hp-dl380pgen8-01 ~]# pulp-admin rpm consumer package install run --consumer-id kitkat -n axis Install task created with id [ 0fb2dc28-20f8-4c5d-ade2-2765f370fac4 ] This command may be exited via ctrl+c without affecting the request. Refresh Repository Metadata [ OK ] Downloading Packages [ OK ] Check Package Signatures [ OK ] Running Test Transaction [ OK ] Running Transaction [ OK ] Install Succeeded +----------------------------------------------------------------------+ Installed +----------------------------------------------------------------------+ Name: axis Version: 1.4 Arch: noarch Repoid: F20 +----------------------------------------------------------------------+ Installed for Dependencies +----------------------------------------------------------------------+ Name: jakarta-commons-httpclient Version: 3.1 Arch: noarch Repoid: F20 Name: wsdl4j Version: 1.6.3 Arch: noarch Repoid: F20 Name: apache-commons-discovery Version: 0.5 Arch: noarch Repoid: F20 [root@hp-dl380pgen8-01 ~]# This has been fixed in Pulp 2.4.0-1. |