8.228. subscription-manager

Updated subscription-manager packages that fix numerous bugs and add various enhancements are now available for Red Hat Enterprise Linux 6.
The subscription-manager packages provide programs and libraries to allow users to manage subscriptions and yum repositories from the Red Hat entitlement platform.

Bug Fixes

BZ#1096734
When python-rhsm made a request to the entitlement server for data in a JSON format, but got the response in a different format, such as HTML, the following attribute error was presented to the user:
AttributeError: 'exceptions.ValueError' object has no attribute 'msg' error.
With this python-rhsm fix applied, the error message presented to the user is more accurate and informative concerning the problem:
Network error. Please check the connection details, or see /var/log/rhsm/rhsm.log for more information.
BZ#1128658
Previously, the Subscription Manager tool made calls to Red Hat Network even when the system was not registered. As a consequence, some yum commands contacted Red Hat Network unexpectedly. With this update, Subscription Manager only makes contact if the server is registered for managing subscriptions, and Red Hat Network is contacted only when needed.
BZ#1118755
This update fixes typographical errors in the subscription-manager(8) manual page.
BZ#1062353
Previously, the rhn-migrate-classic-to-rhsm tool provided a confusing prompt, and it was unclear if the "Red Hat account:" prompt required the user the account number or the login. With this update, the user is prompted for Red Hat login.
BZ#1070388
Prior to this update, the Subscription Manager tool did not accept valid passwords that contained special characters for accounts on the Customer Portal. As a consequence, registration of some accounts failed. With this update, all valid passwords are accepted, and registration is no longer blocked for passwords with special characters.
BZ#1129480
Previously, the Subscription Manager tool inspected the environments URL when an activation key was provided. Consequently, Subscription Manager failed to provide authentication to environments. With this update, environments are not inspected when an activation key is given, and the activation key sequence is properly executed.
BZ#1107810
Previously, the help message for the "subscription-manager identity --force" command contained ambiguous information. With this update, the help message provides accurate information on how the "--force" option should be used.
BZ#1131213
Prior to this update, the "--serveurl" option was ignored. Consequently, a URL could not be migrated from a server without being specified in the rhsm.conf file. A patch has been applied to recognize the "--serveurl" option during migrations, and the user can now specify a server on the command line as expected.
BZ#1112326
This update fixes a typographical error in a path included in the rhsm.log file, which caused an error when loading facts from a file.
BZ#1126724
Previously, the help text contained hard-coded mention of port 443. As a consequence, help incorrectly displayed 443 port regardless of what was configured as the port. This update removes the 443 value, and appropriate values for both the host name and port are now displayed.
BZ#1135621
Previously, the GUI of the Subscription Manager tool showed both the default product certificates and the installed product certificates. As a consequence, duplicate certificates were displayed. The underlying source code has been modified to prefer the installed certificates over the default product certificates. As a result, duplicates are no longer shown in the GUI of Subscription Manager.
BZ#1122772
Previously, running the "yum repolist" command did not inform the user in the output if the system was not yet registered. With this update, the user is properly notified if the system is not registered after running "yum repolist".

Enhancements

BZ#1035115
This update adds support for updating the installed product ID certificates to the later versions.
BZ#1132071
With this update, the rhsm-debug tool collects more directories. A new directory that contains the default product certificates has been added, and rhsm-debug now collects the /etc/pki/product-default/ directory to help support personnel identify subscription problems.
BZ#1031755
With this update, subscription-manager and subscription-manager-plugin honor the http_proxy and https_proxy environment variables.
BZ#1115499
With this update, the user can enable X and disable on the same line, which reduces the number of necessary steps to perform the commands and makes disabling and enabling repositories more convenient.
Users of subscription-manager are advised to upgrade to these updated packages, which fix these bugs and add these enhancements.