Subscription Asset Manager Release Notes

Red Hat Subscription Management 1

release information, installation prerequisites, and known issues for the 1.4 release

John Ha

Red Hat, Inc. Engineering Content Services

Abstract

These release notes contain important information about new features, known issues, and other technical notes available at the time that Red Hat Subscription Asset Manager 1.4 was released.
Red Hat Subscription Asset Manager is an on-premise subscription application which maintains a master list of subscriptions for an organization, an inventory of registered systems, and information about installed products, assigned (attached) subscriptions for each individual system. Subscription Asset Manager allows local maintenance, structures, and rules to be applied when managing subscriptions for systems.
These release notes contain any feature information, known issues, and structural changes for Subscription Asset Manager 1.4. This updated version of Subscription Asset Manager consists of enhancements and bug fixes. It is recommended that all Subscription Asset Manager users upgrade to Subscription Asset Manager 1.4.

1. New Features

This release of Subscription Asset Manager contains the following new or improved features that affect overall Subscription Asset Manager performance and provide more versatile options for configuring and managing infrastructures through Subscription Asset Manager.

1.1. New: flatten_orgs option

A new flatten_orgs option has been added to the /etc/splice/checkin.conf configuration file. When set to True, all configured organizations managed by Subscription Asset Manager are combined or flattened into one single organization, which allows administrators to view subscriptions across all organizations in Subscription Asset Manager. This new option removes the need to manually attach all organizations to a single one; however, flatten_orgs does not allow administrators to view subscriptions by organizations once flattened.

1.2. Enhancement: Enhanced Reporting for multiple Satellite Instances

Subscription Asset Manager 1.4 has extended the enhanced reporting tool with the ability to collect and report information on multiple Satellite 5.6 instances. The enhanced reporting tool previously supported reporting for only one Satellite instance.

2. Known Issues

These are the known issues relevant to Subscription Asset Manager 1.4. When possible, workarounds are provided.
Instllation on Red Hat Enterprise Linux 7 not supported
Subscription Asset Manager 1.4 does not support server installation on Red Hat Enterprise Linux 7. While Subscription Asset Manager 1.4 supports management of Red Hat Enterprise Linux clients from previous Red Hat Enterprise Linux releases up to and including Red Hat Enterprise Linux 7, Subscription Asset Manager 1.4 can only be installed on Red Hat Enterprise Linux 6.5 and previous releases.

3. Bugs and Issues Fixed in This Release

The complete list of bugs fixed in this release are included in RHEA-2014:0677. The bugs can also be viewed in Bug #1061834, the Bugzilla tracker for the Subscription Asset Manager 1.4 release.

4. Installing Subscription Asset Manager

Subscription Asset Manager is included as part of a subscription to Red Hat Enterprise Linux. Subscription Asset Manager allows local administration of subscriptions and allows a stronger organization structure to be created to define machines, groups, and content streams.
Subscription Asset Manager is configured through a setup script which can use simple defaults for all settings or allow environment-specific customization.

4.1. Prerequisites

The machine on which Subscription Asset Manager 1.4 is installed must meet these requirements:
  • Red Hat Enterprise Linux 6.5 Server, 64-bit

    Important

    Subscription Asset Manager 1.4cannot be installed on Red Hat Enterprise Linux 7. While Subscription Asset Manager does support Red Hat Enterprise Linux 7 client connection and management, installation of Subscription Asset Manager on Red Hat Enterprise Linux 7 servers is not supported.
  • OpenJDK 1.7
  • A minimum of 1.5GB RAM.
  • A minimum of 1GB of memory must be swap-enabled.
  • The Subscription Asset Manager hostname must be fully resolvable in DNS. Both servers and any client systems must be able to resolve the Subscription Asset Manager hostname for authentication operations and other management tasks.
  • Ports 443 and 8088 for HTTPS (secure HTTP) must be open.
  • For enhanced reporting. An additional 4 GB disk space.

4.2. Installing Using yum

  1. Register the host system. Use the --autoattach option to attach the required subscriptions for the operating system immediately.
    
    [root@server ~]# subscription-manager register --autoattach
       Username: jsmith@example.com
       Password:
    
  2. Wait several minutes for the updated content repositories to be added to the system configuration.
  3. Enable the [rhel-6-server-sam-rpms] repository.
    
    [root@server ~]# yum-config-manager --enable rhel-6-server-sam-rpms
    Loaded plugins: product-id, refresh-packagekit
    ========================= repo: rhel-6-server-sam-rpms =========================
    [rhel-6-server-sam-rpms]
    bandwidth = 0
    base_persistdir = /var/lib/yum/repos/x86_64/6Server
    baseurl = https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/subscription-asset-manager/1/os
    cache = 0
    cachedir = /var/cache/yum/x86_64/6Server/rhel-6-server-sam-rpms
    cost = 1000
    enabled = 1
    enablegroups = True
    exclude =
    failovermethod = priority
    ...
    
  4. Install the katello-headpin-all package using yum install:
    [root@server ~]# yum install -y katello-headpin-all
    
  5. After installing the packages, run the Subscription Asset Manager configuration script, katello-configure.
    The only required parameter for the basic installation is the deployment type, which is sam.
    While not required, it is useful to specify an initial organization name for your deployment. If this is not set, then the first organization has a default name of ACME_Corporation.
    This sets up the Subscription Asset Manager instance with the default user and database settings.
    
    [root@server ~]# katello-configure --deployment=sam --org=Example_Org --user-pass=admin
       Starting Katello configuration
       The top-level log file is
       [/var/log/katello/katello-configure-20130904-210539/main.log]
    

4.3. Upgrading

4.3.1. Required Upgrades

A new model of pricing and counting subscriptions conincident with the Subscription Asset Manager 1.4 release. Subscription Asset Manager 1.4 (and updated Red Hat Subscription Manager) can properly parse and apply these updated subscriptions as well as the former subscription structure. Older versions of Subscription Asset Manager cannot.

Important

If any subscriptions will be purchased after October 1, 2013, those subscriptions will use the new instance-based model. All Subscription Asset Manager servers must be upgraded to verion 1.4 in order to use those new subscriptions. Older versions of Subscription Asset Manager are not compatible with the new instance-based subscriptions.
Additionally, it is strongly recommended that the local Red Hat Subscription Manager packages be updated on all local systems in order to use the new instance-based subscriptions.
The upgrade process requires backing up Subscription Asset Manager and its databases and managing indexes, along with updating packages. The full upgrade procedure is covered in the Using Subscription Asset Manager guide in the subscription documentation set.

4.3.2. Upgrading Subscription Asset Manager

  1. Back up the Subscription Asset Manager instance before beginning the upgrade procedure. This requires backing up all of the configuration files and dumping the backend Postgres database. The default database names are katelloschema and candlepin.
  2. Stop all Subscription Asset Manager services:
    [root@server]# katello-service stop
    
    If the katello-service command is not available, then stop the associated services manually:
    
    [root@server]# service katello stop 
    [root@server]# service katello-jobs stop 
    [root@server]# service httpd stop 
    [root@server]# service tomcat6 stop 
    [root@server]# service elasticsearch stop
    

    Important

    Do not turn off the postgresql service.
  3. Flush the indexes.
    1. Start the Elasticsearch service:
      # service elasticsearch start
      
    2. Flush the indexes:
      # curl localhost:9200/_flush
      
    3. Stop the Elasticsearch service:
      # service elasticsearch stop
      
  4. Upgrade the Subscription Asset Manager packages with yum:
    [root@server]# yum upgrade
    
  5. yum avoids overwriting the current Subscription Asset Manager configuration by creating a set of .rpmnew and .rpmsave files. Check these files against the existing configuration for any new changes.
    For a list of configuration files, run the following command:
    
    [root@server]# rpm -ql katello-configure | grep erb | grep etc | sed \
    's/.*etc/\/etc/' | sed 's/\.erb//'
    
    For a list of .rpmnew files, run the following command:
    [root@server]# find /etc -name *rpmnew
    
  6. Upgrade Subscription Asset Manager using the upgrade script.
    [root@server]# katello-upgrade
    
    The upgrade script prompts for confirmation for each part of the upgrade process. For example:
    
    1/1: Update Candlepin (0003_update_candlepin.sh)
     Updates Candlepin database schema to the latest version
     Do you want to proceed? (y/n): y
     Update Candlepin OK.
    
  7. Run katello-configure to correct any configuration files and analyze log output for errors.
    [root@server]# katello-configure
    

    Note

    In some cases, the configuration process is not finished after running katello-configure once. You will need to run katello-configure again to finish the configuration process. You can safely run katello-configure as many times as required to finish the configuration process, but twice is usually sufficient.
  8. Start the Subscription Asset Manager server:
    [root@server]# katello-service start
    
  9. Test the Subscription Asset Manager server:
    
    [root@server]# katello-service status
    [root@server]# katello -u admin -p [PASSWORD] ping
    
  10. Update the port settings on every Subscription Asset Manager agent system.
    The QPIDD port changed from 5674 to 5671 after Subscription Asset Manager 1.1. All systems connecting to Subscription Asset Manager using katello-agent must be updated to use port 5671.
    1. Upgrade your system to the latest version of katello-agent and goferd.
    2. Open the Katello plug-in configuration file:
      [root@server]# vim /etc/gofer/plugins/katelloplugin.conf
      
    3. Edit the url line to change port number.
      url=ssl://$(host):5671
    4. Restart the katello-agent and goferd services.
    5. Open port 5671 on your Subscription Asset Manager firewall. For example, add the following rule to iptables:
      -A INPUT -p tcp -m state --state NEW -m tcp --dport 5671 -j ACCEPT
      

5. Revision History

Revision History
Revision 1.4-6Jun 09, 2014John Ha
Release notes for Subscription Asset Manager 1.4.
Revision 1.3-5October 1, 2013Deon Ballard
Release notes for Subscription Asset Manager 1.3.

Legal Notice

Copyright © 2014 Red Hat, Inc.
This document is licensed by Red Hat under the Creative Commons Attribution-ShareAlike 3.0 Unported License. If you distribute this document, or a modified version of it, you must provide attribution to Red Hat, Inc. and provide a link to the original. If the document is modified, all Red Hat trademarks must be removed.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat Software Collections is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.