Remote Execution failed

Hi Guys,

i wanted to try the remote execution out but it doesn't work out of the
box. First im getting an error that the execution has been failed:

2016-05-19 10:43:40 [foreman-tasks/action] [E] Could not use any proxy.
Consider configuring remote_execution_global_proxy or
remote_execution_fallback_proxy in settings (RuntimeError)

What am i missing?

[root@theforeman ~]# katello-installer --capsule-remote-execution-ssh=true
–capsule-remote-execution-ssh-generate-keys=true
"true" is not a boolean. It looks to be a String at
/usr/share/katello-installer/modules/foreman_proxy/manifests/plugin/remote_execution/ssh.pp:35
on node
"true" is not a boolean. It looks to be a String at
/usr/share/katello-installer/modules/foreman_proxy/manifests/plugin/remote_execution/ssh.pp:35
on node
Preparing installation Done

··· Am Donnerstag, 19. Mai 2016 10:44:49 UTC+2 schrieb Denis Müller: > > Hi Guys, > > i wanted to try the remote execution out but it doesn't work out of the > box. First im getting an error that the execution has been failed: > > 2016-05-19 10:43:40 [foreman-tasks/action] [E] Could not use any proxy. > Consider configuring remote_execution_global_proxy or > remote_execution_fallback_proxy in settings (RuntimeError) > > What am i missing? > > >

I was not able to rerpduce this behaviour with the foreman-installer.
Anyway, the ssh-generate should be turned on by default so you don't have
to specify this option.

··· On Thu, May 19, 2016 at 10:56 AM, 'Denis Müller' via Foreman users < foreman-users@googlegroups.com> wrote:

[root@theforeman ~]# katello-installer
–capsule-remote-execution-ssh=true
–capsule-remote-execution-ssh-generate-keys=true
"true" is not a boolean. It looks to be a String at
/usr/share/katello-installer/modules/foreman_proxy/manifests/plugin/remote_execution/ssh.pp:35
on node theforeman.nodes.rto.de
"true" is not a boolean. It looks to be a String at
/usr/share/katello-installer/modules/foreman_proxy/manifests/plugin/remote_execution/ssh.pp:35
on node theforeman.nodes.rto.de
Preparing installation Done

Am Donnerstag, 19. Mai 2016 10:44:49 UTC+2 schrieb Denis Müller:

Hi Guys,

i wanted to try the remote execution out but it doesn’t work out of the
box. First im getting an error that the execution has been failed:

2016-05-19 10:43:40 [foreman-tasks/action] [E] Could not use any proxy.
Consider configuring remote_execution_global_proxy or
remote_execution_fallback_proxy in settings (RuntimeError)

What am i missing?


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.

> Hi Guys,
>
> i wanted to try the remote execution out but it doesn't work out of the
> box. First im getting an error that the execution has been failed:
>
> 2016-05-19 10:43:40 [foreman-tasks/action] [E] Could not use any proxy.
> Consider configuring remote_execution_global_proxy or
> remote_execution_fallback_proxy in settings (RuntimeError)
>
> What am i missing?

When you go to Infrastructure > Smart proxies in Foreman, do you see
any proxy with the 'SSH' feature? If not, can you refresh the features
on a proxy that you think has it?

··· On 05/19, 'Denis Müller' via Foreman users 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.


Daniel Lobato Garcia

@dLobatog
blog.daniellobato.me
daniellobato.me

GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
Keybase: https://keybase.io/elobato

now its working on centos 7 machines but not on centos 6…

··· Am Donnerstag, 19. Mai 2016 10:44:49 UTC+2 schrieb Denis Müller: > > Hi Guys, > > i wanted to try the remote execution out but it doesn't work out of the > box. First im getting an error that the execution has been failed: > > 2016-05-19 10:43:40 [foreman-tasks/action] [E] Could not use any proxy. > Consider configuring remote_execution_global_proxy or > remote_execution_fallback_proxy in settings (RuntimeError) > > What am i missing? > > >

no, i can't see eny ssh features on my smart-proxy. But katello-installer
shows me that is installed and enabled.

··· Am Donnerstag, 19. Mai 2016 12:50:58 UTC+2 schrieb Daniel Lobato: > > On 05/19, 'Denis Müller' via Foreman users wrote: > > Hi Guys, > > > > i wanted to try the remote execution out but it doesn't work out of the > > box. First im getting an error that the execution has been failed: > > > > 2016-05-19 10:43:40 [foreman-tasks/action] [E] Could not use any proxy. > > Consider configuring remote_execution_global_proxy or > > remote_execution_fallback_proxy in settings (RuntimeError) > > > > What am i missing? > > When you go to Infrastructure > Smart proxies in Foreman, do you see > any proxy with the 'SSH' feature? If not, can you refresh the features > on a proxy that you think has it? > > > > > > > -- > > 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. > > > -- > Daniel Lobato Garcia > > @dLobatog > blog.daniellobato.me > daniellobato.me > > GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30 > Keybase: https://keybase.io/elobato >

there is no such file, so how can i recreate it again?

··· Am Donnerstag, 19. Mai 2016 15:45:03 UTC+2 schrieb stephen: > > Try restarting the foreman-proxy service, and refreshing the features on > the smart proxy. > > If that doesn't work, then please share the contents of > /etc/foreman-proxy/settings.d/remote_execution_ssh.yml > > > ----- Original Message ----- > > From: "'Denis Müller' via Foreman users" > > > To: "Foreman users" <forema...@googlegroups.com > > > Sent: Thursday, May 19, 2016 9:32:42 AM > > Subject: Re: [foreman-users] Remote Execution failed > > > > no, i can't see eny ssh features on my smart-proxy. But > katello-installer > > shows me that is installed and enabled. > > > > Am Donnerstag, 19. Mai 2016 12:50:58 UTC+2 schrieb Daniel Lobato: > > > > > > On 05/19, 'Denis Müller' via Foreman users wrote: > > > > Hi Guys, > > > > > > > > i wanted to try the remote execution out but it doesn't work out of > the > > > > box. First im getting an error that the execution has been failed: > > > > > > > > 2016-05-19 10:43:40 [foreman-tasks/action] [E] Could not use any > proxy. > > > > Consider configuring remote_execution_global_proxy or > > > > remote_execution_fallback_proxy in settings (RuntimeError) > > > > > > > > What am i missing? > > > > > > When you go to Infrastructure > Smart proxies in Foreman, do you see > > > any proxy with the 'SSH' feature? If not, can you refresh the features > > > on a proxy that you think has it? > > > > > > > > > > > > > > > -- > > > > 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. > > > > > > > > > -- > > > Daniel Lobato Garcia > > > > > > @dLobatog > > > blog.daniellobato.me > > > daniellobato.me > > > > > > GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30 > > > Keybase: https://keybase.io/elobato > > > > > > > -- > > 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. > > >

i tried to run the installation again: "enabled" is not a boolean. It
looks to be a String at
/usr/share/katello-installer/modules/foreman_proxy/manifests/plugin/remote_execution/ssh.pp:35
on node theforeman.nodes.rto.de
"enabled" is not a boolean. It looks to be a String at
/usr/share/katello-installer/modules/foreman_proxy/manifests/plugin/remote_execution/ssh.pp:35
on node theforeman.nodes.rto.de
Preparing installation Done
Something went wrong! Check the log for ERROR-level output
The full log is at /var/log/katello-installer/katello-installer.log

katello-installer.log (6.54 KB)

··· Am Donnerstag, 19. Mai 2016 16:02:55 UTC+2 schrieb Denis Müller: > > there is no such file, so how can i recreate it again? > > Am Donnerstag, 19. Mai 2016 15:45:03 UTC+2 schrieb stephen: >> >> Try restarting the foreman-proxy service, and refreshing the features on >> the smart proxy. >> >> If that doesn't work, then please share the contents of >> /etc/foreman-proxy/settings.d/remote_execution_ssh.yml >> >> >> ----- Original Message ----- >> > From: "'Denis Müller' via Foreman users" >> > To: "Foreman users" >> > Sent: Thursday, May 19, 2016 9:32:42 AM >> > Subject: Re: [foreman-users] Remote Execution failed >> > >> > no, i can't see eny ssh features on my smart-proxy. But >> katello-installer >> > shows me that is installed and enabled. >> > >> > Am Donnerstag, 19. Mai 2016 12:50:58 UTC+2 schrieb Daniel Lobato: >> > > >> > > On 05/19, 'Denis Müller' via Foreman users wrote: >> > > > Hi Guys, >> > > > >> > > > i wanted to try the remote execution out but it doesn't work out of >> the >> > > > box. First im getting an error that the execution has been failed: >> > > > >> > > > 2016-05-19 10:43:40 [foreman-tasks/action] [E] Could not use any >> proxy. >> > > > Consider configuring remote_execution_global_proxy or >> > > > remote_execution_fallback_proxy in settings (RuntimeError) >> > > > >> > > > What am i missing? >> > > >> > > When you go to Infrastructure > Smart proxies in Foreman, do you see >> > > any proxy with the 'SSH' feature? If not, can you refresh the >> features >> > > on a proxy that you think has it? >> > > >> > > > >> > > > >> > > > -- >> > > > 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. >> > > >> > > >> > > -- >> > > Daniel Lobato Garcia >> > > >> > > @dLobatog >> > > blog.daniellobato.me >> > > daniellobato.me >> > > >> > > GPG: >> http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30 >> > > Keybase: https://keybase.io/elobato >> > > >> > >> > -- >> > 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. >> > >> >

[root@theforeman ~]# rpm -q katello-installer
katello-installer-2.4.0-1.el7.noarch

Im confused too=) I was able to select remote execution during the first
installation. And that worked for me. But in the last couple of days i
tried to testthis plugin but with no success. Maybe i could try to
reinstall:
tfm-rubygem-foreman_remote_execution
tfm-rubygem-foreman-tasks

what do you think?

··· Am Donnerstag, 19. Mai 2016 16:30:08 UTC+2 schrieb stephen: > > > > ----- Original Message ----- > > From: "'Denis Müller' via Foreman users" > > > To: "Foreman users" <forema...@googlegroups.com > > > Cc: ste...@redhat.com > > Sent: Thursday, May 19, 2016 10:14:56 AM > > Subject: Re: [foreman-users] Remote Execution failed > > > > i tried to run the installation again: "enabled" is not a boolean. It > > looks to be a String at > > > /usr/share/katello-installer/modules/foreman_proxy/manifests/plugin/remote_execution/ssh.pp:35 > > > on node theforeman.nodes.rto.de > > "enabled" is not a boolean. It looks to be a String at > > > /usr/share/katello-installer/modules/foreman_proxy/manifests/plugin/remote_execution/ssh.pp:35 > > > on node theforeman.nodes.rto.de > > Preparing installation Done > > Something went wrong! Check the log for ERROR-level output > > The full log is at /var/log/katello-installer/katello-installer.log > > I'm a little confused here, what installer command are you using? You > seem > to have some part of the plugin installed based on the errors you said > earlier. > How did you get that installed if you're getting these errors? > > Also, what version of katello-installer do you have installed? > > rpm -q katello-installer > > > In the worst case you can just follow the manual instructions: > > http://theforeman.org/plugins/foreman_remote_execution/0.3/index.html#2.1PluginInstallation > > > > > > > Am Donnerstag, 19. Mai 2016 16:02:55 UTC+2 schrieb Denis Müller: > > > > > > there is no such file, so how can i recreate it again? > > > > > > Am Donnerstag, 19. Mai 2016 15:45:03 UTC+2 schrieb stephen: > > >> > > >> Try restarting the foreman-proxy service, and refreshing the features > on > > >> the smart proxy. > > >> > > >> If that doesn't work, then please share the contents of > > >> /etc/foreman-proxy/settings.d/remote_execution_ssh.yml > > >> > > >> > > >> ----- Original Message ----- > > >> > From: "'Denis Müller' via Foreman users" < > forema...@googlegroups.com> > > >> > To: "Foreman users" > > >> > Sent: Thursday, May 19, 2016 9:32:42 AM > > >> > Subject: Re: [foreman-users] Remote Execution failed > > >> > > > >> > no, i can't see eny ssh features on my smart-proxy. But > > >> katello-installer > > >> > shows me that is installed and enabled. > > >> > > > >> > Am Donnerstag, 19. Mai 2016 12:50:58 UTC+2 schrieb Daniel Lobato: > > >> > > > > >> > > On 05/19, 'Denis Müller' via Foreman users wrote: > > >> > > > Hi Guys, > > >> > > > > > >> > > > i wanted to try the remote execution out but it doesn't work > out of > > >> the > > >> > > > box. First im getting an error that the execution has been > failed: > > >> > > > > > >> > > > 2016-05-19 10:43:40 [foreman-tasks/action] [E] Could not use > any > > >> proxy. > > >> > > > Consider configuring remote_execution_global_proxy or > > >> > > > remote_execution_fallback_proxy in settings (RuntimeError) > > >> > > > > > >> > > > What am i missing? > > >> > > > > >> > > When you go to Infrastructure > Smart proxies in Foreman, do you > see > > >> > > any proxy with the 'SSH' feature? If not, can you refresh the > > >> features > > >> > > on a proxy that you think has it? > > >> > > > > >> > > > > > >> > > > > > >> > > > -- > > >> > > > 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. > > >> > > > > >> > > > > >> > > -- > > >> > > Daniel Lobato Garcia > > >> > > > > >> > > @dLobatog > > >> > > blog.daniellobato.me > > >> > > daniellobato.me > > >> > > > > >> > > GPG: > > >> http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30 > > >> > > Keybase: https://keybase.io/elobato > > >> > > > > >> > > > >> > -- > > >> > 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. > > >> > > > >> > > > > > > > -- > > 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. > > >

Try restarting the foreman-proxy service, and refreshing the features on
the smart proxy.

If that doesn't work, then please share the contents of /etc/foreman-proxy/settings.d/remote_execution_ssh.yml

··· ----- Original Message ----- > From: "'Denis Müller' via Foreman users" > To: "Foreman users" > Sent: Thursday, May 19, 2016 9:32:42 AM > Subject: Re: [foreman-users] Remote Execution failed > > no, i can't see eny ssh features on my smart-proxy. But katello-installer > shows me that is installed and enabled. > > Am Donnerstag, 19. Mai 2016 12:50:58 UTC+2 schrieb Daniel Lobato: > > > > On 05/19, 'Denis Müller' via Foreman users wrote: > > > Hi Guys, > > > > > > i wanted to try the remote execution out but it doesn't work out of the > > > box. First im getting an error that the execution has been failed: > > > > > > 2016-05-19 10:43:40 [foreman-tasks/action] [E] Could not use any proxy. > > > Consider configuring remote_execution_global_proxy or > > > remote_execution_fallback_proxy in settings (RuntimeError) > > > > > > What am i missing? > > > > When you go to Infrastructure > Smart proxies in Foreman, do you see > > any proxy with the 'SSH' feature? If not, can you refresh the features > > on a proxy that you think has it? > > > > > > > > > > > -- > > > 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. > > > > > > -- > > Daniel Lobato Garcia > > > > @dLobatog > > blog.daniellobato.me > > daniellobato.me > > > > GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30 > > Keybase: https://keybase.io/elobato > > > > -- > 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. >

> From: "'Denis Müller' via Foreman users" <foreman-users@googlegroups.com>
> To: "Foreman users" <foreman-users@googlegroups.com>
> Cc: stephen@redhat.com
> Sent: Thursday, May 19, 2016 10:14:56 AM
> Subject: Re: [foreman-users] Remote Execution failed
>
> i tried to run the installation again: "enabled" is not a boolean. It
> looks to be a String at
> /usr/share/katello-installer/modules/foreman_proxy/manifests/plugin/remote_execution/ssh.pp:35
> on node theforeman.nodes.rto.de
> "enabled" is not a boolean. It looks to be a String at
> /usr/share/katello-installer/modules/foreman_proxy/manifests/plugin/remote_execution/ssh.pp:35
> on node theforeman.nodes.rto.de
> Preparing installation Done
> Something went wrong! Check the log for ERROR-level output
> The full log is at /var/log/katello-installer/katello-installer.log

I'm a little confused here, what installer command are you using? You seem
to have some part of the plugin installed based on the errors you said earlier.
How did you get that installed if you're getting these errors?

Also, what version of katello-installer do you have installed?

rpm -q katello-installer

In the worst case you can just follow the manual instructions:
Foreman :: Plugin Manuals

··· ----- Original Message -----

Am Donnerstag, 19. Mai 2016 16:02:55 UTC+2 schrieb Denis Müller:

there is no such file, so how can i recreate it again?

Am Donnerstag, 19. Mai 2016 15:45:03 UTC+2 schrieb stephen:

Try restarting the foreman-proxy service, and refreshing the features on
the smart proxy.

If that doesn’t work, then please share the contents of
/etc/foreman-proxy/settings.d/remote_execution_ssh.yml

----- Original Message -----

From: “‘Denis Müller’ via Foreman users” forema...@googlegroups.com
To: “Foreman users” forema...@googlegroups.com
Sent: Thursday, May 19, 2016 9:32:42 AM
Subject: Re: [foreman-users] Remote Execution failed

no, i can’t see eny ssh features on my smart-proxy. But
katello-installer
shows me that is installed and enabled.

Am Donnerstag, 19. Mai 2016 12:50:58 UTC+2 schrieb Daniel Lobato:

On 05/19, ‘Denis Müller’ via Foreman users wrote:

Hi Guys,

i wanted to try the remote execution out but it doesn’t work out of
the

box. First im getting an error that the execution has been failed:

2016-05-19 10:43:40 [foreman-tasks/action] [E] Could not use any
proxy.

Consider configuring remote_execution_global_proxy or
remote_execution_fallback_proxy in settings (RuntimeError)

What am i missing?

When you go to Infrastructure > Smart proxies in Foreman, do you see
any proxy with the ‘SSH’ feature? If not, can you refresh the
features

on a proxy that you think has it?


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 <javascript:>.

To post to this group, send email to forema...@googlegroups.com
<javascript:>.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Daniel Lobato Garcia

@dLobatog
blog.daniellobato.me
daniellobato.me

GPG:
http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30

Keybase: https://keybase.io/elobato


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.


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.

You're missing the ssh proxy and dynflow proxy plugin packages, please follow all of the manual instructions, or share the installer command you're using.

··· ----- Original Message ----- > From: "'Denis Müller' via Foreman users" > To: "Foreman users" > Cc: stephen@redhat.com > Sent: Thursday, May 19, 2016 10:40:53 AM > Subject: Re: [foreman-users] Remote Execution failed > > [root@theforeman ~]# rpm -q katello-installer > katello-installer-2.4.0-1.el7.noarch > > Im confused too=) I was able to select remote execution during the first > installation. And that worked for me. But in the last couple of days i > tried to testthis plugin but with no success. Maybe i could try to > reinstall: > tfm-rubygem-foreman_remote_execution > tfm-rubygem-foreman-tasks > > what do you think? > > > Am Donnerstag, 19. Mai 2016 16:30:08 UTC+2 schrieb stephen: > > > > > > > > ----- Original Message ----- > > > From: "'Denis Müller' via Foreman users" > > > > > To: "Foreman users" <forema...@googlegroups.com > > > > Cc: ste...@redhat.com > > > Sent: Thursday, May 19, 2016 10:14:56 AM > > > Subject: Re: [foreman-users] Remote Execution failed > > > > > > i tried to run the installation again: "enabled" is not a boolean. It > > > looks to be a String at > > > > > /usr/share/katello-installer/modules/foreman_proxy/manifests/plugin/remote_execution/ssh.pp:35 > > > > > on node theforeman.nodes.rto.de > > > "enabled" is not a boolean. It looks to be a String at > > > > > /usr/share/katello-installer/modules/foreman_proxy/manifests/plugin/remote_execution/ssh.pp:35 > > > > > on node theforeman.nodes.rto.de > > > Preparing installation Done > > > Something went wrong! Check the log for ERROR-level output > > > The full log is at /var/log/katello-installer/katello-installer.log > > > > I'm a little confused here, what installer command are you using? You > > seem > > to have some part of the plugin installed based on the errors you said > > earlier. > > How did you get that installed if you're getting these errors? > > > > Also, what version of katello-installer do you have installed? > > > > rpm -q katello-installer > > > > > > In the worst case you can just follow the manual instructions: > > > > http://theforeman.org/plugins/foreman_remote_execution/0.3/index.html#2.1PluginInstallation > > > > > > > > > > > Am Donnerstag, 19. Mai 2016 16:02:55 UTC+2 schrieb Denis Müller: > > > > > > > > there is no such file, so how can i recreate it again? > > > > > > > > Am Donnerstag, 19. Mai 2016 15:45:03 UTC+2 schrieb stephen: > > > >> > > > >> Try restarting the foreman-proxy service, and refreshing the features > > on > > > >> the smart proxy. > > > >> > > > >> If that doesn't work, then please share the contents of > > > >> /etc/foreman-proxy/settings.d/remote_execution_ssh.yml > > > >> > > > >> > > > >> ----- Original Message ----- > > > >> > From: "'Denis Müller' via Foreman users" < > > forema...@googlegroups.com> > > > >> > To: "Foreman users" > > > >> > Sent: Thursday, May 19, 2016 9:32:42 AM > > > >> > Subject: Re: [foreman-users] Remote Execution failed > > > >> > > > > >> > no, i can't see eny ssh features on my smart-proxy. But > > > >> katello-installer > > > >> > shows me that is installed and enabled. > > > >> > > > > >> > Am Donnerstag, 19. Mai 2016 12:50:58 UTC+2 schrieb Daniel Lobato: > > > >> > > > > > >> > > On 05/19, 'Denis Müller' via Foreman users wrote: > > > >> > > > Hi Guys, > > > >> > > > > > > >> > > > i wanted to try the remote execution out but it doesn't work > > out of > > > >> the > > > >> > > > box. First im getting an error that the execution has been > > failed: > > > >> > > > > > > >> > > > 2016-05-19 10:43:40 [foreman-tasks/action] [E] Could not use > > any > > > >> proxy. > > > >> > > > Consider configuring remote_execution_global_proxy or > > > >> > > > remote_execution_fallback_proxy in settings (RuntimeError) > > > >> > > > > > > >> > > > What am i missing? > > > >> > > > > > >> > > When you go to Infrastructure > Smart proxies in Foreman, do you > > see > > > >> > > any proxy with the 'SSH' feature? If not, can you refresh the > > > >> features > > > >> > > on a proxy that you think has it? > > > >> > > > > > >> > > > > > > >> > > > > > > >> > > > -- > > > >> > > > 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. > > > >> > > > > > >> > > > > > >> > > -- > > > >> > > Daniel Lobato Garcia > > > >> > > > > > >> > > @dLobatog > > > >> > > blog.daniellobato.me > > > >> > > daniellobato.me > > > >> > > > > > >> > > GPG: > > > >> http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30 > > > >> > > Keybase: https://keybase.io/elobato > > > >> > > > > > >> > > > > >> > -- > > > >> > 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. > > > >> > > > > >> > > > > > > > > > > -- > > > 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. > > > > > > > -- > 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. >

Im just activating "foreman_plugin_remote_execution" over the katello
installer and it runs successfully. After the install i refresh features of
the smart-proxy, but nothing new.

··· Am Donnerstag, 19. Mai 2016 17:16:23 UTC+2 schrieb stephen: > > You're missing the ssh proxy and dynflow proxy plugin packages, please > follow all of the manual instructions, or share the installer command > you're using. > > ----- Original Message ----- > > From: "'Denis Müller' via Foreman users" > > > To: "Foreman users" <forema...@googlegroups.com > > > Cc: ste...@redhat.com > > Sent: Thursday, May 19, 2016 10:40:53 AM > > Subject: Re: [foreman-users] Remote Execution failed > > > > [root@theforeman ~]# rpm -q katello-installer > > katello-installer-2.4.0-1.el7.noarch > > > > Im confused too=) I was able to select remote execution during the first > > installation. And that worked for me. But in the last couple of days i > > tried to testthis plugin but with no success. Maybe i could try to > > reinstall: > > tfm-rubygem-foreman_remote_execution > > tfm-rubygem-foreman-tasks > > > > what do you think? > > > > > > Am Donnerstag, 19. Mai 2016 16:30:08 UTC+2 schrieb stephen: > > > > > > > > > > > > ----- Original Message ----- > > > > From: "'Denis Müller' via Foreman users" > > > > > > > To: "Foreman users" <forema...@googlegroups.com > > > > > Cc: ste...@redhat.com > > > > Sent: Thursday, May 19, 2016 10:14:56 AM > > > > Subject: Re: [foreman-users] Remote Execution failed > > > > > > > > i tried to run the installation again: "enabled" is not a boolean. > It > > > > looks to be a String at > > > > > > > > /usr/share/katello-installer/modules/foreman_proxy/manifests/plugin/remote_execution/ssh.pp:35 > > > > > > > > on node theforeman.nodes.rto.de > > > > "enabled" is not a boolean. It looks to be a String at > > > > > > > > /usr/share/katello-installer/modules/foreman_proxy/manifests/plugin/remote_execution/ssh.pp:35 > > > > > > > > on node theforeman.nodes.rto.de > > > > Preparing installation Done > > > > Something went wrong! Check the log for ERROR-level output > > > > The full log is at > /var/log/katello-installer/katello-installer.log > > > > > > I'm a little confused here, what installer command are you using? You > > > seem > > > to have some part of the plugin installed based on the errors you said > > > earlier. > > > How did you get that installed if you're getting these errors? > > > > > > Also, what version of katello-installer do you have installed? > > > > > > rpm -q katello-installer > > > > > > > > > In the worst case you can just follow the manual instructions: > > > > > > > http://theforeman.org/plugins/foreman_remote_execution/0.3/index.html#2.1PluginInstallation > > > > > > > > > > > > > > > Am Donnerstag, 19. Mai 2016 16:02:55 UTC+2 schrieb Denis Müller: > > > > > > > > > > there is no such file, so how can i recreate it again? > > > > > > > > > > Am Donnerstag, 19. Mai 2016 15:45:03 UTC+2 schrieb stephen: > > > > >> > > > > >> Try restarting the foreman-proxy service, and refreshing the > features > > > on > > > > >> the smart proxy. > > > > >> > > > > >> If that doesn't work, then please share the contents of > > > > >> /etc/foreman-proxy/settings.d/remote_execution_ssh.yml > > > > >> > > > > >> > > > > >> ----- Original Message ----- > > > > >> > From: "'Denis Müller' via Foreman users" < > > > forema...@googlegroups.com> > > > > >> > To: "Foreman users" > > > > >> > Sent: Thursday, May 19, 2016 9:32:42 AM > > > > >> > Subject: Re: [foreman-users] Remote Execution failed > > > > >> > > > > > >> > no, i can't see eny ssh features on my smart-proxy. But > > > > >> katello-installer > > > > >> > shows me that is installed and enabled. > > > > >> > > > > > >> > Am Donnerstag, 19. Mai 2016 12:50:58 UTC+2 schrieb Daniel > Lobato: > > > > >> > > > > > > >> > > On 05/19, 'Denis Müller' via Foreman users wrote: > > > > >> > > > Hi Guys, > > > > >> > > > > > > > >> > > > i wanted to try the remote execution out but it doesn't > work > > > out of > > > > >> the > > > > >> > > > box. First im getting an error that the execution has been > > > failed: > > > > >> > > > > > > > >> > > > 2016-05-19 10:43:40 [foreman-tasks/action] [E] Could not > use > > > any > > > > >> proxy. > > > > >> > > > Consider configuring remote_execution_global_proxy or > > > > >> > > > remote_execution_fallback_proxy in settings (RuntimeError) > > > > >> > > > > > > > >> > > > What am i missing? > > > > >> > > > > > > >> > > When you go to Infrastructure > Smart proxies in Foreman, do > you > > > see > > > > >> > > any proxy with the 'SSH' feature? If not, can you refresh the > > > > >> features > > > > >> > > on a proxy that you think has it? > > > > >> > > > > > > >> > > > > > > > >> > > > > > > > >> > > > -- > > > > >> > > > 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. > > > > > >> > > > > > > >> > > > > > > >> > > -- > > > > >> > > Daniel Lobato Garcia > > > > >> > > > > > > >> > > @dLobatog > > > > >> > > blog.daniellobato.me > > > > >> > > daniellobato.me > > > > >> > > > > > > >> > > GPG: > > > > >> http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30 > > > > >> > > Keybase: https://keybase.io/elobato > > > > >> > > > > > > >> > > > > > >> > -- > > > > >> > 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. > > > > >> > > > > > >> > > > > > > > > > > > > > -- > > > > 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. > > > > > > > > > > > -- > > 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. > > >

tfm-rubygem-foreman_remote_execution.noarch
and tfm-rubygem-dynflow-0.8.10-1.fm1_10.el7.noarch are already installed
but no SSH remote executtion provider. There is a
package: rubygem-smart_proxy_remote_execution_ssh, but it installs
dependencies:

rubygem-apipie-params
rubygem-concurrent-ruby
rubygem-concurrent-ruby-edge
rubygem-dynflow
rubygem-net-scp
rubygem-net-ssh
rubygem-sequel
rubygem-smart_proxy_dynflow
rubygem-sqlite3

So i think i need a tfm version of rubygem-smart_proxy_remote_execution_ssh
package ??

Thank you for reply

··· Am Donnerstag, 19. Mai 2016 17:16:23 UTC+2 schrieb stephen: > > You're missing the ssh proxy and dynflow proxy plugin packages, please > follow all of the manual instructions, or share the installer command > you're using. > > ----- Original Message ----- > > From: "'Denis Müller' via Foreman users" > > > To: "Foreman users" <forema...@googlegroups.com > > > Cc: ste...@redhat.com > > Sent: Thursday, May 19, 2016 10:40:53 AM > > Subject: Re: [foreman-users] Remote Execution failed > > > > [root@theforeman ~]# rpm -q katello-installer > > katello-installer-2.4.0-1.el7.noarch > > > > Im confused too=) I was able to select remote execution during the first > > installation. And that worked for me. But in the last couple of days i > > tried to testthis plugin but with no success. Maybe i could try to > > reinstall: > > tfm-rubygem-foreman_remote_execution > > tfm-rubygem-foreman-tasks > > > > what do you think? > > > > > > Am Donnerstag, 19. Mai 2016 16:30:08 UTC+2 schrieb stephen: > > > > > > > > > > > > ----- Original Message ----- > > > > From: "'Denis Müller' via Foreman users" > > > > > > > To: "Foreman users" <forema...@googlegroups.com > > > > > Cc: ste...@redhat.com > > > > Sent: Thursday, May 19, 2016 10:14:56 AM > > > > Subject: Re: [foreman-users] Remote Execution failed > > > > > > > > i tried to run the installation again: "enabled" is not a boolean. > It > > > > looks to be a String at > > > > > > > > /usr/share/katello-installer/modules/foreman_proxy/manifests/plugin/remote_execution/ssh.pp:35 > > > > > > > > on node theforeman.nodes.rto.de > > > > "enabled" is not a boolean. It looks to be a String at > > > > > > > > /usr/share/katello-installer/modules/foreman_proxy/manifests/plugin/remote_execution/ssh.pp:35 > > > > > > > > on node theforeman.nodes.rto.de > > > > Preparing installation Done > > > > Something went wrong! Check the log for ERROR-level output > > > > The full log is at > /var/log/katello-installer/katello-installer.log > > > > > > I'm a little confused here, what installer command are you using? You > > > seem > > > to have some part of the plugin installed based on the errors you said > > > earlier. > > > How did you get that installed if you're getting these errors? > > > > > > Also, what version of katello-installer do you have installed? > > > > > > rpm -q katello-installer > > > > > > > > > In the worst case you can just follow the manual instructions: > > > > > > > http://theforeman.org/plugins/foreman_remote_execution/0.3/index.html#2.1PluginInstallation > > > > > > > > > > > > > > > Am Donnerstag, 19. Mai 2016 16:02:55 UTC+2 schrieb Denis Müller: > > > > > > > > > > there is no such file, so how can i recreate it again? > > > > > > > > > > Am Donnerstag, 19. Mai 2016 15:45:03 UTC+2 schrieb stephen: > > > > >> > > > > >> Try restarting the foreman-proxy service, and refreshing the > features > > > on > > > > >> the smart proxy. > > > > >> > > > > >> If that doesn't work, then please share the contents of > > > > >> /etc/foreman-proxy/settings.d/remote_execution_ssh.yml > > > > >> > > > > >> > > > > >> ----- Original Message ----- > > > > >> > From: "'Denis Müller' via Foreman users" < > > > forema...@googlegroups.com> > > > > >> > To: "Foreman users" > > > > >> > Sent: Thursday, May 19, 2016 9:32:42 AM > > > > >> > Subject: Re: [foreman-users] Remote Execution failed > > > > >> > > > > > >> > no, i can't see eny ssh features on my smart-proxy. But > > > > >> katello-installer > > > > >> > shows me that is installed and enabled. > > > > >> > > > > > >> > Am Donnerstag, 19. Mai 2016 12:50:58 UTC+2 schrieb Daniel > Lobato: > > > > >> > > > > > > >> > > On 05/19, 'Denis Müller' via Foreman users wrote: > > > > >> > > > Hi Guys, > > > > >> > > > > > > > >> > > > i wanted to try the remote execution out but it doesn't > work > > > out of > > > > >> the > > > > >> > > > box. First im getting an error that the execution has been > > > failed: > > > > >> > > > > > > > >> > > > 2016-05-19 10:43:40 [foreman-tasks/action] [E] Could not > use > > > any > > > > >> proxy. > > > > >> > > > Consider configuring remote_execution_global_proxy or > > > > >> > > > remote_execution_fallback_proxy in settings (RuntimeError) > > > > >> > > > > > > > >> > > > What am i missing? > > > > >> > > > > > > >> > > When you go to Infrastructure > Smart proxies in Foreman, do > you > > > see > > > > >> > > any proxy with the 'SSH' feature? If not, can you refresh the > > > > >> features > > > > >> > > on a proxy that you think has it? > > > > >> > > > > > > >> > > > > > > > >> > > > > > > > >> > > > -- > > > > >> > > > 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. > > > > > >> > > > > > > >> > > > > > > >> > > -- > > > > >> > > Daniel Lobato Garcia > > > > >> > > > > > > >> > > @dLobatog > > > > >> > > blog.daniellobato.me > > > > >> > > daniellobato.me > > > > >> > > > > > > >> > > GPG: > > > > >> http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30 > > > > >> > > Keybase: https://keybase.io/elobato > > > > >> > > > > > > >> > > > > > >> > -- > > > > >> > 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. > > > > >> > > > > > >> > > > > > > > > > > > > > -- > > > > 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. > > > > > > > > > > > -- > > 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. > > >

Started POST "/foreman_tasks/api/tasks/callback" for 192.168.11.237 at
2016-05-20 08:38:28 +0200
2016-05-20 08:38:28 [app] [I] Processing by
ForemanTasks::Api::TasksController#callback as HTML
2016-05-20 08:38:28 [app] [I] Parameters:
{"callback"=>{"task_id"=>"b628b1fe-a60f-4d13-96a3-bf4ae9cc5aa4",
"step_id"=>3}, "data"=>{"result"=>[{"output_type"=>"debug",
"output"=>"Error initializing command
#<Proxy::RemoteExecution::Ssh::Dispatcher::Command:0x0000000413e6e8>\nNet::SCP::Error
SCP did not finish successfully (127): ",
"timestamp"=>1463726308.0900817}], "exit_status"=>"EXCEPTION"}, "task"=>{}}
2016-05-20 08:38:28 [app] [I] Completed 200 OK in 30ms (Views: 0.1ms |
ActiveRecord: 2.6ms)
2016-05-20 08:38:28 [foreman-tasks/action] [E] Script execution failed
2016-05-20 08:38:28 [app] [I]

··· Am Freitag, 20. Mai 2016 08:36:48 UTC+2 schrieb Denis Müller: > > now its working on centos 7 machines but not on centos 6... > > Am Donnerstag, 19. Mai 2016 10:44:49 UTC+2 schrieb Denis Müller: >> >> Hi Guys, >> >> i wanted to try the remote execution out but it doesn't work out of the >> box. First im getting an error that the execution has been failed: >> >> 2016-05-19 10:43:40 [foreman-tasks/action] [E] Could not use any proxy. >> Consider configuring remote_execution_global_proxy or >> remote_execution_fallback_proxy in settings (RuntimeError) >> >> What am i missing? >> >> >>

after installing those packages, now i can see SSH functionality in
smart-proxy.

··· Am Freitag, 20. Mai 2016 08:21:45 UTC+2 schrieb Denis Müller: > > tfm-rubygem-foreman_remote_execution.noarch > and tfm-rubygem-dynflow-0.8.10-1.fm1_10.el7.noarch are already installed > but no SSH remote executtion provider. There is a > package: rubygem-smart_proxy_remote_execution_ssh, but it installs > dependencies: > > rubygem-apipie-params > rubygem-concurrent-ruby > rubygem-concurrent-ruby-edge > rubygem-dynflow > rubygem-net-scp > rubygem-net-ssh > rubygem-sequel > rubygem-smart_proxy_dynflow > rubygem-sqlite3 > > So i think i need a tfm version of > rubygem-smart_proxy_remote_execution_ssh package ?? > > Thank you for reply > > Am Donnerstag, 19. Mai 2016 17:16:23 UTC+2 schrieb stephen: >> >> You're missing the ssh proxy and dynflow proxy plugin packages, please >> follow all of the manual instructions, or share the installer command >> you're using. >> >> ----- Original Message ----- >> > From: "'Denis Müller' via Foreman users" >> > To: "Foreman users" >> > Cc: ste...@redhat.com >> > Sent: Thursday, May 19, 2016 10:40:53 AM >> > Subject: Re: [foreman-users] Remote Execution failed >> > >> > [root@theforeman ~]# rpm -q katello-installer >> > katello-installer-2.4.0-1.el7.noarch >> > >> > Im confused too=) I was able to select remote execution during the >> first >> > installation. And that worked for me. But in the last couple of days i >> > tried to testthis plugin but with no success. Maybe i could try to >> > reinstall: >> > tfm-rubygem-foreman_remote_execution >> > tfm-rubygem-foreman-tasks >> > >> > what do you think? >> > >> > >> > Am Donnerstag, 19. Mai 2016 16:30:08 UTC+2 schrieb stephen: >> > > >> > > >> > > >> > > ----- Original Message ----- >> > > > From: "'Denis Müller' via Foreman users" < >> forema...@googlegroups.com >> > > > >> > > > To: "Foreman users" <forema...@googlegroups.com > >> > > > Cc: ste...@redhat.com >> > > > Sent: Thursday, May 19, 2016 10:14:56 AM >> > > > Subject: Re: [foreman-users] Remote Execution failed >> > > > >> > > > i tried to run the installation again: "enabled" is not a boolean. >> It >> > > > looks to be a String at >> > > > >> > > >> /usr/share/katello-installer/modules/foreman_proxy/manifests/plugin/remote_execution/ssh.pp:35 >> >> > > >> > > > on node theforeman.nodes.rto.de >> > > > "enabled" is not a boolean. It looks to be a String at >> > > > >> > > >> /usr/share/katello-installer/modules/foreman_proxy/manifests/plugin/remote_execution/ssh.pp:35 >> >> > > >> > > > on node theforeman.nodes.rto.de >> > > > Preparing installation Done >> > > > Something went wrong! Check the log for ERROR-level output >> > > > The full log is at >> /var/log/katello-installer/katello-installer.log >> > > >> > > I'm a little confused here, what installer command are you using? >> You >> > > seem >> > > to have some part of the plugin installed based on the errors you >> said >> > > earlier. >> > > How did you get that installed if you're getting these errors? >> > > >> > > Also, what version of katello-installer do you have installed? >> > > >> > > rpm -q katello-installer >> > > >> > > >> > > In the worst case you can just follow the manual instructions: >> > > >> > > >> http://theforeman.org/plugins/foreman_remote_execution/0.3/index.html#2.1PluginInstallation >> > > >> > > > >> > > > >> > > > Am Donnerstag, 19. Mai 2016 16:02:55 UTC+2 schrieb Denis Müller: >> > > > > >> > > > > there is no such file, so how can i recreate it again? >> > > > > >> > > > > Am Donnerstag, 19. Mai 2016 15:45:03 UTC+2 schrieb stephen: >> > > > >> >> > > > >> Try restarting the foreman-proxy service, and refreshing the >> features >> > > on >> > > > >> the smart proxy. >> > > > >> >> > > > >> If that doesn't work, then please share the contents of >> > > > >> /etc/foreman-proxy/settings.d/remote_execution_ssh.yml >> > > > >> >> > > > >> >> > > > >> ----- Original Message ----- >> > > > >> > From: "'Denis Müller' via Foreman users" < >> > > forema...@googlegroups.com> >> > > > >> > To: "Foreman users" >> > > > >> > Sent: Thursday, May 19, 2016 9:32:42 AM >> > > > >> > Subject: Re: [foreman-users] Remote Execution failed >> > > > >> > >> > > > >> > no, i can't see eny ssh features on my smart-proxy. But >> > > > >> katello-installer >> > > > >> > shows me that is installed and enabled. >> > > > >> > >> > > > >> > Am Donnerstag, 19. Mai 2016 12:50:58 UTC+2 schrieb Daniel >> Lobato: >> > > > >> > > >> > > > >> > > On 05/19, 'Denis Müller' via Foreman users wrote: >> > > > >> > > > Hi Guys, >> > > > >> > > > >> > > > >> > > > i wanted to try the remote execution out but it doesn't >> work >> > > out of >> > > > >> the >> > > > >> > > > box. First im getting an error that the execution has been >> > > failed: >> > > > >> > > > >> > > > >> > > > 2016-05-19 10:43:40 [foreman-tasks/action] [E] Could not >> use >> > > any >> > > > >> proxy. >> > > > >> > > > Consider configuring remote_execution_global_proxy or >> > > > >> > > > remote_execution_fallback_proxy in settings (RuntimeError) >> > > > >> > > > >> > > > >> > > > What am i missing? >> > > > >> > > >> > > > >> > > When you go to Infrastructure > Smart proxies in Foreman, >> do you >> > > see >> > > > >> > > any proxy with the 'SSH' feature? If not, can you refresh >> the >> > > > >> features >> > > > >> > > on a proxy that you think has it? >> > > > >> > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > -- >> > > > >> > > > 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. >> >> > > > >> > > >> > > > >> > > >> > > > >> > > -- >> > > > >> > > Daniel Lobato Garcia >> > > > >> > > >> > > > >> > > @dLobatog >> > > > >> > > blog.daniellobato.me >> > > > >> > > daniellobato.me >> > > > >> > > >> > > > >> > > GPG: >> > > > >> >> http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30 >> > > > >> > > Keybase: https://keybase.io/elobato >> > > > >> > > >> > > > >> > >> > > > >> > -- >> > > > >> > 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. >> > > > >> > >> > > > >> >> > > > > >> > > > >> > > > -- >> > > > 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. >> > > > >> > > >> > >> > -- >> > 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. >> > >> >

Support for el6 is being addressed in
http://projects.theforeman.org/issues/11369

– Ivan

··· On Fri, May 20, 2016 at 8:40 AM, 'Denis Müller' via Foreman users < foreman-users@googlegroups.com> wrote:

Started POST “/foreman_tasks/api/tasks/callback” for 192.168.11.237 at
2016-05-20 08:38:28 +0200
2016-05-20 08:38:28 [app] [I] Processing by
ForemanTasks::Api::TasksController#callback as HTML
2016-05-20 08:38:28 [app] [I] Parameters:
{“callback”=>{“task_id”=>“b628b1fe-a60f-4d13-96a3-bf4ae9cc5aa4”,
“step_id”=>3}, “data”=>{“result”=>[{“output_type”=>“debug”,
“output”=>"Error initializing command
#Proxy::RemoteExecution::Ssh::Dispatcher::Command:0x0000000413e6e8\nNet::SCP::Error
SCP did not finish successfully (127): ",
“timestamp”=>1463726308.0900817}], “exit_status”=>“EXCEPTION”}, “task”=>{}}
2016-05-20 08:38:28 [app] [I] Completed 200 OK in 30ms (Views: 0.1ms |
ActiveRecord: 2.6ms)
2016-05-20 08:38:28 [foreman-tasks/action] [E] Script execution failed
2016-05-20 08:38:28 [app] [I]

Am Freitag, 20. Mai 2016 08:36:48 UTC+2 schrieb Denis Müller:

now its working on centos 7 machines but not on centos 6…

Am Donnerstag, 19. Mai 2016 10:44:49 UTC+2 schrieb Denis Müller:

Hi Guys,

i wanted to try the remote execution out but it doesn’t work out of the
box. First im getting an error that the execution has been failed:

2016-05-19 10:43:40 [foreman-tasks/action] [E] Could not use any proxy.
Consider configuring remote_execution_global_proxy or
remote_execution_fallback_proxy in settings (RuntimeError)

What am i missing?


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.

Hello,
this error might mean you don't have the scp binary on the target.
Could you please check if you have openssh-clients package installed
on the centos 6 hosts and if not, try to install it there and run the job again.

– Adam

··· ----- Original Message ----- > Started POST "/foreman_tasks/api/tasks/callback" for 192.168.11.237 at > 2016-05-20 08:38:28 +0200 > 2016-05-20 08:38:28 [app] [I] Processing by > ForemanTasks::Api::TasksController#callback as HTML > 2016-05-20 08:38:28 [app] [I] Parameters: > {"callback"=>{"task_id"=>"b628b1fe-a60f-4d13-96a3-bf4ae9cc5aa4", > "step_id"=>3}, "data"=>{"result"=>[{"output_type"=>"debug", > "output"=>"Error initializing command > #\nNet::SCP::Error > SCP did not finish successfully (127): ", > "timestamp"=>1463726308.0900817}], "exit_status"=>"EXCEPTION"}, "task"=>{}} > 2016-05-20 08:38:28 [app] [I] Completed 200 OK in 30ms (Views: 0.1ms | > ActiveRecord: 2.6ms) > 2016-05-20 08:38:28 [foreman-tasks/action] [E] Script execution failed > 2016-05-20 08:38:28 [app] [I] > > > Am Freitag, 20. Mai 2016 08:36:48 UTC+2 schrieb Denis Müller: > > > > now its working on centos 7 machines but not on centos 6... > > > > Am Donnerstag, 19. Mai 2016 10:44:49 UTC+2 schrieb Denis Müller: > >> > >> Hi Guys, > >> > >> i wanted to try the remote execution out but it doesn't work out of the > >> box. First im getting an error that the execution has been failed: > >> > >> 2016-05-19 10:43:40 [foreman-tasks/action] [E] Could not use any proxy. > >> Consider configuring remote_execution_global_proxy or > >> remote_execution_fallback_proxy in settings (RuntimeError) > >> > >> What am i missing? > >> > >> > >> > > -- > 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. >

thank you

··· Am Freitag, 20. Mai 2016 09:49:04 UTC+2 schrieb Ivan Necas: > > Support for el6 is being addressed in > http://projects.theforeman.org/issues/11369 > > -- Ivan > > On Fri, May 20, 2016 at 8:40 AM, 'Denis Müller' via Foreman users < > forema...@googlegroups.com > wrote: > >> Started POST "/foreman_tasks/api/tasks/callback" for 192.168.11.237 at >> 2016-05-20 08:38:28 +0200 >> 2016-05-20 08:38:28 [app] [I] Processing by >> ForemanTasks::Api::TasksController#callback as HTML >> 2016-05-20 08:38:28 [app] [I] Parameters: >> {"callback"=>{"task_id"=>"b628b1fe-a60f-4d13-96a3-bf4ae9cc5aa4", >> "step_id"=>3}, "data"=>{"result"=>[{"output_type"=>"debug", >> "output"=>"Error initializing command >> #\nNet::SCP::Error >> SCP did not finish successfully (127): ", >> "timestamp"=>1463726308.0900817}], "exit_status"=>"EXCEPTION"}, "task"=>{}} >> 2016-05-20 08:38:28 [app] [I] Completed 200 OK in 30ms (Views: 0.1ms | >> ActiveRecord: 2.6ms) >> 2016-05-20 08:38:28 [foreman-tasks/action] [E] Script execution failed >> 2016-05-20 08:38:28 [app] [I] >> >> >> Am Freitag, 20. Mai 2016 08:36:48 UTC+2 schrieb Denis Müller: >>> >>> now its working on centos 7 machines but not on centos 6... >>> >>> Am Donnerstag, 19. Mai 2016 10:44:49 UTC+2 schrieb Denis Müller: >>>> >>>> Hi Guys, >>>> >>>> i wanted to try the remote execution out but it doesn't work out of the >>>> box. First im getting an error that the execution has been failed: >>>> >>>> 2016-05-19 10:43:40 [foreman-tasks/action] [E] Could not use any proxy. >>>> Consider configuring remote_execution_global_proxy or >>>> remote_execution_fallback_proxy in settings (RuntimeError) >>>> >>>> What am i missing? >>>> >>>> >>>> -- >> 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. >> > >