Project

General

Profile

Actions

Bug #6429

closed

Run Puppet causes Error 500 with message "Warning! undefined method `gsub' for #<Array:0x000000091b0608>"

Added by Paolo Larcheri about 10 years ago. Updated about 10 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Puppet integration
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

In order to have the puppetrun features enabled I configured Foreman and the puppet clients as documented here:
http://projects.theforeman.org/projects/foreman/wiki/Puppetrun

When I click on "Run Puppet" I get exactly what reported in the Subject.

In production.log I found these:

Started GET "/hosts/eca86bf602f9/puppetrun" for 10.10.0.2 at 2014-06-28 23:47:31 +0200
Processing by HostsController#puppetrun as HTML
Parameters: {"id"=>"eca86bf602f9"}
Operation FAILED: undefined method `gsub' for #<Array:0x000000091b0608>
Rendered common/500.html.erb within layouts/application (3.7ms)
Rendered layouts/base.html.erb (1.7ms)
Completed 500 Internal Server Error in 2323.9ms (Views: 7.2ms | ActiveRecord: 0.6ms)

On the client not traffic is received on the port TCP/8139.
Let me know if you need more info.
Paolo Larcheri


Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Bug #6402: Using "run puppet" feature fails: undefined method `gsub' for #<Array ...>ClosedDominic Cleal06/26/2014Actions
Actions

Also available in: Atom PDF