How to correctly register a cloned virtual machine in Satellite
We have a virtual machine, running RHEL 7 workstation, that was cloned to make 25 additional virtual machines.
All of them have the same system identity # and same "name:" field when you run "subscription-manager identity" on them. The source virtual machine is registered in Satellite, and we would want to keep that one.
How can all of the cloned machines get registered correctly in Satellite without un-registering the original machine?
Thanks,
Paul
Responses
Ah, you didn't mention that you were using Satellite.
You need to remove /etc/rhsm/facts/katello.facts from the systems. When you installed the katello-ca-consumer-latest package, that file is created (to ensure that subscription-manager reports your system via FQDN). Otherwise, the system might report a short hostname and that causes issues with puppet.
When you cloned the system, you duplicated its identity certificate (which is how the node identifies itself to Satellite), and its entitlement certificates (which control what repos the system can access). From Satellite's perspective they are all effectively the same system. While it is not critical to resolve this right now, you definitely want to solve this sooner than later, especially if you wish to use management actions in Satellite that are done server side (like deploying errata via katello-agent). You may have unpredictable results if you do not fix these systems.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
