ERROR: Cannot find rabl template 'katello/api/v2/content_facet/base_with_root'

Hi All,

Does anybody know how to fix the issue?

The template seems to exist:

/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.2.1.1/app/views/katello/api/v2/content_facet/base_with_root.json.rabl

Issus:

Cannot find rabl template 'katello/api/v2/content_facet/base_with_root'
within registered (["/usr/share/foreman/app/views"]) view paths!

RuntimeError
Cannot find rabl template 'katello/api/v2/content_facet/base_with_root'
within registered (["/usr/share/foreman/app/views"]) view paths!

/opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.12.0/lib/rabl/sources.rb:24:in
block in fetch_source' /opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.12.0/lib/rabl.rb:60:insource_cache'
/opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.12.0/lib/rabl/sources.rb:10:in
fetch_source' /opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.12.0/lib/rabl/partials.rb:12:inpartial_as_engine'
/opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.12.0/lib/rabl/engine.rb:283:in
partial' (eval):45:inblock (2 levels) in eval_source'
/opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.12.0/lib/rabl/builder.rb:152:in
call' /opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.12.0/lib/rabl/builder.rb:152:innode'
/opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.12.0/lib/rabl/builder.rb:114:in
block in compile_settings' /opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.12.0/lib/rabl/builder.rb:113:ineach'
/opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.12.0/lib/rabl/builder.rb:113:in
`compile_settings'

Packages:
foreman-release-scl-3-1.el7.noarch
foreman-installer-katello-3.2.3-1.el7.noarch
foreman-1.13.3-1.el7.noarch

thank you,
Daniel

> Hi All,
>
> Does anybody know how to fix the issue?

I also saw it - https://github.com/Katello/katello/pull/6541

··· On 01/12, Daniel Kuffner wrote:

The template seems to exist:

/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.2.1.1/app/views/katello/api/v2/content_facet/base_with_root.json.rabl

Issus:

Cannot find rabl template 'katello/api/v2/content_facet/base_with_root’
within registered (["/usr/share/foreman/app/views"]) view paths!

RuntimeError
Cannot find rabl template 'katello/api/v2/content_facet/base_with_root’
within registered (["/usr/share/foreman/app/views"]) view paths!

/opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.12.0/lib/rabl/sources.rb:24:in
block in fetch_source' /opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.12.0/lib/rabl.rb:60:insource_cache’
/opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.12.0/lib/rabl/sources.rb:10:in
fetch_source' /opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.12.0/lib/rabl/partials.rb:12:inpartial_as_engine’
/opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.12.0/lib/rabl/engine.rb:283:in
partial' (eval):45:inblock (2 levels) in eval_source’
/opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.12.0/lib/rabl/builder.rb:152:in
call' /opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.12.0/lib/rabl/builder.rb:152:innode’
/opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.12.0/lib/rabl/builder.rb:114:in
block in compile_settings' /opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.12.0/lib/rabl/builder.rb:113:ineach’
/opt/theforeman/tfm/root/usr/share/gems/gems/rabl-0.12.0/lib/rabl/builder.rb:113:in
`compile_settings’

Packages:
foreman-release-scl-3-1.el7.noarch
foreman-installer-katello-3.2.3-1.el7.noarch
foreman-1.13.3-1.el7.noarch

thank you,
Daniel


You received this message because you are subscribed to the Google Groups “foreman-dev” group.
To unsubscribe from this group and stop receiving emails from it, send an email to foreman-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Daniel Lobato Garcia

@dLobatog
blog.daniellobato.me
daniellobato.me

GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
Keybase: https://keybase.io/elobato