The foreman-hooks plugin is looking for rabl files in katello/app/views. For example, a hook for Katello::Pool expects a rabl of katello/app/views/katello/pools/show. Perhaps add the api/v2 rabl to the paths in engine.rb (line 144) but this would require mapping models to resource names (pool to subscription)
Created from redmine issue http://projects.theforeman.org/issues/19367
Upstream bug assigned to tomckay
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/19367 has been resolved.
Verified on Satellite 6.5 snap 10 using Katello::ContentView#after_create, hooks for Katello objects are executed as expected
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:1222