Bug #26825
closedCan't register systems without a UUID
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 <jturel@gmail.com>
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.
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/8118 added
Updated by John Mitsch over 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
Updated by Jonathon Turel over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|a1911c7b68208c54d0f8667dfbc12a17bebf240c.