Project

General

Profile

Actions

Bug #26825

closed

Can't register systems without a UUID

Added by Jonathon Turel almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by The Foreman Bot almost 5 years ago

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

Updated by John Mitsch almost 5 years ago

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

Updated by Jonathon Turel almost 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF