Hide Forgot
Description of problem: If I have a repo with global_repo_auth enabled and have the wrong certs in the client pulp.repo, I f I do a yum repolist I see that all the repos are denied access including the non pulp repo. Here is the result of my yum commands when I have the wrong cert in pulp.repo [root@10 ~]# yum clean all Cleaning repos: f13 f14 fedora testing-fedora-pulp updates Cleaning up Everything [root@10 ~]# yum repolist https://preethi.usersys.redhat.com/pulp/repos/repos/pulp/pulp/testing/fedora-13/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 401 : https://preethi.usersys.redhat.com/pulp/repos/repos/pulp/pulp/testing/fedora-13/x86_64/repodata/repomd.xml Trying other mirror. repo id repo name status f13 f13 0 f14 f14 0 fedora Fedora 14 - x86_64 0 testing-fedora-pulp Pulp Testing Builds 0 updates Fedora 14 - x86_64 - Updates 0 repolist: 0 [root@10 ~]# yum update https://preethi.usersys.redhat.com/pulp/repos/repos/pulp/pulp/testing/fedora-13/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 401 : https://preethi.usersys.redhat.com/pulp/repos/repos/pulp/pulp/testing/fedora-13/x86_64/repodata/repomd.xml Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: f13. Please verify its path and try again When I have the right cert [root@10 ~]# yum clean all Cleaning repos: f13 f14 fedora testing-fedora-pulp updates Cleaning up Everything [root@10 ~]# yum repolist f13 | 1.3 kB 00:00 f13/primary | 2.9 kB 00:00 f13 10/10 f14 | 1.3 kB 00:00 f14/primary | 2.8 kB 00:00 f14 10/10 fedora/metalink | 21 kB 00:00 fedora | 4.3 kB 00:00 fedora/primary_db | 14 MB 00:04 testing-fedora-pulp | 1.3 kB 00:00 testing-fedora-pulp/primary | 2.9 kB 00:00 testing-fedora-pulp 10/10 updates/metalink | 17 kB 00:00 updates | 4.7 kB 00:00 updates/primary_db | 5.3 MB 00:02 repo id repo name status f13 f13 10 f14 f14 10 fedora Fedora 14 - x86_64 22,161 testing-fedora-pulp Pulp Testing Builds 10 updates Fedora 14 - x86_64 - Updates 7,736 repolist: 29,927 [root@10 ~]#
That's weird. There aren't any errors from the other repos. Did you try installing something that would be in one of them? If anything, I think this is a yum bug rather than a pulp one.
Here is what i am seeing [root@10 ~]# yum repolist https://preethi.usersys.redhat.com/pulp/repos/repos/pulp/pulp/testing/fedora-13/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 401 : https://preethi.usersys.redhat.com/pulp/repos/repos/pulp/pulp/testing/fedora-13/x86_64/repodata/repomd.xml Trying other mirror. repo id repo name status f13 f13 0 f14 f14 0 fedora Fedora 14 - x86_64 0 testing-fedora-pulp Pulp Testing Builds 0 updates Fedora 14 - x86_64 - Updates 0 repolist: 0 [root@10 ~]# yum install zsh https://preethi.usersys.redhat.com/pulp/repos/repos/pulp/pulp/testing/fedora-13/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 401 : https://preethi.usersys.redhat.com/pulp/repos/repos/pulp/pulp/testing/fedora-13/x86_64/repodata/repomd.xml Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: f13. Please verify its path and try again [root@10 ~]# yum install zsh --disablerepo=* --enablerepo=fedora fedora/metalink | 21 kB 00:00 fedora | 4.3 kB 00:00 fedora/primary_db | 14 MB 00:05 Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package zsh.x86_64 0:4.3.10-5.fc14 set to be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: zsh x86_64 4.3.10-5.fc14 fedora 2.1 M Transaction Summary ================================================================================ Install 1 Package(s) Total download size: 2.1 M Installed size: 4.8 M Is this ok [y/N]: N Exiting on user Command Complete!
Created attachment 491768 [details] pulp.repo
Evidently, this is a known issue in urlgrabber/curl and how the certs are handled. Reference bugs: https://bugzilla.redhat.com/show_bug.cgi?id=695747 https://bugzilla.redhat.com/show_bug.cgi?id=694294
Closing for pulp as per the above comment.