Issue #13293 has been updated by Daniel Pittman.

Status changed from Unreviewed to Needs More Information

It would be awesome if you could attach the failed catalog, and/or the 
manifests to reproduce this for us.  That would help understand what is going 
on and to reproduce it.

This is pretty clearly some oddity in your setup, because this generally works 
- it is a fundamental enough operation that this bug must trigger in some 
corner case we don't usually push, but you do.
----------------------------------------
Bug #13293: passing a hash to a define fails with pson serialization format
https://projects.puppetlabs.com/issues/13293#change-57867

Author: James Martin
Status: Needs More Information
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.7.12
Keywords: hash serialization 
Branch: 


I have a defined resource that accepts a hash of a list of database names, 
users, pw, etc.   Occassionaly (unscientifically) it *will* work once out of 20 
times.  The rest of the times it does not and fails with this error:

    err: Could not retrieve catalog from remote server: Could not intern from 
pson: Could not convert from pson: Could not find relationship source 
"Cpfusion::Functions::Setupdbs[dbpwcpclusterpassworddbnamecpclusterdbdbusercpclusteruser]"

If I modify puppet.conf on the client to include:

    preferred_serialization_format = marshal

It works every time.

Thanks to _rc in #puppet for helping me work through this issue.


-- 
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to