Host remains in build mode during registration when setup_insights is set to true

Solution Verified - Updated

Environment

  • Red Hat Satellite 6.13 - 6.15
  • Red Hat Insights

Issue

  • Host remains in build mode when Setup Insights is enabled.

Resolution

  1. In the Satellite web UI, navigate to Administer > Settings > Provisioning.

  2. Search for the name of the template configured as the Default Global registration template.

  3. Navigate to Hosts > Templates > Provisioning Templates.

  4. Find the Default Global registration template identified in the steps above.

  5. Click Clone to duplicate the template.

  6. In the Name field, enter a name for the provisioning template.

  7. Select the Default checkbox to set the template to associate automatically with new organizations or locations.

  8. 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 -%>
  1. In the Audit Comment field, enter a summary of changes to the provisioning template for auditing purposes.
  2. Click Submit to save your provisioning template.
  3. Navigate to Administer > Settings > Provisioning.
  4. Search for the name of the template configured as the Default Global registration template.
  5. Update the variable to point to the cloned template.

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.
SBR
Category

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.