Hide Forgot
I had a repository sync from one of the F19 mirrors. There were some issues (I think the external repo started rejecting me) so I tried to change the feed to use a different feed. It looks like the conflict detection is testing it against all repositories, not all *other* repositories. ╭─[waterdeep]─[~]─[]─● ╰─➤ pulp-admin rpm repo update --repo-id f19-64 --feed http://download.fedoraproject.org/pub/fedora/linux/releases/19/Fedora/x86_64/os/ 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-64' More information can be found in the client log file ~/.pulp/admin.log.
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.