Solved: Redhat Satellite Subscription error: Unable to find available subscriptions for all your installed products.
Today we will see how to resolve one of the most common error we used to encounter while migrating a host on satellite server.
Error Message
This system has already been registered with Red Hat using RHN Classic. Your system is being registered again using Red Hat Subscription Management. Red Hat recommends that customers only register once. To learn how to unregister from either service please consult this Knowledge Base Article: https://access.redhat.com/kb/docs/DOC-45563 The system has been registered with ID: 5b9b0699-452b-47d3-8c00-4304b77ff611 The registered system name is: host99.ngelinux.com Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Not Subscribed Unable to find available subscriptions for all your installed products. [ERROR], [2021-02-11 10:54:20], EXITING: [/usr/sbin/subscription-manager register --org 'NGEL' --name 'host99.ngelinux.com' --activationkey 'KY RHEL Server 6.10 20200608' --serverurl=https://host1.ngelinux.com:443/rhsm --baseurl=https://host1.ngelinux.com/pulp/repos --force] failed to execute properly.
Solution
1. Delete the host from Satellite GUI
Hosts--> All hosts
2. Check out the /var/lib/dhcp/dhcpd.leases file and delete all entries that belong to this host.
In my case, i found two entries to delete.
host host99.ngelinux.com { dynamic; hardware ethernet 00:15:5d:fc:6e:11; fixed-address 10.56.228.15; supersede server.filename = "grub2/grubx64.efi"; supersede server.next-server = 0a:04:42:45; supersede host-name = "host99.ngelinux.com"; } host host99.ngelinux.com { dynamic; deleted; }
After above steps, when i migrated the host , it was migrated successfully.