Unable to Register a Red Hat Enterprise Linux 5.11 Capsule Server with Satellite 6.4

Solution Verified - Updated -

Issue

When trying to register a Red Hat Enterprise Linux 5.11 Capsule Server with Satellite 6.4, an error that resembles the following is returned

2019-01-30 10:44:09 EST -- INFO: running command: "subscription-manager register --force --org <ORG_NAME> --activationkey=<KEY> --serverurl=https://<SATELLITE_SERVER_URL> --baseurl=https://<SATELLITE_SERVER_URL>/pulp/repos"
Unable to reach the server at <SATELLITE_SERVER_URL>:443/subscription
2019-01-30 10:44:10 EST -- ERROR: command "subscription-manager register --force --org <ORG_NAME> --activationkey=<KEY> --serverurl=https://<SATELLITE_SERVER_URL> --baseurl=https://<SATELLITE_SERVER_URL>/pulp/repos" returned RC=255
2019-01-30 10:44:10 EST -- INFO: running command: "subscription-manager repos --enable=rhel-5-server-els-rpms"
Error: rhel-5-server-els-rpms is not a valid repo ID. Use --list option to see valid repos.
2019-01-30 10:44:12 EST -- ERROR: command "subscription-manager repos --enable=rhel-5-server-els-rpms" returned RC=1
2019-01-30 10:44:15 EST -- ERROR: Unable to find repo for Satelite Tools
INFO: Updating /etc/yum.conf with remove_leaf_only=1 installonly_limit=2
2019-01-30 10:44:15 EST -- INFO: running command: "yum -y install subscription-manager subscription-manager-migration subscription-manager-migration-data"
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
No package subscription-manager-migration-data available.
No package subscription-manager-migration-data available.
Nothing to do
2019-01-30 10:44:16 EST -- INFO: running command: "yum -y install katello-agent"
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
No package katello-agent available.
Nothing to do
ERROR: Please correct the above errors and try again

and the following log entries are found in /var/log/rhsm/rhsm.log

2019-01-30 10:44:09 EST -- INFO: running command: "subscription-manager register --force --org <ORG_NAME> --activationkey=<KEY> --serverurl=https://<SATELLITE_SERVER_URL> --baseurl=https://<SATELLITE_SERVER_URL>/pulp/repos"
Unable to reach the server at <SATELLITE_SERVER_URL>:443/subscription
2019-01-30 10:44:10 EST -- ERROR: command "subscription-manager register --force --org <ORG_NAME> --activationkey=<KEY> --serverurl=https://<SATELLITE_SERVER_URL> --baseurl=https://<SATELLITE_SERVER_URL>/pulp/repos" returned RC=255

A larger portion of the error in /var/log/rhsm/rhsm.log would resemble the following:

2019-01-30 10:44:11,278 [ERROR] subscription-manager @utils.py:222 - Error while checking server version: 'release'
2019-01-30 10:44:11,279 [ERROR] subscription-manager @utils.py:224 - 'release'
Traceback (most recent call last):
  File "/usr/share/rhsm/subscription_manager/utils.py", line 204, in get_server_versions
    cp_version = '-'.join([status['version'], status['release']])
KeyError: 'release'
2019-01-30 10:44:11,280 [INFO] subscription-manager @managercli.py:304 - Server Versions: {'candlepin': 'Unknown', 'server-type': 'This system is currently not registered.'}
2019-01-30 10:44:11,281 [ERROR] subscription-manager @certlib.py:307 - [Errno 2] No such file or directory: '/etc/pki/consumer/key.pem'
2019-01-30 10:44:11,282 [WARNING] subscription-manager @certmgr.py:93 - Exception caught while running certlibupdate
2019-01-30 10:44:11,282 [ERROR] subscription-manager @certmgr.py:94 -
Traceback (most recent call last):
  File "/usr/share/rhsm/subscription_manager/certmgr.py", line 84, in update
    ret = self.certlib.update()
  File "/usr/share/rhsm/subscription_manager/certlib.py", line 69, in update
    return self._do_update()
  File "/usr/share/rhsm/subscription_manager/certlib.py", line 92, in _do_update
    return action.perform(lock=self.lock)
  File "/usr/share/rhsm/subscription_manager/certlib.py", line 235, in perform
    expected = self._get_expected_serials(report)
  File "/usr/share/rhsm/subscription_manager/certlib.py", line 322, in _get_expected_serials
    exp = self.get_certificate_serials_list()
  File "/usr/share/rhsm/subscription_manager/certlib.py", line 315, in get_certificate_serials_list
    reply = self.uep.getCertificateSerials(self._get_consumer_id())
  File "/usr/share/rhsm/subscription_manager/certlib.py", line 308, in _get_consumer_id
    raise Disconnected()
Disconnected

Environment

  • Operating System: Red Hat Enterprise Linux 5.11
  • Satellite Version: Satellite 6.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In