Hitting several bugs, Proxy not registered

Hey,

I'm running in the following
bug: Bug #7551: nightly install fails with ApipieBindings::MissingArgumentsError - Katello - Foreman. I'm using the stable
repository, while this bug refers to nightly.

> Could not set 'present' on ensure: ApipieBindings::MissingArgumentsError
> at
> 12:/usr/share/katello-installer/modules/foreman_proxy/manifests/register.pp
> /usr/lib/ruby/gems/1.8/gems/apipie-bindings-0.0.10/lib/apipie_bindings/action.rb:62:in
> validate!' > /usr/lib/ruby/gems/1.8/gems/apipie-bindings-0.0.10/lib/apipie_bindings/api.rb:151:in >call'
> /usr/lib/ruby/gems/1.8/gems/apipie-bindings-0.0.10/lib/apipie_bindings/resource.rb:14:in
> call' > /usr/share/katello-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v2.rb:42:in >create'

I manually applied this
fix: https://github.com/theforeman/puppet-foreman/commit/a50b3e477076d59b701d36c331931874f88e46ee

Then I run into this
issue: Troubleshooting - Foreman

> Could not set 'present' on ensure: 422 Unprocessable Entity at
> 12:/usr/share/foreman-installer/modules/foreman_proxy/manifests/register.pp

The additional workaround worked: adding param
"–foreman-proxy-register-in-foreman false" to foreman-installer.

But then, the proxy is not registered. How can I fix that?

Thanks for the help

> The additional workaround worked: adding param
> "–foreman-proxy-register-in-foreman false" to foreman-installer.
>
> But then, the proxy is not registered. How can I fix that?

Register it manually, it will work just fine. You don't need to do this
via the installer.

This is known issue, the version of bindings in EPEL is a little bit
old.

··· -- Later, Lukas #lzap Zapletal

Thanks for the info. I tried to register it manually, but get the following
error:

Unable to communicate with the proxy: ERF12-2530
> [ProxyAPI::ProxyException]: Unable to detect features
> ([RestClient::Forbidden]: 403 Forbidden) for proxy
> https://server.local.cloud:8443/features
> Please check the proxy is configured and running on the host.

Checking if the proxy is running:

> service foreman-proxy status

Output:

··· > * foreman-proxy is running

Am Donnerstag, 6. November 2014 13:45:42 UTC+1 schrieb Lukas Zapletal:

The additional workaround worked: adding param
"–foreman-proxy-register-in-foreman false" to foreman-installer.

But then, the proxy is not registered. How can I fix that?

Register it manually, it will work just fine. You don’t need to do this
via the installer.

This is known issue, the version of bindings in EPEL is a little bit
old.


Later,
Lukas #lzap Zapletal

Jan,

How did you install the proxy?

Eric

··· On Thu, Nov 6, 2014 at 9:22 AM, Jan-Frederic Markert < jan-frederic.markert@codecentric.de> wrote:

Thanks for the info. I tried to register it manually, but get the
following error:

Unable to communicate with the proxy: ERF12-2530

[ProxyAPI::ProxyException]: Unable to detect features
([RestClient::Forbidden]: 403 Forbidden) for proxy
https://server.local.cloud:8443/features
Please check the proxy is configured and running on the host.

Checking if the proxy is running:

service foreman-proxy status

Output:

  • foreman-proxy is running

Am Donnerstag, 6. November 2014 13:45:42 UTC+1 schrieb Lukas Zapletal:

The additional workaround worked: adding param
"–foreman-proxy-register-in-foreman false" to foreman-installer.

But then, the proxy is not registered. How can I fix that?

Register it manually, it will work just fine. You don’t need to do this
via the installer.

This is known issue, the version of bindings in EPEL is a little bit
old.


Later,
Lukas #lzap Zapletal


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

Looks like your certificates are set incorrectly.

Was your proxy deployed by our installer? What configuration parameters
have you used?

LZ

··· On Thu, Nov 06, 2014 at 09:52:18AM -0500, Eric D Helms wrote: > Jan, > > How did you install the proxy? > > Eric > > On Thu, Nov 6, 2014 at 9:22 AM, Jan-Frederic Markert < > jan-frederic.markert@codecentric.de> wrote: > > > Thanks for the info. I tried to register it manually, but get the > > following error: > > > > Unable to communicate with the proxy: ERF12-2530 > >> [ProxyAPI::ProxyException]: Unable to detect features > >> ([RestClient::Forbidden]: 403 Forbidden) for proxy > >> https://server.local.cloud:8443/features > >> Please check the proxy is configured and running on the host. > > > > > > Checking if the proxy is running: > > > >> service foreman-proxy status > > > > > > Output: > > > >> * foreman-proxy is running > > > > > > > > > > Am Donnerstag, 6. November 2014 13:45:42 UTC+1 schrieb Lukas Zapletal: > > > >> > The additional workaround worked: adding param > >> > "--foreman-proxy-register-in-foreman false" to foreman-installer. > >> > > >> > But then, the proxy is not registered. How can I fix that? > >> > >> Register it manually, it will work just fine. You don't need to do this > >> via the installer. > >> > >> This is known issue, the version of bindings in EPEL is a little bit > >> old. > >> > >> -- > >> Later, > >> Lukas #lzap Zapletal > >> > > -- > > You received this message because you are subscribed to the Google Groups > > "Foreman users" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to foreman-users+unsubscribe@googlegroups.com. > > To post to this group, send email to foreman-users@googlegroups.com. > > Visit this group at http://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > You received this message because you are subscribed to the Google Groups "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Later,
Lukas #lzap Zapletal