The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:
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
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 Anonymous about 4 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.