Remote Execution Foreman 1.11.0 Centos 6.7

Hello… Is there any way to launch remote execution plugin on foreman
1.11.0 on Centos 6.7? I've installed the tfm-rubygem for remote execution,
I can see the job task options in foreman but I get the error that it can't
find smart proxy. I can't find the remote execution smart proxy in
repositories. I can't install the rubygem smart_proxy_dynflow either
because it requires ruby >=1.9.3 which foreman/puppet does not support.

Is there any way to get it working with this setup?

> Hello… Is there any way to launch remote execution plugin on foreman
> 1.11.0 on Centos 6.7? I've installed the tfm-rubygem for remote execution,
> I can see the job task options in foreman but I get the error that it can't
> find smart proxy. I can't find the remote execution smart proxy in
> repositories. I can't install the rubygem smart_proxy_dynflow either
> because it requires ruby >=1.9.3 which foreman/puppet does not support.
>
> Is there any way to get it working with this setup?
>

ATM its not supported on older rubies, you could setup a machine with just
the smart proxy and remote execution enabled for this usage case (no need
ot migrate off foreman itself).

Ohad

··· On Tue, Apr 19, 2016 at 1:26 PM, Ziwi wrote:


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 https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Ohad, thank you for your answer.
There are no smart proxies for remote execution in foreman1.11 yum
repositories nor in the foreman-installer - do you mean to install the
smart proxy (smart_proxy_dynflow) as a gem only, without
foreman(-installer)?

The only smart proxies in the repos (theforeman.org/plugins/1.11,
theforeman.org/releases/1.11) are:

rubygem-smart_proxy_abrt.noarch : Automatic Bug Reporting Tool plugin for
Foreman's smart proxy
rubygem-smart_proxy_abrt-doc.noarch : Documentation for
rubygem-smart_proxy_abrt
rubygem-smart_proxy_discovery.noarch : Discovery plugin for Foreman's smart
proxy
rubygem-smart_proxy_discovery-doc.noarch : Documentation for rubygem-
smart_proxy_discovery
rubygem-smart_proxy_discovery_image.noarch : Discovery image (node) plugin
for Foreman's smart proxy
rubygem-smart_proxy_discovery_image-doc.noarch : Documentation for
rubygem-smart_proxy_discovery_image
rubygem-smart_proxy_dns_powerdns.noarch : PowerDNS support for Foreman
Smart-Proxy
rubygem-smart_proxy_dns_powerdns-doc.noarch : Documentation for
rubygem-smart_proxy_dns_powerdns
rubygem-smart_proxy_openscap.noarch : OpenSCAP plug-in for Foreman's smart-
proxy.
rubygem-smart_proxy_openscap-doc.noarch : Documentation for rubygem-
smart_proxy_openscap
rubygem-smart_proxy_pulp.noarch : Basic Pulp support for Foreman Smart-Proxy
rubygem-smart_proxy_pulp-doc.noarch : Documentation for rubygem-
smart_proxy_pulp
rubygem-smart_proxy_salt.noarch : SaltStack support for Foreman Smart-Proxy
rubygem-smart_proxy_salt-doc.noarch : Documentation for rubygem-
smart_proxy_salt

There is no smart proxy for remote execution.

Thanks for the reply.

W dniu wtorek, 19 kwietnia 2016 12:31:20 UTC+2 użytkownik ohad napisał:

··· > > > > On Tue, Apr 19, 2016 at 1:26 PM, Ziwi <ziw...@gmail.com > > wrote: > >> Hello.. Is there any way to launch remote execution plugin on foreman >> 1.11.0 on Centos 6.7? I've installed the tfm-rubygem for remote execution, >> I can see the job task options in foreman but I get the error that it can't >> find smart proxy. I can't find the remote execution smart proxy in >> repositories. I can't install the rubygem smart_proxy_dynflow either >> because it requires ruby >=1.9.3 which foreman/puppet does not support. >> >> Is there any way to get it working with this setup? >> > > ATM its not supported on older rubies, you could setup a machine with just > the smart proxy and remote execution enabled for this usage case (no need > ot migrate off foreman itself). > > Ohad > >> -- >> 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-user...@googlegroups.com . >> To post to this group, send email to forema...@googlegroups.com >> . >> Visit this group at https://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. >> > >

Thank you all for replies. I'll try what you are suggesting.

··· ---- Best regards, Eryk

W dniu wtorek, 19 kwietnia 2016 13:46:25 UTC+2 użytkownik Dominic Cleal
napisał:

On 19/04/16 12:34, Ziwi wrote:

Ohad, thank you for your answer.
There are no smart proxies for remote execution in foreman1.11 yum
repositories nor in the foreman-installer - do you mean to install the
smart proxy (smart_proxy_dynflow) as a gem only, without
foreman(-installer)?

The only smart proxies in the repos (theforeman.org/plugins/1.11,
theforeman.org/releases/1.11) are:

You will need to use CentOS/EL 7.0 or another more modern OS for the
smart proxy. It isn’t possible to run the remote execution proxy plugin
with our packages on EL6.

I think what Ohad was implying is that the smart proxy could be on
another host running EL7, but Foreman can remain on EL6.


Dominic Cleal
dom...@cleal.org <javascript:>

You will need to use CentOS/EL 7.0 or another more modern OS for the
smart proxy. It isn't possible to run the remote execution proxy plugin
with our packages on EL6.

I think what Ohad was implying is that the smart proxy could be on
another host running EL7, but Foreman can remain on EL6.

··· On 19/04/16 12:34, Ziwi wrote: > Ohad, thank you for your answer. > There are no smart proxies for remote execution in foreman1.11 yum > repositories nor in the foreman-installer - do you mean to install the > smart proxy (smart_proxy_dynflow) as a gem only, without > foreman(-installer)? > > The only smart proxies in the repos (theforeman.org/plugins/1.11, > theforeman.org/releases/1.11) are:


Dominic Cleal
dominic@cleal.org

Hi there

Unfortunately I didn't find a reply to Ziwi's question:

>
> There are no smart proxies for remote execution in foreman1.11 yum
> repositories nor in the foreman-installer - do you mean to install the
> smart proxy (smart_proxy_dynflow) as a gem only, without
> foreman(-installer)?
>

But I have the same issue. I just upgraded to Foreman 1.11.1 and then
wanted to install the remote execution plugin. Unfortunately the
foreman-installer does not anymore contain the remote execution plugin
stuff as options. Will this be available again in a later Foreman release?
Or do I have to follow the manual installation
(Foreman :: Plugin Manuals)?

Best regards,
Cyril

··· Am Dienstag, 19. April 2016 13:34:30 UTC+2 schrieb Ziwi:

The installer hasn't upgraded well in the past, so new options we
created didn't get added to existing installations, only new ones. 1.12
should fix this for some recently added plugins. This affects upgrades
from 1.9 or older, as they didn't contain the remote execution plugin
options.

You can fix the config files by copying the additions from
https://github.com/theforeman/foreman-installer/commit/5f4055b as follows:

  1. /etc/foreman-installer/scenarios.d/foreman-answers.yaml and add the
    lines from config/answers.yaml (link above)
  2. /etc/foreman-installer/scenarios.d/foreman.yaml and add the lines
    from config/foreman-installer.yaml

The installer options should now be visible.

··· On 22/04/16 08:48, cyril.stoll@wlan-partner.com wrote: > Hi there > > Unfortunately I didn't find a reply to Ziwi's question: > > Am Dienstag, 19. April 2016 13:34:30 UTC+2 schrieb Ziwi: > > There are no smart proxies for remote execution in foreman1.11 yum > repositories nor in the foreman-installer - do you mean to install > the smart proxy (smart_proxy_dynflow) as a gem only, without > foreman(-installer)? > > > But I have the same issue. I just upgraded to Foreman 1.11.1 and then > wanted to install the remote execution plugin. Unfortunately the > foreman-installer does not anymore contain the remote execution plugin > stuff as options. Will this be available again in a later Foreman > release? Or do I have to follow the manual installation > (http://theforeman.org/plugins/foreman_remote_execution/0.3/index.html#2.Installation)?


Dominic Cleal
dominic@cleal.org

Hi Dominic

> You can fix the config files by copying the additions from
> https://github.com/theforeman/foreman-installer/commit/5f4055b as
> follows:
>

Wow, thank you for the super fast reply. I just tried it and it worked
like a charm!

Thank you very much and best regards,
Cyril