Actions
Feature #30440
closedSimple & automatic host registration WF
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.
Updated by Leos Stejskal over 4 years ago
- Related to Feature #30441: API endpoint for Global Registration Template added
Updated by Leos Stejskal over 4 years ago
- Related to Feature #30442: JWT for Global Registration Template endpoint added
Updated by Leos Stejskal over 4 years ago
- Related to Feature #30443: Global Registration Template - Content added
Updated by Leos Stejskal over 4 years ago
- Related to Feature #30444: GRT - Host registration template features added
Updated by Leos Stejskal over 4 years ago
- Related to Feature #30445: Host registration template - content added
Updated by Leos Stejskal over 4 years ago
- Related to Feature #30446: Global Registration Template - Default Organization and Location added
Updated by Leos Stejskal over 4 years ago
- Related to Feature #30447: Add :insecure parameter to the Global registration endpoint added
Updated by Leos Stejskal over 4 years ago
- Related to Feature #30459: Global Registration Template - Capsule callback support added
Updated by Leos Stejskal over 4 years ago
- Related to Feature #30473: Global Registration - UI added
Updated by Leos Stejskal over 4 years ago
- Related to Feature #30475: Documentation added
Updated by Leos Stejskal over 4 years ago
- Related to Feature #30476: Support scope of permissions for JWT authorization tokens added
Updated by Leos Stejskal over 4 years ago
- Related to Feature #30676: Extend Global registration endpoint with :activation_key parameter. added
Updated by Leos Stejskal over 4 years ago
- Related to Feature #30677: Registration module added
Updated by Leos Stejskal over 4 years ago
- Related to Feature #30683: Hosts module added
Updated by Leos Stejskal over 4 years ago
- Related to Feature #30695: Global registration template endpoint - add :insecure parameter added
Updated by Marek Hulán over 4 years ago
- Related to Feature #30696: Improve the error output in global registration template added
Updated by Marek Hulán over 4 years ago
- Related to Refactor #30699: Error logging for invalid token is misleading added
Updated by Leos Stejskal over 4 years ago
- Related to Feature #30714: Global registration - add :url parameter to list of allowed params for the template added
Updated by Leos Stejskal over 4 years ago
- Related to deleted (Feature #30695: Global registration template endpoint - add :insecure parameter)
Updated by Leos Stejskal over 4 years ago
- Related to Feature #30742: Global Registration - Refactoring added
Updated by Leos Stejskal over 4 years ago
- Related to Feature #30771: Global Registration - New workflow added
Updated by Leos Stejskal over 4 years ago
- Related to deleted (Feature #30476: Support scope of permissions for JWT authorization tokens)
Updated by Leos Stejskal over 4 years ago
- Related to deleted (Feature #30683: Hosts module)
Updated by Leos Stejskal about 4 years ago
- Related to Feature #30950: Enable SmartProxy Registration module added
Updated by Marek Hulán about 4 years ago
- Related to Bug #30990: GRT and HRT should use curl with --fail to avoid executing html code on 5xx responses added
Updated by Marek Hulán about 4 years ago
- Related to Bug #30992: HRT API endpoint should document ipv6 parameter added
Updated by Marek Hulán about 4 years ago
- Related to Bug #30993: HRT endpoint enables owner in strong params definition added
Updated by Marek Hulán about 4 years ago
- Related to Feature #31020: Global registration should support disabling REX setup added
Updated by Marek Hulán about 4 years ago
- Related to Feature #31021: Global registration should support disabling insights setup added
Updated by Marek Hulán about 4 years ago
- Related to Feature #31049: Add more reliable way to detect Foreman CA certificate added
Updated by Marek Hulán about 4 years ago
- Related to Bug #31050: Registration fails if Katello is involved and the host is already subscribed, just not registered to this Satellite added
Updated by Marek Hulán about 4 years ago
- Related to Bug #31070: Improve the foreman_server_ca_cert macro documentation added
Updated by Marek Hulán about 4 years ago
- Related to Feature #31081: I should be able to specify REX interface during the registration added
Updated by Marek Hulán about 4 years ago
- Related to Bug #31082: The new insights registration snippet should be added to the Kickstart file added
Updated by Marek Hulán about 4 years ago
- Related to Feature #31137: The registration form should warn user if the OS does not have registration template associated added
Updated by Marek Hulán about 4 years ago
- Related to Refactor #31138: Host registration tab should be removed added
Updated by Marek Hulán about 4 years ago
- Related to Refactor #31143: Use single quotes in registration templates for curl added
Updated by Marek Hulán about 4 years ago
- Related to Feature #31164: Register host button should be added to the empty (welcome) host index page added
Updated by Marek Hulán about 4 years ago
- Related to Refactor #31177: Extract the permitted params to a separate variable in registration controller added
Updated by Marek Hulán about 4 years ago
- Related to Bug #31179: Registration curls print the output, making it hard to understand the progress added
Updated by Marek Hulán about 4 years ago
- Related to Feature #31211: The inline help in the registration form should be hidden in the "?" icon like in other forms added
Updated by Marek Hulán about 4 years ago
- Related to Bug #31212: Registration form parameters (such as insights) should always set the value if it's not an empty string added
Updated by Peter Ondrejka about 4 years ago
- Related to Bug #31245: Host registration UI fails with "wrong number of arguments (given 2, expected 1)" added
Updated by Peter Ondrejka about 4 years ago
- Related to Bug #31279: Activation key not supplied to the global registration template added
Updated by Tomer Brisker about 4 years ago
- Related to Bug #31281: Clarify JWT used for registration template grants full access as the generating user added
Updated by Tomer Brisker about 4 years ago
- Related to Bug #31282: Limit JWT used for host registration to only allow access to the register endpoint added
Updated by Marek Hulán about 4 years ago
- Related to Feature #31341: Deploy the foreman_scap_client as part of registration added
Updated by Leos Stejskal about 4 years ago
- Related to deleted (Feature #30475: Documentation)
Updated by Marek Hulán about 4 years ago
- Related to Bug #31397: Global Registration Form - hostgroup_id instead of host_group_id added
Updated by Marek Hulán about 4 years ago
- Related to Feature #31503: Add insecure checkbox to the registration form added
Updated by Leos Stejskal almost 4 years ago
- Related to Feature #31630: Global Registration - Hammer support added
Updated by Leos Stejskal almost 4 years ago
- Related to Feature #31819: Host Registration - Ansible module added
Updated by Leos Stejskal almost 4 years ago
- Category changed from Templates to Host registration
Updated by Leos Stejskal over 3 years ago
- Related to deleted (Feature #30696: Improve the error output in global registration template)
Updated by Leos Stejskal over 3 years ago
- Related to deleted (Refactor #31138: Host registration tab should be removed)
Updated by Leos Stejskal over 3 years ago
- Related to deleted (Bug #31212: Registration form parameters (such as insights) should always set the value if it's not an empty string)
Updated by Leos Stejskal over 3 years ago
- Related to deleted (Feature #31819: Host Registration - Ansible module)
Updated by Leos Stejskal over 3 years ago
- Related to deleted (Feature #31341: Deploy the foreman_scap_client as part of registration)
Updated by Leos Stejskal over 3 years ago
- Related to deleted (Feature #31049: Add more reliable way to detect Foreman CA certificate)
Updated by Leos Stejskal over 3 years ago
- Related to deleted (Bug #30990: GRT and HRT should use curl with --fail to avoid executing html code on 5xx responses)
Actions