Bug 862016 - Add [redhat] section to rhui-tools.conf file
Summary: Add [redhat] section to rhui-tools.conf file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Update Infrastructure for Cloud Providers
Classification: Red Hat
Component: RHUA
Version: 2.1
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
: 2.1.1
Assignee: James Slagle
QA Contact: mkovacik
URL:
Whiteboard:
: 861904 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-01 15:35 UTC by Calvin Locklear
Modified: 2018-11-30 21:30 UTC (History)
5 users (show)

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.
Clone Of:
Environment:
Last Closed: 2013-02-27 16:59:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0571 0 normal SHIPPED_LIVE Red Hat Update Infrastructure 2.1.1 bug fix update 2013-02-27 21:58:22 UTC

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


Note You need to log in before you can comment on or make changes to this bug.