The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
passing a hash to a define fails with pson serialization format
|Affected Puppet version:||2.7.12||Branch:|
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com
This ticket may be automatically exported to the PUP project on JIRA using the button below:
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.
#1 Updated by Daniel Pittman almost 2 years ago
- 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.