Bug 664548
Summary: | subscription-manager refresh appears to ignore command line proxy options | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | John Sefler <jsefler> |
Component: | subscription-manager | Assignee: | Adrian Likins <alikins> |
Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.1 | ||
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-05-19 13:38:19 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 639436 |
Description
John Sefler
2010-12-20 18:36:58 UTC
commit a5b32253ed40b7a292c89dfa42f382fd4e762856 Author: Adrian Likins <alikins> Date: Tue Jan 4 10:01:10 2011 -0500 664548: Fix for some subcommands (refresh ) not using proxy info as well Move where we create the cp/uep object for cli modules. Also gets rid of half a dozen unneeded uep creations on cli startup. [root@jsefler-onprem01 ~]# rpm -q subscription-manager subscription-manager-0.93.9-1.git.12.e79dad8.el6.x86_64 [root@jsefler-onprem01 ~]# vi /etc/rhsm/rhsm.conf SET THE PROXY PARAMETERS IN rhsm.conf TO AN INVALID VALUE AS SHOWN... [root@jsefler-onprem01 ~]# grep proxy /etc/rhsm/rhsm.conf # an http proxy server to use proxy_hostname = XXXX # port for http proxy server proxy_port = 00000 # user name for authenticating to an http proxy, if needed proxy_user = YYYY # password for basic http proxy auth, if needed proxy_password = ZZZZ [root@jsefler-onprem01 ~]# subscription-manager register --username=testuser1 --password=password --proxy=auto-services.usersys.redhat.com:3128 --proxyuser=redhat --proxypassword=redhat 709247c0-02a0-46c1-91e8-f9bcea81f942 testuser1 [root@jsefler-onprem01 ~]# subscription-manager refresh --proxy=auto-services.usersys.redhat.com:3128 --proxyuser=redhat --proxypassword=redhat All local data refreshed ^^ DEFECT VERIFIED (THE COMMAND LINE PROXY OPTIONS OVERRODE THOSE IN rhsm.conf) [root@jsefler-onprem01 ~]# subscription-manager refresh Network error, unable to connect to server. Please see /var/log/rhsm/rhsm.log for more information. ^^ Network error occurred as expected due to bad proy settings in rhsm.conf moving to VERIFIED An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2011-0611.html |