I've setup the Foreman SSH remote execution and it seem to work almost fine.
Here is why it's almost :
So far I can execute any command and I see its output. When I submit a
job, it connect to a target host via SSH, executes the command and wait for
something.
After few seconds Foreman reports about "No output" error and mark the
job as a failed one.
Then is always fails as it described above.
For example:
Detail of Commands run
uname -a
Scroll to bottom
1:
Linux xxxxx-linux-repo2 3.8.13-118.3.1.el7uek.x86_64 #2 SMP Fri Jan 29
16:58:37 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
2:
No output
3:
Job finished with error: Foreman::Exception - ERF42-0915
[Foreman::Exception]: The smart proxy task
'c2491235-abc9-4e68-961d-8289bdc6eb35' failed.
*OS: Oracle Linux Server 7.2 (3.8.13-118.2.5.el7uek.x86_64) *
Foreman version: 1.10.1
Plugins:
- tfm-rubygem-foreman-tasks.noarch 0.7.11-1.fm1_10.el7
- tfm-rubygem-foreman_remote_execution.noarch 0.2.2-1.fm1_10.el7
- rubygem-smart_proxy_dynflow.noarch 0.0.6-1.el7
A huge thank you for any ideas!
> I've setup the Foreman SSH remote execution and it seem to work almost fine.
> Here is why it's almost :
>
> So far I can execute any command and I see its output. When I submit a
> job, it connect to a target host via SSH, executes the command and wait for
> something.
> After few seconds Foreman reports about "No output" error and mark the
> job as a failed one.
>
> Then is always fails as it described above.
>
> For example:
>
> Detail of Commands run
>
> uname -a
>
> Scroll to bottom
> 1:
> Linux xxxxx-linux-repo2 3.8.13-118.3.1.el7uek.x86_64 #2 SMP Fri Jan 29
> 16:58:37 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
> 2:
> No output
> 3:
> Job finished with error: Foreman::Exception - ERF42-0915
> [Foreman::Exception]: The smart proxy task
> 'c2491235-abc9-4e68-961d-8289bdc6eb35' failed.
>
>
> *OS: Oracle Linux Server 7.2 (3.8.13-118.2.5.el7uek.x86_64) *
>
> Foreman version: 1.10.1
>
> Plugins:
>
> - tfm-rubygem-foreman-tasks.noarch 0.7.11-1.fm1_10.el7
> - tfm-rubygem-foreman_remote_execution.noarch 0.2.2-1.fm1_10.el7
> - rubygem-smart_proxy_dynflow.noarch 0.0.6-1.el7
>
> A huge thank you for any ideas!
Can you have a look in /var/log/foreman-proxy/proxy.log for some more
detailed errors? It might tell us what went wrong on the proxy side.
Also /var/log/foreman/production.log may help troubleshoot this, too
···
On Fri, Feb 05, 2016 at 05:10:29PM -0800, Evgeny Vasilchenko 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.
–
Best Regards,
Stephen Benjamin
Red Hat Engineering