How to register multiple Content Hosts with same UUID to Red Hat Satellite 6.5?

Solution Verified - Updated -

Environment

  • Red Hat Satellite 6.5.

Issue

  • How can I register multiple machines which have the same UUID (BIOS/Motherboard ID) to Red Hat Satellite 6.5?
  • Experiencing following error while trying to register Content Hosts with the same UUID to Red Hat Satellite 6.5:
HTTP error (500 - Internal Server Error): Multiple profiles found. Consider removing XXX which match this host.

Resolution

  • A system's UUID is a motherboard product UUID, which is set by the hardware vendor and is encoded into the BIOS and should always be unique.

  • However, if the hardware manufacturer for some reason has set the same UUID for multiple machines you will have to create a custom fact for every machine in order to register them as separate entities with Red Hat Satellite 6.5:

# vi /etc/rhsm/facts/uuid.facts 
{"dmi.system.uuid": "customuuid"}

* customuuid = hostname which is unique for every machine.

Root Cause

  • subscription-manager when trying to register a Content Host to Red Hat Satellite 6.5 looks for the dmi.system.uuid parameter which should be unique.
  • Creating a custom fact at /etc/rhsm/facts/ on the Content Host takes precedence over subscription-manager facts.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.