Actions
Bug #7859
closedSsh puppet run does not work on Ruby 1.9+
Description
Things are not properly escaped:
D, [2014-10-09T10:53:50.238566 #17252] DEBUG -- : about to execute: ["/usr/bin/ssh", "-l", "lzap", "-i", "/home/lzap/.ssh/id_rsa", "lzapx.local.lan", "/home/lzap/.rbenv/shims/puppet\\ agent\\ --onetime\\ --no-usecacheonfailure"] Warning: Permanently added 'lzapx.local.lan' (ECDSA) to the list of known hosts. bash: /home/lzap/.rbenv/shims/puppet agent --onetime --no-usecacheonfailure: No such file or directory W, [2014-10-09T10:53:50.332470 #17252] WARN -- : Non-null exit code when executing '["/usr/bin/ssh", "-l", "lzap", "-i", "/home/lzap/.ssh/id_rsa", "lzapx.local.lan", "/home/lzap/.rbenv/shims/puppet\\ agent\\ --onetime\\ --no-usecacheonfailure"]' ::1 - - [09/Oct/2014 10:53:50] "POST /puppet/run HTTP/1.1" 200 - 0.1007 localhost - - [09/Oct/2014:10:53:50 CEST] "POST /puppet/run HTTP/1.1" 200 0 - -> /puppet/run
We already have a patch by Petr: https://github.com/theforeman/smart-proxy/pull/163
I am going to rebase/repatch/rewrite this on modularized proxy, the patch no longer apply.
Updated by The Foreman Bot over 10 years ago
- Status changed from Assigned to Ready For Testing
- Target version set to 1.7.2
- Pull request https://github.com/theforeman/smart-proxy/pull/220 added
- Pull request deleted (
)
Updated by Anonymous about 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset ccd77aaecf66be4ad57fe43d06b0c9cb3f313f93.
Updated by Dominic Cleal about 10 years ago
- Translation missing: en.field_release set to 21
Actions