Bug 2124850
Summary: | failure to enable async-ssh rex mode with Couldn't enable 'script' | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Peter Ondrejka <pondrejk> |
Component: | Remote Execution | Assignee: | Adam Ruzicka <aruzicka> |
Status: | CLOSED ERRATA | QA Contact: | Peter Ondrejka <pondrejk> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.12.0 | CC: | aruzicka, pcreech |
Target Milestone: | 6.12.0 | Keywords: | Regression, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-smart_proxy_remote_execution_ssh-0.7.2 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-11-16 13:35:39 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2048547 |
Description
Peter Ondrejka
2022-09-07 09:33:33 UTC
This is fixed in latest upstream as part of https://github.com/theforeman/smart_proxy_remote_execution_ssh/pull/82 , a subset of that change will need to be cherry-picked. Upstream bug assigned to aruzicka Upstream bug assigned to aruzicka smart_proxy_remote_execution_ssh-0.7.2 containing the fix for this BZ just went out to rubygems Checked on Satellite 6.12 snap 11. I was able to turn on async-ssh using "satellite-installer --foreman-proxy-plugin-remote-execution-script-mode=async-ssh", but running the actual job against a host didn't succeed -- the job left hanging, /var/log/foreman-proxy/proxy.log showing: 2022-09-19T11:06:32 [E] <OpenSSL::SSL::SSLError> SSL_accept returned=1 errno=0 state=error: http request /usr/share/ruby/webrick/server.rb:299:in `accept' /usr/share/ruby/webrick/server.rb:299:in `block (2 levels) in start_thread' /usr/share/ruby/webrick/utils.rb:263:in `timeout' /usr/share/ruby/webrick/server.rb:297:in `block in start_thread' /usr/share/gems/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context' I may have omitted some additional config steps if there are any, I just ran the installer command. Machine is available for inspection. What's described in #5 is completely unrelated to what is described in #0. Also, I'm able to reproduce it on a 6.11 so that's nothing new. After discussion with adam, I created https://bugzilla.redhat.com/show_bug.cgi?id=2128209 to track problem from comment #5, it will make things easier if we decide to backport the fix. Closing this one as the original issue was fixed. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Satellite 6.12 Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:8506 |