Bug 1403387
Summary: | there is an error in processing the specified proxy arguments versus proxy configurations | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | John Sefler <jsefler> |
Component: | subscription-manager | Assignee: | Chris Snyder <csnyder> |
Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 6.9 | CC: | bkearney, khowell, redakkan, skallesh, vrjain |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-03-21 10:57:56 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
John Sefler
2016-12-09 22:23:19 UTC
Verifying Version... [root@jsefler-rhel6 ~]# rpm -q subscription-manager subscription-manager-1.18.7-1.el6.x86_64 [root@jsefler-rhel6 ~]# rpm -q subscription-manager --changelog | grep 1403387 - 1403387: Fix proxy conn test short-circuit (csnyder) [root@jsefler-rhel6 ~]# Re-testing the three cases from comment 0... Case 1: specify proxy configurations in the rhsm.conf file only.... [root@jsefler-rhel6 ~]# subscription-manager config --server.proxy_hostname="invalid" --server.proxy_port="123" --server.proxy_user="red" --server.proxy_password="hat" [root@jsefler-rhel6 ~]# subscription-manager register --username=joe --password=blo Registering to: subscription.rhsm.redhat.com:443/subscription Network error, unable to connect to server. Please see /var/log/rhsm/rhsm.log for more information. [root@jsefler-rhel6 ~]# echo $? 70 Case 2: specify proxy values on the command line only.... [root@jsefler-rhel6 ~]# subscription-manager config --server.proxy_hostname="" --server.proxy_port="" --server.proxy_user="" --server.proxy_password="" [root@jsefler-rhel6 ~]# subscription-manager register --username=joe --password=blo --proxy=invalid:123 --proxyuser=red --proxypassword=hat Proxy connection failed, please check your settings. [root@jsefler-rhel6 ~]# echo $? 69 Case 3: specify proxy values on the command *and* the rhsm.conf file. The command line values should trump the rhsm.conf file values yielding the same response as case 2. Let's verify.... [root@jsefler-rhel6 ~]# subscription-manager config --server.proxy_hostname="invalid" --server.proxy_port="123" --server.proxy_user="red" --server.proxy_password="hat" [root@jsefler-rhel6 ~]# subscription-manager register --username=joe --password=blo --proxy=invalid:123 --proxyuser=red --proxypassword=hat Proxy connection failed, please check your settings. [root@jsefler-rhel6 ~]# echo $? 69 VERIFIED! Case 3 results are identical to Case 2 indicating that the specifying the proxy args on the command line do indeed trump the values set in the rhsm.conf. 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. https://rhn.redhat.com/errata/RHSA-2017-0698.html |