Issue #22804 has been updated by Gavin Williams.

Andy

Cheers for such a swift investigation and resolution :-) 

Yep, that patch is a snippet from the NetApp SDK libs, which does do an 
'include REXML'. 

Will keep an eye out for a 3.3.2 release :-) 

Gav 



----------------------------------------
Bug #22804: NetApp network device failing with Puppet >3.2.1 - "Could not 
intern..."
https://projects.puppetlabs.com/issues/22804#change-98625

* Author: Gavin Williams
* Status: In Topic Branch Pending Review
* Priority: High
* Assignee: 
* Category: 
* Target version: 3.3.2
* Affected Puppet version: 3.2.1
* Keywords: intern, netapp, network device
* Branch: https://github.com/puppetlabs/puppet/pull/1978
----------------------------------------
I have recently created a Puppet 3.3.1 sandbox env using Vagrant/VirtualBox. 

However Puppet device is failing with my NetApp network device module 
(http://github.com/fatmcgav/fatmcgav-netapp). 

<pre>
puppet device --deviceconfig device/ontap.local.dev.conf  -v
Info: starting applying configuration to ontap.local.dev at 
https://root:[email protected]
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: Could not intern from text/pson: undefined method `encoding' for 
#<String:0x7f408428e0a8>
Info: Retrieving plugin
Error: /File[/var/lib/puppet/devices/ontap.local.dev/lib]: Failed to generate 
additional resources using 'eval_generate': Could not intern_multiple from 
text/pson: undefined method `encoding' for #<String:0x7f4084135850>
Error: /File[/var/lib/puppet/devices/ontap.local.dev/lib]: Could not evaluate: 
Could not intern from text/pson: undefined method `encoding' for 
#<String:0x7f408412b7d8> Could not retrieve file metadata for 
puppet://puppetmaster.local.dev/plugins: Could not intern from text/pson: 
undefined method `encoding' for #<String:0x7f408412b7d8>
Error: Could not retrieve catalog from remote server: Could not intern from 
text/pson: undefined method `encoding' for #<String:0x7f40840acf28>
Error: Cached catalog for ontap.local.dev failed: Could not parse JSON data for 
catalog ontap.local.dev: Could not intern from pson: undefined method 
`encoding' for #<String:0x7f40840a22a8>
Notice: Using cached catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: undefined method `encoding' for 
"[\"foreman\"]":String
</pre>

The issue only appears to affect my NetApp network device, as 'puppet agent' on 
the same host works as expected. 

Full trace output attached. 
Similar error seen in #21512

Centos 6.4 x64, Ruby 1.8.7


-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to