Foreman-proxy running, cannot communicate

In my continuing saga of trying to set up a proof-of-concept Puppet/Foreman
infrastructure I finally got all the right packages together to make it
work. sorta.

Ran the foreman-installer and everything went well until it started the
foreman-proxy. I see the following error in the installer log:

Could not set 'present' on ensure: 422 Unprocessable Entity at
12:/usr/share/foreman-installer/modules/foreman_proxy/manifests/register.pp
Could not set 'present' on ensure: 422 Unprocessable Entity at
12:/usr/share/foreman-installer/modules/foreman_proxy/manifests/register.pp
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[
pocforeman.cip.att.com]/ensure: change from absent to present failed: Could
not set 'present' on ensure: 422 Unprocessable Entity at
12:/usr/share/foreman-installer/modules/foreman_proxy/manifests/register.pp
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[
pocforeman.cip.att.com]: Failed to call refresh: missing param 'id' in
parameters
Installing Error: /Stage[main]/Foreman_proxy::Register/Forema
[99%] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[
pocforeman.cip.att.com]: missing param 'id' in parameters

not sure I understand what that means… anybody have an idea?

··· --

Peter L. Berghold Salty.Cowdawg@gmail.com

h http://blog.berghold.netttp://science-fiction.berghold.net

> not sure I understand what that means… anybody have an idea?

It means that the installer cannot register the proxy to your foreman
instance. It's a minor issue, you can even tell the installer not to do
so (see --help) and register it manually via the UI/CLI.

With zero information provided, I am not able to tell you more. Is this
Foreman nightly? Stable? Version? Platform?

··· -- Later, Lukas #lzap Zapletal

Ripped it all out and started over. Works now. Ended up also hand editing
/etc/foreman-proxy/settings.yml to trust the host this was deployed on.

After about three months of struggle I finally have all the pieces working.
Most of the struggle was getting around the companies security policies
that prevented my loading things from the internet. Other issue was
finding the right person with the entitlements necessary (at the corporate
level) to get the right RHN stuff for Foreman to work.

··· On Wed, Jan 28, 2015 at 5:18 AM, Lukas Zapletal wrote:

It’s a minor issue, you can even tell the installer not to do
so (see --help) and register it manually via the UI/CLI.

Peter L. Berghold Salty.Cowdawg@gmail.com

h http://blog.berghold.netttp://science-fiction.berghold.net