Project

General

Profile

Actions

Feature #31663

closed

Feature #30440: Simple & automatic host registration WF

Usability issues with templates & operating systems

Added by Leos Stejskal almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host registration
Target version:
-
Fixed in Releases:
Found in Releases:

Description

When first users (QAs) started testing & using Global Registration feature, they were repeatedly facing some issues with usability:

1. Forgetting to assign Host registration template (HRT) to operating system
2. Assigning Global Registration Template (GRT) to OS (instead of HRT)
3. Mixing GRT & HRT in general

Fix for 1. case:
When OS is created, automatically assign default HRT (defined in settings)
Assigned HRT to the OS is precondition for sucessful host registration to the Foreman. Without it process will always fail!
Therefore users have to assign template manually each time they create OS.

If they have to do it manually every single time OS is created,
we could do it for them, right? Like we do it in Katello plugin (https://github.com/Katello/katello/pull/9049),
but for all operating systems.

Fix for case 2. & 3.:
There are two new template kinds now (instead of just one):
  • Global Registration template, (now with validation that it can't be assigned to OS)
  • Host Registration template

And new setting for default host registration template


Related issues 5 (0 open5 closed)

Related to Foreman - Bug #32097: Host detail - undefined method `initial_configuration_template'RejectedLeos StejskalActions
Related to Katello - Bug #32087: test failure due to template kindsClosedJustin SherrillActions
Related to Katello - Feature #32093: Remove auto-assign of registration template to OSClosedLeos StejskalActions
Related to Foreman - Bug #32959: Registration migration - Unassign OS from registration templatesClosedLeos StejskalActions
Related to Foreman - Bug #34661: The registration database migration could fail when the template is not availableClosedLeos StejskalActions
Actions

Also available in: Atom PDF