Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]
(for logs, surround with three back-ticks to get proper formatting, e.g.)
@paulcalabro: Thanks. Can you please provide the full stack trace of the error message to narrow down the issue? It should be in /var/log/foreman/production.log.
Can you access https://foreman.example.com/api/v2/hosts?per_page=10 without any issue?
i commented the line under opt/theforeman/tfm/root/usr/share/gems/gems/foreman_expire_hosts-5.1.0/lib/foreman_expire_hosts/engine.rb out and it still doesnt work
All plugins got installed along with Foreman (foremaninstaller -i: selected required plugins, including expire)
Yesterday i removed expire plugin and restarted foreman: It was showing error on the front end. SO reinstalled same plugins using following commands #yum remove tfm-rubygem-foreman_expire_hosts #yum install tfm-rubygem-foreman_expire_hosts.noarch
But problem not fixed, please help.
Thanks,
Daniel
I’m having the same issue. Foreman 1.21 katello 3.11 ansible + expire_hosts.
expire_hosts installed with yum, as I do not have that option from foreman-installer.
You don´t need to download it, search for expiration.json.rabl and once you´ve got it create a soft link to
/usr/share/foreman/app/views/api/v2/hosts/expiration.json.rabl.
I´ve done and it works but the timesync role now is complain because “Multiple NTP providers are currently active/enabled”.
Do you know how to forward variables (like -e in command line ) from foreman when you want to run the role?