Issued:
2015-07-22
Updated:
2015-07-22

RHBA-2015:1345 - subscription-manager and python-rhsm bug fix and enhancement update


Synopsis

subscription-manager and python-rhsm bug fix and enhancement update

Type/Severity

Bug Fix Advisory

Topic

Updated subscription-manager, subscription-manager-migration-data, and python-rhsm packages that fix several bugs and add various enhancements are now available for Red Hat Enterprise Linux 6.

Description

The subscription-manager packages provide programs and libraries to allow users to manage subscriptions and yum repositories from the Red Hat entitlement platform.

The subscription-manager-migration-data package provides certificates for migrating a system from the legacy Red Hat Network Classic (RHN) to Red Hat Subscription Management (RHSM).

The python-rhsm packages provide a library for communicating with the representational state transfer (REST) interface of a Red Hat Unified Entitlement Platform. The Subscription Management tools use this interface to manage system entitlements, certificates, and access to content.

The subscription-manager packages have been upgraded to upstream version 1.14.10, which provides numerous bug fixes and enhancements over the previous version.

The subscription-manager-migration-data package has been upgraded to upstream version 2.0.22, which provides a number of bug fixes and enhancements over the previous version.

The python-rhsm packages have been upgraded to upstream version 1.14.3, which provides a number of bug fixes and enhancements over the previous version. (BZ#1195369)

This update also fixes the following bugs:

  • Previously, the "yum update --disablerepo" command removed a product certificate. As a consequence, the product was no longer installed on the client and it was impossible to retrieve the content. This bug has been fixed, certificates are no longer removed when the "--disablerepo" option is used, and repositories can now be enabled or disabled as expected. (BZ#1159163)

  • When the .pem certificate file failed to be located, an exit status of 1 was always returned. As a consequence, an error was indicated also in case no products were installed on the system. With this update, when no products are installed and the "--auto-attach" option is used for registering a system, the message "No products installed" is returned to inform the user that there is no need to attach any subscriptions and the system status is "Current" (green). Also, a zero return code indicates that the registration was successful. (BZ#1123014)

  • When configuration options in camelCase are removed from the /etc/rhsm/rhsm.conf file and then restored with the "subscription-manager config" command, they are restored in lowercase. For example, the "subscription-manager config --rhsmcertd.autoattachinterval" command fails to restore the "autoAttachInterval" option in camelCase and, as a consequence, the entry is ignored by the rhsmcertd daemon. However, an existing value can be successfully changed by using such a command. With this update, the "subscription-manager config --remove" command no longer deletes the option from the configuration file but restores its default value instead. As a result, the described problem occurs only when configuration options are manually deleted from /etc/rhsm/rhsm.conf and not reset with the "--remove" option, which is recommended. (BZ#1223860)

In addition, this update adds the following enhancements:

  • Subscription Manager now includes certificates and maps for Advanced Mission Critical Update Support (AUS). This enables migration from RHN Classic to RHSM for AUS subscriptions. (BZ#825089)

  • The rhn-migrate-classic-to-rhsm tool now supports Activation Keys when registering to RHSM. This simplifies automated migration. (BZ#1154375)

  • The rhn-migrate-classic-to-rhsm tool no longer requires RHN Classic credentials if the new "--keep" option is used. This functionality can help simplify automated migration. (BZ#1180273)

Users of subscription-manager, subscription-manager-migration-data, and python-rhsm are advised to upgrade to these updated packages, which fix these bugs and add these enhancements.

Solution

Before applying this update, make sure all previously released errata relevant to your system have been applied.

For details on how to apply this update, refer to:

https://access.redhat.com/articles/11258

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for Scientific Computing6x86_64
Red Hat Enterprise Linux for Power, big endian6ppc64
Red Hat Enterprise Linux for IBM z Systems6s390x
Red Hat Enterprise Linux Workstation6x86_64
Red Hat Enterprise Linux Workstation6i386
Red Hat Enterprise Linux Server6x86_64
Red Hat Enterprise Linux Server6i386
Red Hat Enterprise Linux Server from RHUI6x86_64
Red Hat Enterprise Linux Server from RHUI6i386
Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems)6s390x
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems)6s390x
Red Hat Enterprise Linux Desktop6x86_64
Red Hat Enterprise Linux Desktop6i386

Updated Packages

  • subscription-manager-debuginfo-1.14.10-1.el6.x86_64.rpm
  • subscription-manager-plugin-container-1.14.10-1.el6.s390x.rpm
  • subscription-manager-plugin-container-1.14.10-1.el6.x86_64.rpm
  • subscription-manager-1.14.10-1.el6.x86_64.rpm
  • subscription-manager-gui-1.14.10-1.el6.ppc64.rpm
  • subscription-manager-gui-1.14.10-1.el6.x86_64.rpm
  • python-rhsm-1.14.3-1.el6.i686.rpm
  • subscription-manager-firstboot-1.14.10-1.el6.x86_64.rpm
  • python-rhsm-debuginfo-1.14.3-1.el6.ppc64.rpm
  • subscription-manager-debuginfo-1.14.10-1.el6.ppc64.rpm
  • subscription-manager-firstboot-1.14.10-1.el6.ppc64.rpm
  • subscription-manager-1.14.10-1.el6.i686.rpm
  • subscription-manager-debuginfo-1.14.10-1.el6.i686.rpm
  • python-rhsm-1.14.3-1.el6.ppc64.rpm
  • python-rhsm-1.14.3-1.el6.src.rpm
  • subscription-manager-plugin-container-1.14.10-1.el6.ppc64.rpm
  • python-rhsm-debuginfo-1.14.3-1.el6.i686.rpm
  • subscription-manager-1.14.10-1.el6.s390x.rpm
  • subscription-manager-migration-1.14.10-1.el6.x86_64.rpm
  • subscription-manager-firstboot-1.14.10-1.el6.i686.rpm
  • subscription-manager-migration-data-2.0.22-1.el6.src.rpm
  • python-rhsm-debuginfo-1.14.3-1.el6.s390x.rpm
  • python-rhsm-1.14.3-1.el6.s390x.rpm
  • python-rhsm-1.14.3-1.el6.x86_64.rpm
  • subscription-manager-migration-data-2.0.22-1.el6.noarch.rpm
  • subscription-manager-migration-1.14.10-1.el6.ppc64.rpm
  • subscription-manager-migration-1.14.10-1.el6.i686.rpm
  • subscription-manager-gui-1.14.10-1.el6.i686.rpm
  • subscription-manager-1.14.10-1.el6.ppc64.rpm
  • subscription-manager-plugin-container-1.14.10-1.el6.i686.rpm
  • subscription-manager-migration-1.14.10-1.el6.s390x.rpm
  • subscription-manager-firstboot-1.14.10-1.el6.s390x.rpm
  • subscription-manager-gui-1.14.10-1.el6.s390x.rpm
  • subscription-manager-1.14.10-1.el6.src.rpm
  • subscription-manager-debuginfo-1.14.10-1.el6.s390x.rpm
  • python-rhsm-debuginfo-1.14.3-1.el6.x86_64.rpm

Fixes

CVEs

(none)

References

(none)


Additional information