Bug 1754596

Summary: Client registration fails with "HTTP error (422 - Unknown): This host is reporting a DMI UUID that differs from the existing registration" error
Product: Red Hat Satellite Reporter: Amar Ganbat <aganbat>
Component: RegistrationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Stephen Wadeley <swadeley>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.5.0CC: mmccune, wpinheir
Target Milestone: Unspecified   
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: 2019-09-23 23:44:30 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-09-23 16:37:20 UTC
Description of problem:

Client registration fails with 
HTTP error (422 - Unknown): This host is reporting a DMI UUID that differs from the existing registration

Run the following query by UUID on Satellite and found the same id registered with a different host. 

# echo "select h.name,h.id,fv.host_id,fv.id,fv.value from fact_values as fv, hosts as h where value='UUID' and h.id=fv.host_id" | su - postgres -c "psql foreman"

changing UUID helps but need to identify why hotfix didn't work

satellite-6.5.2.1-1.el7sat.noarch  

Actual results:
cannot subscribe a client to Satellite during the build of a new host.


Installed the hotfix mentioned BZ1747177
tfm-rubygem-katello-3.10.0.55-3.HOTFIXBZ17422041747177.el7sat.noarch 

But the result still the same. 

Expected results:


Additional info:

Comment 3 Mike McCune 2019-09-23 23:44:30 UTC
this is the same bug as BZ1747177, closing as a dupe. If you see slightly different behavior, please comment in that bug.

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