We have been using Red Hat free developer subscription for years, and everything is so far, so good.
However, the testing virtual machine popped an error saying the OS is missing updates because there is no valid subscription.
So, I used the commands in the below screenshot, trying to refresh the subscription on the virtual machine. All the Red Hat account login credentials are correct, and the portal shows 8 virtual machines registered under the current account, so it is within the limit. However, the command got an error Unable to find available subscriptions for all your installed products. , and the registration was unsuccessful.
The virtual machine's OS is Red Hat 7.9, though. We have this testing virtual machine because our production environment is still on this version.
So, we wonder what the culprit in this subscription issue might be. And we highly appreciate any hints and suggestions.
The screenshot of command history:
[root@hostname logs]# subscription-manager clean
All local data removed
[root@hostname logs]# subscription-manager register --auto-attach
Registering to: subscription.rhsm.redhat.com:443/subscription
Username: my.name@my.company.com
Password:
The system has been registered with ID: 2xxxxxx0-fxxx-4xxx-axxx-7xxxxxxxxxxc
The registered system name is: hostname.local.example.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.
[root@hostname logs]# hostnamectl
Static hostname: hostname.local.example.com
Icon name: computer-vm
Chassis: vm
Machine ID: 9xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxd
Boot ID: 6xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0
Virtualization: kvm
Operating System: Red Hat Enterprise Linux
CPE OS Name: cpe:/o:redhat:enterprise_linux:7.9:GA:server
Kernel: Linux 3.10.0-1160.81.1.el7.x86_64
Architecture: x86-64
[root@hostname logs]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.9 (Maipo)
[root@hostname logs]#