Hide Forgot
Description of problem: Having installed the client configuration rpm, an error prevents repositories to be listed. Version-Release number of selected component (if applicable): 2.0.2; rh-rhui-tools-2.0.53-1.el6.noarch.rpm; RHEL-6.2-RHUI-2.0.2-20120203.1-Server-x86_64-DVD1.iso; rhel 6.2 How reproducible: N/A Steps to Reproduce: 1. uninstall the rh-amazon-rhui-client package 2. install custom rhui client configuration package 3. command "yum repolist" fails to display the custom rhui repository Actual results: Error displaying repository list Expected results: Custom repository list displayed Additional info: client screen log: ================== [root@ip-10-58-183-22 yum.repos.d]# yum repolist Loaded plugins: rhui-lb, security Could not retrieve mirrorlist https://None/pulp/mirror//content/dist/rhel/rhui/server/6/6Server/x86_64/os error was 14: PYCURL ERROR 6 - "Couldn't resolve host 'None'" repo id repo name status rhui-rhel-6-rhui-server-rpms Red Hat Enterprise Linux 6 Server (RPMs) from RHUI 0 repolist: 0 [root@ip-10-58-183-22 yum.repos.d]# pwd /etc/yum.repos.d [root@ip-10-58-183-22 yum.repos.d]# yum -v repolist Not loading "rhnplugin" plugin, as it is disabled Loading "rhui-lb" plugin Loading "security" plugin Config time: 0.015 Yum Version: 3.2.29 Could not retrieve mirrorlist https://None/pulp/mirror//content/dist/rhel/rhui/server/6/6Server/x86_64/os error was 14: PYCURL ERROR 6 - "Couldn't resolve host 'None'" Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-rhel-6-rhui-server-rpms. Please verify its path and try again [root@ip-10-58-183-22 yum.repos.d]# grep rhui-rhel-6-rhui-server-rpms * rh-cloud.repo:[rhui-rhel-6-rhui-server-rpms] [root@ip-10-58-183-22 yum.repos.d]# cat rh-cloud.repo [rhui-rhel-6-rhui-server-rpms] name=Red Hat Enterprise Linux 6 Server (RPMs) from RHUI mirrorlist=https://ip-10-226-7-160.eu-west-1.compute.internal/pulp/mirror//content/dist/rhel/rhui/server/6/$releasever/$basearch/os #mirrorlist=https://10.226.7.160/pulp/mirror//content/dist/rhel/rhui/server/6/$releasever/$basearch/os enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release sslverify=1 sslcacert=/etc/pki/entitlement/ca.crt sslclientcert=/etc/pki/entitlement/product/content.crt sslclientkey=/etc/pki/entitlement/key.pem [root@ip-10-58-183-22 cli01]# rpm -qlp test02-2.0-1.el6.noarch.rpm /etc/pki/entitlement/ca.crt /etc/pki/entitlement/key.pem /etc/pki/entitlement/product/content.crt /etc/yum.repos.d/rh-cloud.repo /etc/yum.repos.d/rhui-load-balancers /etc/yum/pluginconf.d/rhui-lb.conf /usr/lib/yum-plugins/rhui-lb.py
[root@ip-10-58-183-22 ~]# vim /etc/yum/pluginconf.d/rhui-lb.conf [root@ip-10-58-183-22 ~]# yum -v repolist Not loading "rhnplugin" plugin, as it is disabled Not loading "rhui-lb" plugin, as it is disabled Loading "security" plugin Config time: 0.034 Yum Version: 3.2.29 Could not retrieve mirrorlist https://ip-10-226-7-160.eu-west-1.compute.internal/pulp/mirror//content/dist/rhel/rhui/server/6/6Server/x86_64/os error was 14: PYCURL ERROR 22 - "The requested URL returned error: 403" Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-rhel-6-rhui-server-rpms. Please verify its path and try again [root@ip-10-58-183-22 ~]# fg vim /etc/yum/pluginconf.d/rhui-lb.conf [1]+ Stopped vim /etc/yum/pluginconf.d/rhui-lb.conf [root@ip-10-58-183-22 ~]# yum -v repolist Not loading "rhnplugin" plugin, as it is disabled Loading "rhui-lb" plugin Loading "security" plugin Config time: 0.015 Yum Version: 3.2.29 Could not retrieve mirrorlist https://None/pulp/mirror//content/dist/rhel/rhui/server/6/6Server/x86_64/os error was 14: PYCURL ERROR 6 - "Couldn't resolve host 'None'" Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhui-rhel-6-rhui-server-rpms. Please verify its path and try again [root@ip-10-58-183-22 ~]#
Disabling the "rhui-lb" yum plug-in affects the issue...
Possibly related to bugzilla #788565
make that bug 788565
*** This bug has been marked as a duplicate of bug 788565 ***
Released in RHUI 2.0.2