Host remains in build mode during registration when setup_insights is set to true
Environment
- Red Hat Satellite 6.13 - 6.15
- Red Hat Insights
Issue
- Host remains in build mode when Setup Insights is enabled.
Resolution
-
In the Satellite web UI, navigate to Administer > Settings > Provisioning.
-
Search for the name of the template configured as the Default Global registration template.
-
Navigate to Hosts > Templates > Provisioning Templates.
-
Find the Default Global registration template identified in the steps above.
-
Click Clone to duplicate the template.
-
In the Name field, enter a name for the provisioning template.
-
Select the Default checkbox to set the template to associate automatically with new organizations or locations.
-
In the Template editor field, change the lines
register_katello_host | bash <% else -%> register_host | bash <% end -%>
to
bash <(register_katello_host)
<% else -%>
bash <(register_host)
<% end -%>
- In the Audit Comment field, enter a summary of changes to the provisioning template for auditing purposes.
- Click Submit to save your provisioning template.
- Navigate to Administer > Settings > Provisioning.
- Search for the name of the template configured as the Default Global registration template.
- Update the variable to point to the cloned template.
- See Cloning provisioning templates for more details.
Root Cause
The issue is being tracked in This content is not included.SAT-26417. The call back to Satellite to exit build mode is not being executed if the registration includes registration to Insights.
Diagnostic Steps
- In Satellite on the 'All Hosts' page use the search
build = true. If systems are listed after the registration has been completed cancel the build from the hosts' detail page and apply the workaround listed in the resolution.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.