Issue #20126 has been updated by Josh Cooper.

Status changed from Needs More Information to Rejected

Thanks Chadwick. The error is occurring because Puppet assumes 
`Psych::Nodes::Sequence` (which extends `Node`) is `Enumerable`. It is in 
1.9.3p0 and up, but not earlier 
<https://github.com/ruby/ruby/blob/ruby_1_9_2/ext/psych/lib/psych/nodes/node.rb>.
 But Psych isn't the default YAML parser until ruby 1.9.3. Did you happen to 
build your own ruby?

Also, according to 
<http://docs.puppetlabs.com/guides/platforms.html#ruby-versions> ruby 1.9.2 is 
not supported, so I'm marking this as such. Please try updating to ruby 193. If 
the issue persists, please reopen this ticket.

----------------------------------------
Bug #20126: Error: Could not send report: Could not intern from yaml: undefined 
method `find' for #<Psych::Nodes::Sequence:<hex>>
https://projects.puppetlabs.com/issues/20126#change-88924

* Author: Chadwick Banning
* Status: Rejected
* Priority: Normal
* Assignee: Charlie Sharpsteen
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
Receiving the following error at the end of agent runs after upgrading agents 
and master to Puppet 3.1.1:

<pre>
Notice: Stage[main]: Would have triggered 'refresh' from 1 events<br />
Debug: Finishing transaction 23302060
Debug: Storing state
Debug: Stored state in 0.07 seconds
Notice: Finished catalog run in 17.76 seconds
Debug: Value of 'preferred_serialization_format' (pson) is invalid for report, 
using default (yaml)
Debug: report supports formats: b64_zlib_yaml raw yaml; using yaml
Error: Could not send report: Could not intern from yaml: undefined method 
`find' for #<Psych::Nodes::Sequence:<hex>>
</pre>

Let me know how I can be of assistance.  Thanks!<br />
Chadwick


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to