Project

General

Profile

Actions

Bug #6402

closed

Using "run puppet" feature fails: undefined method `gsub' for #<Array ...>

Added by Jon Skarpeteig almost 10 years ago. Updated almost 6 years ago.

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

Description


Warning!
undefined method `gsub' for #<Array:0x00000008e13478>

If you feel this is an error with Foreman itself, please open a new issue with Foreman ticketing system, You would probably need to attach the Full trace and relevant log entries.
NoMethodError
undefined method `gsub' for #<Array:0x00000008e13478>
app/controllers/application_controller.rb:172:in `error'
app/controllers/hosts_controller.rb:193:in `puppetrun'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'

Log from client:

 puppet-agent[6949]: Forbidden request: foreman(10.0.0.10) access to /run/client.fqdn [save] authenticated  at :54

Related issues 5 (0 open5 closed)

Related to Foreman - Bug #5881: CVE-2014-3491 - XSS from create/update/destroy notification boxesClosedJoseph Magen05/22/2014Actions
Related to Foreman - Bug #6903: "<br/>" in text when receiving error while deleting multiple hostsClosed08/04/2014Actions
Related to Foreman - Bug #2383: Pushing the "Certificates" button on a smart proxy with disabled PuppetCA throws cryptic ActiveRecord errorResolved04/09/2013Actions
Has duplicate Foreman - Bug #6429: Run Puppet causes Error 500 with message "Warning! undefined method `gsub' for #<Array:0x000000091b0608>"Duplicate06/28/2014Actions
Has duplicate Foreman - Bug #6351: <br /> seen in UI errors when multiple errors exist on a resourceDuplicate06/24/2014Actions
Actions

Also available in: Atom PDF