Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 977920

Summary: rhn-migrate-classic-to-rhsm man page needs update for new --no-proxy --org --environment options
Product: Red Hat Enterprise Linux 5 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: Deon Ballard <dlackey>
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.10CC: bkearney, fsharath, jesusr
Target Milestone: rcKeywords: Documentation
Target Release: 5.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
No description necessary
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-30 23:11: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:
Bug Depends On:    
Bug Blocks: 840995    

Description John Sefler 2013-06-25 15:13:33 UTC
Description of problem:
As a result of bug 915847 a new --no-proxy option was added to the rhn-migrate-classic-to-rhsm tool.  Now the man page needs to be updated to include a description for --no-proxy.  When --no-proxy is specified, the rhn-migrate-classic-to-rhsm script will simply NOT transfer the RHN proxy configurations from /etc/sysconfig/rhn/up2date to /etc/rhsm/rhsm.conf.


Version-Release number of selected component (if applicable):
[root@jsefler-5 ~]# man -P cat rhn-migrate-classic-to-rhsm | tail -1
Version 0.7                     January 7, 2013 rhn-migrate-classic-to-rhsm(8)
[root@jsefler-5 ~]# rpm -q subscription-manager
subscription-manager-1.8.11-1.git.13.96b613e.el5


How reproducible:


Steps to Reproduce:
[root@jsefler-5 ~]# rhn-migrate-classic-to-rhsm --help
Usage: rhn-migrate-classic-to-rhsm [OPTIONS]

options:
  -h, --help            show this help message and exit
  -f, --force           ignore channels not available on RHSM
  -g, --gui             launch the GUI tool to attach subscriptions, instead
                        of auto-attaching
  -n, --no-auto         don't execute the auto-attach option while registering
                        with subscription manager
  -s SERVICELEVEL, --servicelevel=SERVICELEVEL
                        service level to follow when attaching subscriptions,
                        for no service level use --servicelevel=""
  --serverurl=SERVERURL
                        specify the subscription management server to migrate
                        to
  --no-proxy            don't use RHN proxy settings with subscription
                        management server
  ^^^^^^^^^^
  NEW OPTION

Comment 1 RHEL Program Management 2013-06-25 15:18:07 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 2 John Sefler 2013-06-28 18:10:47 UTC
Two more options have been added... --org=ORG --environment=ENVIRONMENT

[root@jsefler-5server ~]# rpm -q subscription-manager
subscription-manager-1.8.11-1.git.27.98ba029.el5


[root@jsefler-5server ~]# rhn-migrate-classic-to-rhsm --help
Usage: rhn-migrate-classic-to-rhsm [OPTIONS]

options:
  -h, --help            show this help message and exit
  -f, --force           ignore channels not available on RHSM
  -g, --gui             launch the GUI tool to attach subscriptions, instead
                        of auto-attaching
  -n, --no-auto         don't execute the auto-attach option while registering
                        with subscription manager
  -s SERVICELEVEL, --servicelevel=SERVICELEVEL
                        service level to follow when attaching subscriptions,
                        for no service level use --servicelevel=""
  --serverurl=SERVERURL
                        specify the subscription management server to migrate
                        to
  --no-proxy            don't use RHN proxy settings with subscription
                        management server
  --org=ORG             organization to register to
  --environment=ENVIRONMENT
                        environment to register to

  ^^^^^^^^^^^^^^^^^^^^^^^^^

all three options --no-proxy --org=ORG --environment=ENVIRONMENT are new and need to be included in the man page for rhn-migrate-classic-to-rhsm

Comment 4 Sharath Dwaral 2013-08-05 18:52:22 UTC
Version:

# rpm -qa | egrep "subscription-manager|python-rhsm"
subscription-manager-1.8.16-1.el5
subscription-manager-debuginfo-1.8.16-1.el5
subscription-manager-migration-data-1.11.3.2-1.git.0.14f9d59.el5
subscription-manager-firstboot-1.8.16-1.el5
python-rhsm-1.8.16-1.el5
subscription-manager-migration-1.8.16-1.el5
python-rhsm-debuginfo-1.8.16-1.el5
subscription-manager-gui-1.8.16-1.el5

Verification:

 --org=ORG
              Sets  the organization within the account structure to which to register the system. Every account is divided into subgroups called organizations, which represent some kind of
              organizational or logical division in the infrastructure. Organizations are further divided into environments, which organize content streams.

       --environment=ENVIRONMENT
              Sets which environment within the organization the system belongs to. Every account is divided into subgroups called organizations, which are further divided into environments
              Environments define different content streams.

       --no-proxy
              Disables or ignores any previous RHN proxy settings when migrating to the new subscription management service.


# man -P cat rhn-migrate-classic-to-rhsm | tail -1
Version 0.7                     January 7, 2013 rhn-migrate-classic-to-rhsm(8)


VERIFIED

Comment 6 errata-xmlrpc 2013-09-30 23:11:56 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-1332.html