Cannot attach a subscription to a system registered in Subscription Management

Solution In Progress - Updated -

Environment

  • Red Hat Enterprise Linux
  • Subscription Management

Issue

  • Cannot attach a subscription to a system registered in Subscription Management
# subscription-manager register --autosubscribe
Username: user
Password: password
The system has been registered with id: xyzxyzxy-zxyz-xyzx-xyzx-xyzxyzxyzxyz
Installed Product Current Status:
Product Name:           Red Hat Enterprise Linux Server
Status:                 Not Subscribed

Resolution

  • In VMware, change the CPU topology.
    For example, a VMware virtual system presented with 4 sockets, change to 2 sockets, 2 cores per socket
    (which would still be 4 vCPUs).

Root Cause

  • The subscription purchased is only up to 2 sockets but the VMware virtual guest contains 4 sockets.

Diagnostic Steps

  1. Check the subscription available:

    Red Hat Enterprise Linux Server, Standard (1-2 sockets) (Up to 1 guest)

  2. Check the system fact for the number of sockets:

   # subscription-manager facts
    redhat.example.com
    distribution.version   6.4
    cpu.cpu_socket(s)    4
    dmi.system.manufacturer  VMware, Inc.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.