Bug 788181

Summary: Unable to fetch repository list having deployed client configuration rpm
Product: Red Hat Update Infrastructure for Cloud Providers Reporter: mkovacik
Component: RHUAAssignee: Jay Dobies <jason.dobies>
Status: CLOSED DUPLICATE QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.0.2CC: jslagle, kbidarka, sghai, tsanders
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-17 14:53:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description mkovacik 2012-02-07 16:28:10 UTC
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

Comment 1 mkovacik 2012-02-08 12:44:46 UTC
[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 ~]#

Comment 2 mkovacik 2012-02-08 12:45:23 UTC
Disabling the "rhui-lb" yum plug-in affects the issue...

Comment 3 James Slagle 2012-02-09 01:57:28 UTC
Possibly related to bugzilla #788565

Comment 4 James Slagle 2012-02-09 01:59:06 UTC
make that bug 788565

Comment 5 mkovacik 2012-02-17 14:53:51 UTC

*** This bug has been marked as a duplicate of bug 788565 ***

Comment 6 James Slagle 2012-03-12 19:39:05 UTC
Released in RHUI 2.0.2

Comment 7 James Slagle 2012-03-12 19:46:03 UTC

*** This bug has been marked as a duplicate of bug 788565 ***