Project

General

Profile

Actions

Feature #30440

closed

Simple & automatic host registration WF

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

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

Description

See: https://community.theforeman.org/t/rfc-simple-automatic-host-registration-wf/19588

This RFC is part of an ongoing effort to simplify the registration process of the hosts into the Foreman. It’s not about provisioning new hosts from Foreman, but about registering already existing (running) hosts to Foreman and running user defined commands from the registration templates. That is especially useful in brown-field deployments, where people don’t provision the existing infrastructure from scratch, but want to start managing existing hosts by Foreman.

Motivation & Goals
Make the host registration simple and easy. We should allow users to register and set up hosts with one command.

Ideal Use Case
One command rule them all:

  • User will call curl | bash command, for example something like this:
    curl --user admin:changeme https://foreman.com/templates/register-new-host | bash
    
  • Foreman will generate Global registration template with commands for host registration to Foreman
  • After host creation Foreman will render the host-registration template with commands for host set up.

Subtasks 17 (0 open17 closed)

Feature #30475: DocumentationClosedLeos StejskalActions
Feature #30917: Add Smart proxy feature "Registration"ClosedLeos StejskalActions
Feature #30998: Global Registration - Secure connectionClosedLeos StejskalActions
Feature #30999: Global Registration Template - Add :activation_key to the templateClosedLeos StejskalActions
Refactor #31043: Global Registration Template - Replace JSON in CURL with form-dataClosedLeos StejskalActions
Feature #31236: Host setup action in RegistrationController extendable from pluginsClosedLeos StejskalActions
Bug #31420: Global Registration Template - Exit when subscription-manager failsClosedLeos StejskalActions
Feature #31629: Add API for generating registration commandClosedLeos StejskalActions
Bug #31645: Global registration fails with Validation failed: Name can't be blankClosedLeos StejskalActions
Feature #31663: Usability issues with templates & operating systemsClosedLeos StejskalActions
Feature #31687: Repository & GPG keysClosedLeos StejskalActions
Feature #31743: Install packages after host registrationClosedLeos StejskalActions
Feature #31807: Host Registration - UI Form improvementsClosedLeos StejskalActions
Feature #31240: New Host Registration FormClosedLeos StejskalActions
Feature #31811: Global Registration: wizard should let users know which fields are mandatoryClosedLeos StejskalActions
Feature #31818: JWT without expirationClosedActions
Feature #31885: Global Registration: page does not pre-populate values for "Setup Insights" & "Remote Execution" from Global ParametersClosedLeos StejskalActions

Related issues 37 (0 open37 closed)

Related to Foreman - Feature #30441: API endpoint for Global Registration Template ClosedLeos StejskalActions
Related to Foreman - Feature #30442: JWT for Global Registration Template endpointClosedLeos StejskalActions
Related to Foreman - Feature #30443: Global Registration Template - ContentResolvedLeos StejskalActions
Related to Foreman - Feature #30444: GRT - Host registration template featuresClosedLeos StejskalActions
Related to Foreman - Feature #30445: Host registration template - contentClosedLeos StejskalActions
Related to Foreman - Feature #30446: Global Registration Template - Default Organization and LocationClosedLeos StejskalActions
Related to Foreman - Feature #30447: Add :insecure parameter to the Global registration endpointRejectedLeos StejskalActions
Related to Foreman - Feature #30459: Global Registration Template - Capsule callback supportClosedLeos StejskalActions
Related to Foreman - Feature #30473: Global Registration - UIClosedLeos StejskalActions
Related to Katello - Feature #30676: Extend Global registration endpoint with :activation_key parameter.ClosedLeos StejskalActions
Related to Smart Proxy - Feature #30677: Registration moduleClosedLeos StejskalActions
Related to Foreman - Refactor #30699: Error logging for invalid token is misleadingClosedActions
Related to Foreman - Feature #30714: Global registration - add :url parameter to list of allowed params for the templateClosedLeos StejskalActions
Related to Foreman - Feature #30742: Global Registration - RefactoringClosedLeos StejskalActions
Related to Foreman - Feature #30771: Global Registration - New workflowClosedLeos StejskalActions
Related to Installer - Feature #30950: Enable SmartProxy Registration moduleClosedLeos StejskalActions
Related to Foreman - Bug #30992: HRT API endpoint should document ipv6 parameterClosedActions
Related to Foreman - Bug #30993: HRT endpoint enables owner in strong params definitionClosedActions
Related to Foreman - Feature #31020: Global registration should support disabling REX setupClosedActions
Related to Foreman - Feature #31021: Global registration should support disabling insights setupClosedActions
Related to Katello - Bug #31050: Registration fails if Katello is involved and the host is already subscribed, just not registered to this SatelliteClosedActions
Related to Foreman - Bug #31070: Improve the foreman_server_ca_cert macro documentationClosedMarek HulánActions
Related to Foreman - Feature #31081: I should be able to specify REX interface during the registrationClosedActions
Related to Foreman - Bug #31082: The new insights registration snippet should be added to the Kickstart fileClosedLeos StejskalActions
Related to Foreman - Feature #31137: The registration form should warn user if the OS does not have registration template associatedClosedActions
Related to Foreman - Refactor #31143: Use single quotes in registration templates for curlClosedMarek HulánActions
Related to Foreman - Feature #31164: Register host button should be added to the empty (welcome) host index pageClosedActions
Related to Foreman - Refactor #31177: Extract the permitted params to a separate variable in registration controllerClosedMarek HulánActions
Related to Foreman - Bug #31179: Registration curls print the output, making it hard to understand the progressClosedActions
Related to Foreman - Feature #31211: The inline help in the registration form should be hidden in the "?" icon like in other formsClosedActions
Related to Foreman - Bug #31245: Host registration UI fails with "wrong number of arguments (given 2, expected 1)"DuplicateActions
Related to Foreman - Bug #31279: Activation key not supplied to the global registration templateClosedActions
Related to Foreman - Bug #31281: Clarify JWT used for registration template grants full access as the generating userClosedActions
Related to Foreman - Bug #31282: Limit JWT used for host registration to only allow access to the register endpointClosedActions
Related to Foreman - Bug #31397: Global Registration Form - hostgroup_id instead of host_group_idClosedLeos StejskalActions
Related to Foreman - Feature #31503: Add insecure checkbox to the registration formClosedActions
Related to Hammer CLI - Feature #31630: Global Registration - Hammer supportClosedLeos StejskalActions
Actions

Also available in: Atom PDF