IBM Support

IBM Cloud Pak System - OpenShift Container Platform Pattern version 4.10.0.0 deployment fails with Error - The registration with Red Hat satellite service failed

Troubleshooting


Problem

OpenShift Container Platform Pattern version 4.10.0.0 deployment fails and results in the Virtual System Pattern Instance being in an ERROR state.

Symptom

The following message is reported in the History section of the failed deployment:

Error: The registration with Red Hat satellite service failed

Cause

There are 2 main causes, which can result in the symptom:
1) A satellite server is not set up or incorrectly configured 
2) The required satellite repositories for OpenShift Container Platform Pattern version 4.10.0.0 are not enabled 

Diagnosing The Problem

Download the VM logs:

Navigate to Patterns > Pattern Instances > Virtual System Instances

Click the applicable "Virtual Systems" instance 

Click "Manage" 

Click "logging" tab 

Click "Download All"

1) A satellite server is not set up or incorrectly configured 
 

Check the primary helper node's RHUSClient middleware role trace.log:

(Example) log path and trace entries to confirm registration completed...

Primary_Helper.zip_unpack/Primary Helper/logs/PrimaryHelper.12345895445718.RHUSClient/trace.log

==================================

[4 March 2023 02:20:46 UTC] stdout 140677706634880 pid=18867 DEBUG {u'sat_activate_key': u'satkey', u'sat_org_name': u'IBM', u'server_url': u'https://example.ibm.com'

..

[4 Mar 2023 02:20:51 UTC] RHUSClient/update.py 140353260709504 pid=19605 DEBUG running subscription-manager version, command to check whether system is registered with satellite service

[4 March 2023 02:20:52 UTC] RHUSClient/update.py 140353260709504 pid=19605 DEBUG Server Type: Red Hat Subscription Management
Subscription Management Server: 4.0.16-1
subscription management rules: 5.43
subscription-manager: 1.28.13-4.el8_4

[4 March 2023 02:20:52 UTC] RHUSClient/update.py 140353260709504 pid=19605 DEBUG The system is registered with satellite service

[4 March 2023 02:20:52 UTC] RHUSClient/update.py 140353260709504 pid=19605 INFO client VM configured ...

===================================

If you do NOT see message: DEBUG The system is registered with satellite service, the client did not register with a satellite server.  Proceed to "Resolving The Problem" section of this document.  Otherwise, proceed to check for item 2) 

2) The required satellite repositories for OpenShift Container Platform Pattern version 4.10.0.0 are not enabled

Check the ocp-helper standard.out log

 (Example) log path and trace entries to check for missing repositories...

/PrimaryHelper.12345895445718.zip_unpack/OpenShift_Helper_Node-Script/ocp-helper/standard.out

==================================

Repository ID: satellite-tools-6.10-for-rhel-8-x86_64-rpms

Repository name: Red Hat Satellite Tools 6.10 for RHEL 8 x86_64 (RPMs)

Repository URL: https://example.ibm.com/pulp/content/IBM/Library/content/dist/layered/rhel8/x86_64/sat-tools/6.10/os

Activated: 1

Repository ID: rhel-8-for-x86_64-baseos-rpms Repository name: Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)

Repository URL: https://example.ibm.com/pulp/content/IBM/Library/content/dist/rhel8/$releasever/x86_64/baseos/os

Activated: 1

Error: ansible-2.9-for-rhel-8-x86_64-rpms does not match a valid repository ID. Use the "subscription-manager repos --list" option to see the valid repositories.

 ====================================

 In this example, the repository ansible-2.9-for-rhel-8-x86_64-rpms was not enabled on the satellite server. Proceed to "Resolving The Problem" section of this document.

Resolving The Problem

1) For satellite server not set up or to check for configuration problems, review the following instructional document pertaining to setting up a satellite server environment on IBM Cloud Pak System

IBM Cloud Pak System : How to set up Red Hat Satellite Server V6.10 or migrate from V6.7 to V6.10

2) For satellite repository requirements, see system requirements page for list of required repositories, which must be enabled on the satellite server
When the problem is resolved, redeploy the OpenShift Container Platform Pattern version 4.10.0.0

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFQSV","label":"IBM Cloud Pak System Software"},"ARM Category":[{"code":"a8m0z000000cwo3AAA","label":"Product Components-\u003EPatterns-\u003EOpenShift"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
29 March 2023

UID

ibm16964004