Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

4.170. subscription-manager

Updated subscription-manager packages that fix three bugs are now available for Red Hat Enterprise Linux 5.
The subscription-manager package provides programs and libraries to allow users to manage subscriptions and yum repositories from the Red Hat Entitlement platform.

Bug Fix

BZ#788661
On Red Hat Enterprise Linux 5, subscription management does not support software channels for 64-bit PowerPC architectures. Therefore, the "install-num-migrate-to-rhsm" utility did not work on these architectures, and users were not able to migrate their systems to the Certificate-based Red Hat Network (RHN). With this update, the "install-num-migrate-to-rhsm" utility has been modified to use the supported PowerPC product certificates instead. Systems installed on 64-bit PowerPC architectures can now be migrated properly from Classic RHN to Certificate-based RHN.
BZ#788665
Previously, the "rhn-migrate-classic-to-rhsm" utility did not correctly handle a situation when a Red Hat Network (RHN) software channel supported more than one product. Consequently, the utility installed superfluous product certificates when client systems were subscribed to particular RHN channels. This update corrects "rhn-migrate-classic-to-rhsm" so that only the proper product certificate is now installed under these circumstances.
BZ#790437
Previously, the "install-num-migrate-to-rhsm" utility did not work correctly for certain products. Consequently, the utility installed also a superfluous Desktop product certificate when the system was provided with an installation number for a Workstation product and vice versa. With this update, "install-num-migrate-to-rhsm" has been fixed and only the correct product certificate is now installed under these circumstances.
All users of subscription-manager are advised to upgrade to these updated packages, which fix these bugs.
Updated subscription-manager packages that fix one bug are now available for Red Hat Enterprise Linux 5.
The subscription-manager package provides programs and libraries to allow users to manage subscriptions and yum repositories from the Red Hat Entitlement platform.

Bug Fix

BZ#838091
Client ID certificates expire after one year, and previously could be regenerated only manually by the user. With this update, the client can automatically retrieve an updated client ID certificate from the entitlement server if this is supported by the target instance.
All users of subscription-manager are advised to upgrade to these updated packages, which fix this bug.
Updated subscription-manager packages that fix numerous bugs and add various enhancements are now available for Red Hat Enterprise Linux 5.
The Subscription Manager tool allows users to understand the specific products which have been installed on their machines, and the specific subscriptions which their machines are consuming.

Bug Fixes

BZ#842170
Due to an incorrect logic in Subscription Manager, a "None" value was printed for service levels where an empty string should have been printed instead. This behavior has been fixed to recognize that an empty string represents a valid service level and the empty string is now printed for the service level if appropriate.
BZ#752316, BZ#771751
Due to an improper handling of multi-byte Unicode characters in a dependent library, some of these characters were not being rendered properly. This incorrect handling of multi-byte characters has been overridden by subclassing the dependent library and these characters are now rendered as expected.
BZ#853233
Due to an improper logic in the rhn-migrate-classic-to-rhsm tool, the Desktop (68.pem) and the Workstation (71.pem) certificates could both be installed on the system. However, these certificates cannot be installed simultaneously. Logic of this behavior has been fixed to prevent Desktop and Workstation certificates from coexisting.
BZ#849644
The --no-auto option in the rhn-migrate-classic-to-rhsm tool is used to prevent to auto-subscribing during the registration to the Subscription Manager service. Previously, user systems were not registered when the script was called with this option. This bug has been fixed, and the --no-auto option now works as expected in the described scenario.
BZ#849494
Previously, a variable name was used for two different variables in the rhn-migrate-classic-to-rhsm script. Consequently, when Red Hat Network (RHN) was configured to use a proxy, migration from RHN Classic to Certificate-based Red Hat Network failed. This script has been fixed to prevent the variable name collision and migration through a proxy now works as expected.
BZ#849483
Due to an incomplete implementation of migration from a standalone System Engine server, the migration failed when the organization name was required but not specified during registration. This bug has been fixed by soliciting the user to specify the organization name if necessary and the rhn-migrate-classic-to-rhsm tool works correctly now.
BZ#842768
Previously, the --baseurl and --serverurl options were being provided for a wide number of subcommands where they had no meaning. This overly broad options parsing has been fixed and these options are now only allowed where appropriate.
BZ#840169
When attempting to migrate a system from RHN to Red Hat Subscription Management using the rhn-migrate-classic-to-rhsm tool, the system was registered but did not have its service level set correctly. This bug has been fixed and the service level is now set before registration.
BZ#789182
Due to logging of Unicode strings, using the subscription-manager identity --regenerate command with a wrong username or a password caused a traceback to be printed to the console. This bug has been fixed by properly handling logging messages as Unicode strings and the tracebacks are no longer produced in such a case.
BZ#852001
The subscription-manager identity command is used to get the org name and org id values. Previously, this command reported the database id value instead of org id, which was then being misinterpreted by the user as the org key. Consequently, the user could try to register with the --org option passing in an unknown value. The value reported by subscription-manager identity has been changed to actually report the org key as the org id. As a result, users can now register using the reported org id value.
BZ#859811
When a consumer has been deleted on a Candlepin server, the client was left in an inconsistent state with the old consumer and entitlement certificates, which were no longer valid. This bug has been fixed and the rhsmcert daemon recognizes this inconsistent state, cleans the old entitlements, makes a backup of the old consumer certificate, and allows the client to register with the --force option.
BZ#862099
Closing some of the dialog boxes within Subscription Manager using the ESC key or the window manager's Close button led to those dialog boxes failing to open properly if the users attempted to use them again. With this update, default GTK destroy signals have been correctly hooked up and all dialog boxes can now be opened, closed and re-opened, regardless of how they are closed.
BZ#865954
Previously, Subscription Manager handled invalid system names incorrectly. Consequently, when an invalid system name was used, firstboot could become unresponsive.The handling of invalid system names has been fixed and the firstboot utility now works correctly in the described scenario.
BZ#803442
Previously, the rhn-migrate-classic-to-rhsm tool failed to migrate the RHN proxy settings from the /etc/sysconfig/rhn/up2date file. Consequently, post-migration configuration lacked the proxy settings and therefore could not connect. This bug has been fixed by including the RHN up2date proxy settings during the migration from the RHN Classic channel to Subscription manager and post-migration connection through the original proxy server is now maintained.
BZ#785203
Previously, the subscription-manager-gui utility did not have a convenient way to close. The toolbar buttons have been replaced by menus that include a Quit option.
BZ#773539
Due to incorrect logging of Unicode strings, using the orgs modules with a wrong username or a password caused a traceback to be printed to the console. This bug has been fixed by properly handling logging messages as Unicode strings and the tracebacks are no longer produced in such a case.
BZ#773527
Due to incorrect logging of Unicode strings, using the subscription-manager redeem --email command with a wrong username or a password caused a traceback to be printed to the console. This bug has been fixed by properly handling logging messages as Unicode strings and the tracebacks are no longer produced in such a case.
BZ#854467
An attempt to register with an activation key when an organization is required but not provided caused Subscription Manager to abort with an incorrect error message. The handling of the error condition has been corrected and an appropriate error message is now displayed in the described scenario.
BZ#853876
When a consumer was deleted using the subscription management application on www.redhat.com, the client was left in an inconsistent state with the old consumer and entitlement certificates, which were no longer valid. This bug has been fixed and the rhsmcert daemon recognizes this inconsistent state, cleans the old entitlements, makes a backup of the old consumer certificate, and allows the client to register with the --force option.
BZ#854312
The Candlepin server did not delete expired certificates until the next refresh operation. As a consequence, Subscription Manager could re-install any expired entitlement certificates that were reported by Candlepin, leaving the UI in an invalid state. This bug has been fixed and the rhsmcert daemon now checks any new entitlement certificates it receives from the Candlepin server to make sure that they are not expired before installing.
BZ#861443
Previously, an exception was ignored after it was issued. As a consequence, the healing process errors were never logged to the rhasmcertd log file. Handling of any exceptions has been fixed, so they are logged by the rhsmcert daemon and the proper exit status is now generated for the healing process.

Enhancements

BZ#821065
This enhancement introduces a progress spinner that is now shown during the auto-subscribe process so that the applications no longer appear to be unresponsive during this process.
BZ#790938
With this update, users can set a service-level preference, which is useful during an auto-subscribe process. Entitlements are granted from Stock-keeping units (SKUs) that provide the desired Service-level agreement (SLA).
BZ#790939
The rhn-migrate-classic-to-rhsm migration tool can now migrate a system and provide a service level for that system, so that the user can specify the SLA. Previously, the SLA was chosen automatically.
BZ#822706
The Register button is now shown on the Installed Software Tab when the system is not registered. The Auto-subscribe button is displayed once the system is registered.
Users of subscription-manager are advised to upgrade to these updated packages, which fix these bugs and add these enhancements.