Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 862016

Summary: Add [redhat] section to rhui-tools.conf file
Product: Red Hat Update Infrastructure for Cloud Providers Reporter: Calvin Locklear <clocklea>
Component: RHUAAssignee: James Slagle <jslagle>
Status: CLOSED ERRATA QA Contact: mkovacik
Severity: medium Docs Contact:
Priority: high    
Version: 2.1CC: juwu, myamazak, tsanders, vkuznets, whayutin
Target Milestone: ---   
Target Release: 2.1.1   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Proxy settings weren't parsed in the rhui-tools configuration file and caused content synchronization to fail. This fix adds in [redhat] section to rhui-tools.conf so that the proxy setting are parsed without errors.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-27 16:59:42 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:
Embargoed:

Description Calvin Locklear 2012-10-01 15:35:36 UTC
Description of problem:
Http proxy settings aren't honored in the rhui-tools.conf file, unless they are added to the [redhat] section.  The [redhat] itself needs to be added to the rhui-tools.conf file. 

Version-Release number of selected component (if applicable):
RHUI 2.1

How reproducible:
Build out a new RHUI2.1, there is no [redhat] section in the rhui-tools.conf file.

Steps to Reproduce:
1. Build a new rhua.
2. Check the rhui-tools.conf file.
3.
  
Actual results:
There is no [redhat] section in the rhui-tools.conf file.

Expected results:
There should be a [redhat] section in the rhui-tools.conf file.

Additional info:

Comment 2 James Slagle 2012-10-01 17:33:49 UTC
*** Bug 861904 has been marked as a duplicate of this bug. ***

Comment 6 James Slagle 2012-11-01 11:50:35 UTC
This is aligned against our RHUI 2.1.1 release.  There is no firm schedule yet,
but we're thinking it will be Q1 of 2013 when it's released.

Comment 8 James Slagle 2012-11-28 21:32:12 UTC
commit ceeb860c247a6b171e48da960c933205cbb1537b

Comment 9 James Slagle 2012-11-28 21:33:20 UTC
QA: make sure when you set a proxy server, username, and password in the answers file that those settings get propogated to /etc/rhui/rhui-tools.conf and the proxy is used successfully when rhui-manager communicated with the CDN, such as when you add redhat repos.

Comment 12 Vitaly Kuznetsov 2013-02-04 14:03:30 UTC
[root@rhua ~]# rpm -q rh-rhui-tools
rh-rhui-tools-2.1.15-1.el6_3.noarch

[root@rhua ~]# grep -B1 proxy /etc/rhui/answers
[rhua]
proxy_server_host: proxy.example.com
proxy_server_port: 3128
proxy_server_username: rhua
proxy_server_password: password

[root@rhua ~]# grep 'proxy' /etc/rhui/rhui-tools.conf | grep -v "^#"
proxy_url = http://proxy.example.com
proxy_port = 3128
proxy_user = rhua
proxy_pass = password

[root@rhua ~]# grep 'proxy' /etc/pulp/pulp.conf | grep -v "^#"
proxy_url = http://proxy.example.com
proxy_port = 3128
proxy_user = rhua
proxy_pass = password

Comment 14 errata-xmlrpc 2013-02-27 16:59:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0571.html