Bug 1708212 - Can't register systems without a UUID to Satellite 6.5
Summary: Can't register systems without a UUID to Satellite 6.5
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts - Content
Version: 6.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.6.0
Assignee: Jonathon Turel
QA Contact: Stephen Wadeley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-09 11:27 UTC by Evgeni Golov
Modified: 2020-07-27 11:51 UTC (History)
6 users (show)

Fixed In Version: tfm-rubygem-katello-3.12.0.3-11
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1756049 (view as bug list)
Environment:
Last Closed: 2019-10-22 19:50:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 26825 0 Normal Closed Can't register systems without a UUID 2020-08-27 01:01:24 UTC

Description Evgeni Golov 2019-05-09 11:27:54 UTC
Description of problem:

We added a check for the dmi.system.uuid fact in

commit 20fda4baa6bcaf7897189ef775b28df0f8b97478
Author: Jonathon Turel <jturel>
Date:   Thu Feb 28 16:10:05 2019 +0000

    BZ #1652652 - Registering a system fails randomly (409 Conflict)
    
    Fixes #26191 - Find existing system by UUID during registration
    
    (cherry picked from commit 94fdc4456bffe91590be2294e90cad548f8dae24)


This prevents users from registering systems that don't have this fact set (like QEMU VMs).

I think the empty UUID should be specialcased here.

Version-Release number of selected component (if applicable):
6.5.0 Snap 26


How reproducible:
100%

Steps to Reproduce:
1. start two VMs with QEMU
2. register both to satellite
3.

Actual results:
on second register, you get "HTTP error (500 - Internal Server Error): Multiple profiles found. Consider removing XXX which match this host."

Expected results:
Subscribed systems.

Additional info:

Comment 3 Jonathon Turel 2019-05-17 19:19:49 UTC
Created redmine issue https://projects.theforeman.org/issues/26825 from this bug

Comment 4 Bryan Kearney 2019-05-30 00:00:45 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26825 has been resolved.

Comment 9 Bryan Kearney 2019-10-22 19:50:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:3172


Note You need to log in before you can comment on or make changes to this bug.