Bug 1785879

Summary: Customer requesting RFE in registration
Product: Red Hat Satellite Reporter: Amar Ganbat <aganbat>
Component: RegistrationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Stephen Wadeley <swadeley>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.6.0CC: bkearney, mmccune, wpinheir
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-21 16:19:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Amar Ganbat 2019-12-21 21:41:21 UTC
Additional info:

Description of problem:

Some content hosts having issues with registration. Error messages are enclosed.  
The customer is willing to add more unique fields like MAC address and IP address with combination DMI and VIRT UUID. Not only user VIRT UUID.   

~~~
 [ERROR] subscription-manager:4347:MainThread @managercli.py:1116 - The DMI UUID of this host (UUID) matches other registered hosts: hostname
  raise RestlibException(response['status'], error_msg, response.get
~~~

Temporary workaround solves the problem, but the customer wants to have this feature (additional field combination check ) in future releases.  

1. Generate new random UUID
# uuidgen
78754be7-9a34-4f6e-b1a0-0fa13b170544

2. Add it to katello.facts
cat /etc/rhsm/facts/katello.facts 
{"network.hostname-override":"HOSTNAME","virt.uuid":"78754be7-9a34-4f6e-b1a0-0fa13b170544","dmi.system.uuid":"78754be7-9a34-4f6e-b1a0-0fa13b170544"}

3. Check
# subscription-manager facts | grep -i uuid
dmi.system.uuid: 78754be7-9a34-4f6e-b1a0-0fa13b170544
virt.uuid: 78754be7-9a34-4f6e-b1a0-0fa13b170544

4. Register
# subscription-manager register --org="ORGANIZATION" --activationkey=<ACTIVATION_KEY>

Comment 4 Mike McCune 2020-02-21 16:19:26 UTC
this is being tracked here:

https://bugzilla.redhat.com/show_bug.cgi?id=1772199

going to close this out as a dupe. Feel free to re-open if the config option is not what the customer is looking for.

*** This bug has been marked as a duplicate of bug 1787599 ***

Comment 5 Mike McCune 2020-02-21 16:21:22 UTC

*** This bug has been marked as a duplicate of bug 1772199 ***

Comment 6 Red Hat Bugzilla 2023-09-18 00:19:29 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days