[Satellite 6]: Foreman Hook host/managed/after_create runs before host has been created

Solution In Progress - Updated -

Issue

  • Getting "Error: host not found" in return from hammer, the host doesn't exist in foreman when the hook runs.
  • The host object cannot be updated via hammer in the after_create hook. Hammer complains "Resource host not found".
  • Can't update the host object with hammer

Environment

  • Satellite 6.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.