Project

General

Profile

Bug #26825

Can't register systems without a UUID

Added by Jonathon Turel about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1708212

Description of problem:

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

commit 20fda4baa6bcaf7897189ef775b28df0f8b97478
Author: Jonathon Turel <>
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.

Steps to Reproduce:
1. start two VMs with QEMU
2. register both with subscription-manager
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.

Associated revisions

Revision a1911c7b (diff)
Added by Jonathon Turel about 3 years ago

Fixes #26825 - Allow some DMI UUID duplicates

History

#1 Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8118 added

#2 Updated by John Mitsch about 3 years ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.12.1
  • Subject changed from Can't register systems without a UUID to Can't register systems without a UUID

#3 Updated by Jonathon Turel about 3 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF