[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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content