Problem:
In GUI and also with hammer no report templates are shown.
Expected outcome:
Report templates are visible and can be used.
Foreman and Proxy versions:
1.18 (both)
Foreman and Proxy plugin versions:
Name : tfm-rubygem-foreman_templates
Version : 6.0.3
Distribution and version:
Centos 7
Other relevant data:
Templates are generally showed eg. provisioning, finish, pxe etc but the report templates are missing.
If I check it with hammer, the result is
hammer report-template list
Error: undefined method `action’ for nil:NilClass
A try to sync/import the templates again leads to following error:
{:name=>“Host - compare content hosts packages”,
:id=>nil,
:changed=>false,
:imported=>false,
:additional_errors=>
“Template type ReportTemplate was not found, are you missing a plugin?”,
:exception=>“uninitialized constant ReportTemplate”,
:validation_errors=>{},
:file=>“host_compare_content_hosts_packages.erb”,
:type=>nil},
{:name=>“User - Registered Users”,
:id=>nil,
:changed=>false,
:imported=>false,
:additional_errors=>
“Template type ReportTemplate was not found, are you missing a plugin?”,
:exception=>“uninitialized constant ReportTemplate”,
:validation_errors=>{},
:file=>“registered_users.erb”,
:type=>nil},
How can I fix it ? Is it possible to manually create this template type ? If so, how ?
Kind regards
Martin