Server reactivation doesn't preserve subscribed channels in Satellite.

Solution Verified - Updated -

Environment

  • Red Hat Satellite 5.4.*
  • Red Hat Enterprise Linux (all versions)

Issue

When using server reactivation "rhnreg_ks --activationkey=XXX --force", the subscribed channels are not preserved.
(See the attached video for details)

Resolution

Run the following command on Satellite:

echo "reset_base_channel=0" >> /etc/rhn/rhn.conf

Root Cause

From the source code:

# base channel reset by default. 
# set to '0' if base channel needs to be preserved
reset_base_channel=0

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.

Comments