Why does the host registration script fail?
When you SSH into your own infrastructure machine that you want to attach as a Satellite host and run the host registration script, you see a message similar to the following example.
No package rh-python36 available.
Error: Nothing to do
Your machine does not meet the minimum requirements to become a Satellite host. In particular, you must have the following packages installed on your RHEL 7 or 8 machine.
For RHEL 8
Repository 'rhel-8-for-x86_64-appstream-rpms' is enabled for this system.
Repository 'rhel-8-for-x86_64-baseos-rpms' is enabled for this system.
To resolve this issue, follow these steps.
- Add the required packages to your machine. For example, in IBM Cloud infrastructure you can run the following commands to add the required packages. For cloud provider-specific configurations, see Cloud infrastructure providers.
-
Refresh the Red Hat packages on your machine.
subscription-manager refresh
If you see an error such as
Network error, unable to connect to server. Please see /var/log/rhsm/rhsm.log for more information.
, check the security group and other network settings for your machine to make sure that you have connectivity to the internet. -
Enable the package repositories on your machine. For example, enable RHEL 8 package requirements.
subscription-manager repos --enable rhel-8-for-x86_64-appstream-rpms subscription-manager repos --enable rhel-8-for-x86_64-baseos-rpms
-
- Make sure that your machine meets the other host minimum requirements, such as minimum CPU and memory sizes.
- Run the registration script on your machine again.