| Summary: | Unable to update a repository's feed | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Jay Dobies <jason.dobies> |
| Component: | rpm-support | Assignee: | Barnaby Court <bcourt> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | Master | CC: | mhrivnak, pthomas |
| Target Milestone: | --- | ||
| Target Release: | 2.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-12-09 14:31:26 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: | |
|
Description
Jay Dobies
2013-09-05 17:18:15 UTC
It may be bigger than I previously thought and not allowing any updates to a repository. I tried to update the repo to serve HTTP: ╭─[waterdeep]─[~]─[]─● ╰─➤ pulp-admin rpm repo update --repo-id f19 --serve-https true The server indicated one or more values were incorrect. The server provided the following error message: Relative url '/fedora/linux/releases/19/Fedora/x86_64/os/' conflicts with existing relative_url of '/fedora/linux/releases/19/Fedora/x86_64/os/' from repo 'f19' More information can be found in the client log file ~/.pulp/admin.log. Part of me wondered if the client was always deriving the relative_url, even on an update, and passing that in. But there's no way the client would have the feed in this case, so I still suspect there's a bug in the changes to the relative_url validation that's causing this. Definitely a bug where the repository being updated was not being precluded from the relative_url check. Pull requests with the updates for this bug have been submitted: https://github.com/pulp/pulp/pull/606 https://github.com/pulp/pulp_rpm/pull/329 *** Bug 845010 has been marked as a duplicate of this bug. *** build: 2.3.0-0.10.alpha verified [root@pulp-v2-server ~]# rpm -qa pulp-server pulp-server-2.3.0-0.12.alpha.el6.noarch [root@pulp-v2-server ~]# [root@pulp-v2-server ~]# pulp-admin rpm repo create --repo-id pulp --feed http://repos.fedorapeople.org/repos/pulp/pulp/v2/testing/fedora-19/x86_64/ Successfully created repository [pulp] [root@pulp-v2-server ~]# [root@pulp-v2-server ~]# [root@pulp-v2-server ~]# pulp-admin rpm repo sync run --repo-id pulp +----------------------------------------------------------------------+ Synchronizing Repository [pulp] +----------------------------------------------------------------------+ This command may be exited by pressing ctrl+c without affecting the actual operation on the server. Downloading metadata... [\] ... completed Downloading repository content... [==================================================] 100% RPMs: 42/42 items Delta RPMs: 0/0 items ... completed Downloading distribution files... [==================================================] 100% Distributions: 0/0 items ... completed Importing errata... [-] ... completed Importing package groups/categories... [-] ... completed Publishing packages... [==================================================] 100% Packages: 42/42 items ... completed Publishing distributions... [==================================================] 100% Distributions: 0/0 items ... completed Generating metadata [\] ... completed Publishing repository over HTTPS [-] ... completed [root@pulp-v2-server ~]# pulp-admin rpm repo update --repo-id pulp --feed http://repos.fedorapeople.org/repos/pulp/pulp/v2/testing/fedora-19/i386/ Repository [pulp] successfully updated [root@pulp-v2-server ~]# pulp-admin rpm repo sync run --repo-id pulp+----------------------------------------------------------------------+ Synchronizing Repository [pulp] +----------------------------------------------------------------------+ This command may be exited by pressing ctrl+c without affecting the actual operation on the server. Downloading metadata... [\] ... completed Downloading repository content... [==================================================] 100% RPMs: 42/42 items Delta RPMs: 0/0 items ... completed Downloading distribution files... [==================================================] 100% Distributions: 0/0 items ... completed Importing errata... [-] ... completed Importing package groups/categories... [-] ... completed Publishing packages... [==================================================] 100% Packages: 84/84 items ... completed Publishing distributions... [==================================================] 100% Distributions: 0/0 items ... completed Generating metadata [|] ... completed Publishing repository over HTTPS [-] ... completed [root@pulp-v2-server ~]# Pulp 2.3 released. |