Actions
Bug #2714
closedforeman-proxy: I receives Error when initiates Puppet runs via the MCollective
Description
Hi,
When i initiates Puppet runs via the MCollective i get ["failed to execute puppetrun: 500 Internal Server Error"] in the foreman webUI and i can see this in the proxy log:
E, [2013-06-26T10:02:15.005985 #19889] ERROR -- : Exception 'can't convert Array into String' when executing '/usr/bin/sudo/usr/bin/mcopuppetrunonce-Itest01.nix.example.com'
E, [2013-06-26T10:02:15.006767 #19889] ERROR -- : Failed puppet run: Check Log files
Br, Peter
Updated by Dominic Cleal over 11 years ago
- Project changed from Foreman to Smart Proxy
- Status changed from New to Assigned
- Assignee set to Anonymous
Updated by Peter Gustafsson over 11 years ago
i'm using foreman-proxy 1.2 RC3
- rpm -q foreman-proxy
foreman-proxy-1.2.0-0.3.RC3.el6.noarch
Updated by Dominic Cleal over 11 years ago
Dmitri, would you mind having a look again? Maybe something wrong with the IO.popen in shell_command? I suspect this might be a Ruby 1.8 issue as the proxy isn't SCL'd.
Updated by Dominic Cleal over 11 years ago
- Target version set to 1.2.0
1.9.3p392 :002 > IO.popen(["echo", "test"]) => #<IO:fd 5> 1.8.7 :001 > IO.popen(["echo", "test"]) TypeError: can't convert Array into String from (irb):1:in `popen' from (irb):1
sigh.
Updated by Anonymous over 11 years ago
- Status changed from Assigned to Ready For Testing
PR:https://github.com/theforeman/smart-proxy/pull/99
Updated by Anonymous over 11 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 61394852e191756fc5eea0a92d581cf1dca39f21.
Actions