Feature #31240
Feature #30440: Simple & automatic host registration WF
Feature #31807: Host Registration - UI Form improvements
New Host Registration Form
Description
New Features¶
- general & advanced fields
- Two plugin extension points: General fields & advanced fields
Updated fields¶
Taxonomies- can be changed in the form
- changing taxonomies will reload form data (
- Required field, can’t select ANY option
- TODO: Make clear what it does
- When OS selected: show link to Reg. template or show error with link to OS edit
- Added help to label
- Instead of empty value show "No proxy, use Foreman URL" (or something like that)
- New simple logic: Inherit value (with actual value of parameter), enforce yes & enforce false
- Moved to advanced fields
- Yes/No in Inherit value is defined by selected Organization, Location, Host Group or Operating System.
- Moved to advanced fields
- Added validation (>= 1 && <= 999 999 999)
Insecure
No changes
Associated revisions
Refs #31240 - fix ExclamationCircleIcon import
Refs #31240 - fix more lint issues
refs #31240 - Revert lint changes from previous fix (#8469)
Changes in commit 4b36fac [0] cause bug in registration form,
selecting host group with OS doesn't work anymore and
loading host_init_config template doesn't work too.
[0] https://github.com/theforeman/foreman/commit/4b36fac6692a5fbae38d647ecee0e3ee5d0a7c59
refs #31240 - Fix 'Register host' button on Host welcome page
History
#1
Updated by Leos Stejskal almost 2 years ago
Activation keys docs: https://access.redhat.com/blogs/1169563/posts/2867891
#2
Updated by Leos Stejskal almost 2 years ago
- Description updated (diff)
#3
Updated by Leos Stejskal over 1 year ago
- Parent task changed from #30440 to #31807
- Category set to Host registration
- Description updated (diff)
- Subject changed from Global Registration Template - Multiple activation keys to Support Multiple activation keys
#4
Updated by Leos Stejskal over 1 year ago
- Description updated (diff)
- Subject changed from Support Multiple activation keys to Registration Form UI enhancements
- Tracker changed from Bug to Feature
#5
Updated by Leos Stejskal over 1 year ago
- Related to Feature #31809: Host Registration - Activation key field improvement added
#6
Updated by Leos Stejskal over 1 year ago
- Related to Bug #31810: Global Registration: Unable to re-register with satellite using the Curl Command added
#7
Updated by Leos Stejskal over 1 year ago
- Related to deleted (Feature #31809: Host Registration - Activation key field improvement)
#8
Updated by Leos Stejskal over 1 year ago
- Related to deleted (Bug #31810: Global Registration: Unable to re-register with satellite using the Curl Command)
#9
Updated by Leos Stejskal over 1 year ago
- Assignee set to Leos Stejskal
- Description updated (diff)
#10
Updated by Leos Stejskal over 1 year ago
- Description updated (diff)
- Subject changed from Registration Form UI enhancements to Registration Form - React way & UX improvements
#11
Updated by Leos Stejskal over 1 year ago
- Description updated (diff)
#12
Updated by Leos Stejskal over 1 year ago
- Subject changed from Registration Form - React way & UX improvements to React way & UX improvements
#13
Updated by Leos Stejskal over 1 year ago
- Subject changed from React way & UX improvements to New Host Registration Form
#14
Updated by The Foreman Bot over 1 year ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/8419 added
#15
Updated by The Foreman Bot over 1 year ago
- Fixed in Releases 2.5.0 added
#16
Updated by Leos Stejskal over 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|7f25f3941f2a96240841aeb0903c46c28da8b212.
#17
Updated by The Foreman Bot over 1 year ago
- Pull request https://github.com/theforeman/foreman/pull/8467 added
#18
Updated by The Foreman Bot over 1 year ago
- Pull request https://github.com/theforeman/foreman/pull/8469 added
#19
Updated by The Foreman Bot over 1 year ago
- Pull request https://github.com/theforeman/foreman/pull/8471 added
#20
Updated by The Foreman Bot about 1 year ago
- Pull request https://github.com/theforeman/foreman/pull/8618 added
Fixes #31240 - New Host Registration Form (#8419)
Completely in React, with router & PF4 components
Divided into two tabs: General fields & Advanced Fields
Slots for extending form fields (general / advanced)
Form can be submitted only if there are no invalid fields
Related plugin extensions:
Changes:Katello/katello#9249
theforeman/foreman_remote_execution#574
changing ORG/LOC will fetch new data and reset form fields (HostGroup, OS & Smart Proxy)
Reset of fields from plugins is handled by plugins.
If selected, following fields inherit the value from selected host group: Operating System, Activation Keys & Life Cycle Environment
Selecting HG resets OS field
When selected, show info about assigned host_init_config template.
If template is not found, show error and block form
organization -> location -> operatingsystem -> hostgroup
Install packages after the host registration
Can be set to unlimited, otherwise value validated as: >= 1 && <= 999 999