Foreman Ansible plugin install error

Hi there,

On a fresh Ubuntu 16.04, I installed Foreman 1.15 using apt. The install of
Foreman itself works like a charm.
Then I try to install the Foreman-Ansible plugin via the foreman-installer.
The installer shows success but the Foreman becomes unreachable.
Re-running the installer throws the following error:

Choose an option from the menu… 53
> /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[domain_name]:
> Could not evaluate: Proxy domain_name cannot be retrieved: unknown
> error (response 500)
> /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:7:in
> proxy' > /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:13:in >id'
> /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:17:in
> `exists?'
> …

However, if I downgrade (via apt) ruby-foreman-ansible from version 1.4.6-1
to 1.4.5-1, then Foreman starts normally and it seems the Foreman-Ansible
plugin works.
I tried a couple of times and the issue seems to be reproducible.

Questions:

  1. Am I supposed to do anything else but to enable the plugin in the
    Foreman-Installer to have the plugin installed and working?
  2. If this is a bug, should I report it against the plugin or the
    foreman-installer?
  3. Is the Foreman 1.15 compatible with the ruby-foreman-ansible 1.4.5-1
    instead of 1.4.6-1?

Thanks a lot,

https://github.com/theforeman/foreman_ansible/issues/102

··· On Mon, Oct 30, 2017 at 07:10:42AM -0700, Bernard Landon wrote: > However, if I downgrade (via apt) ruby-foreman-ansible from version 1.4.6-1 > to 1.4.5-1, then Foreman starts normally and it seems the Foreman-Ansible > plugin works.


Michael Moll

Indeed!

Thanks,