Bug 797294 - subscription-manager-migration is throwing a SyntaxError
Summary: subscription-manager-migration is throwing a SyntaxError
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Bryan Kearney
QA Contact: Entitlement Bugs
URL:
Whiteboard:
Depends On:
Blocks: 738066
TreeView+ depends on / blocked
 
Reported: 2012-02-24 20:17 UTC by John Sefler
Modified: 2012-06-20 13:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-20 13:06:09 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0804 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2012-06-19 19:51:31 UTC

Description John Sefler 2012-02-24 20:17:18 UTC
Description of problem:

[root@jsefler-r63-server ~]# rhn-migrate-classic-to-rhsm --help
  File "/usr/sbin/rhn-migrate-classic-to-rhsm", line 80
    (options, args) = parser.parse_args()
                    ^
SyntaxError: invalid syntax


Version-Release number of selected component (if applicable):
[root@jsefler-r63-server ~]# rpm -q subscription-manager-migration
subscription-manager-migration-0.99.8-1.git.17.2604172.el6.x86_64

Comment 1 Bryan Kearney 2012-02-24 21:34:14 UTC
fixed  in e98707cb42e9051f9ba2cae031eb401a434adbcd

Comment 3 Shwetha Kallesh 2012-02-27 06:33:14 UTC
Moving the bug to verified.

RPM used:

[root@dhcp201-166 ~]# rpm -qa | grep subscription-manager
subscription-manager-gnome-0.99.8-1.el6.x86_64
subscription-manager-0.99.8-1.el6.x86_64
subscription-manager-migration-0.99.8-1.el6.x86_64
subscription-manager-migration-data-1.12-1.el6.noarch
subscription-manager-debuginfo-0.99.8-1.el6.x86_64



[root@dhcp201-166 ~]# rhn-migrate-classic-to-rhsm --help
Usage: /usr/sbin/rhn-migrate-classic-to-rhsm [--force|--cli-only|--help|--no-auto]

Options:
  -f, --force     Ignore channels not available on RHSM
  -c, --cli-only  Don't launch the GUI tool to subscribe the system, just use
                  the CLI tool which will do it automatically
  -n, --no-auto   Don't execute the autosubscribe option while registering
                  with subscription manager.
  -h, --help      show this help message and exit

Comment 5 errata-xmlrpc 2012-06-20 13:06:09 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-2012-0804.html


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