Issue #7836 has been updated by Marc Fournier. Affected Puppet version changed from 2.6.7 to 2.7.20
I ran in the same problem on several nodes (with 2.7.20 on client and master), after a diskfull on the partition holding /var/lib/puppet, on the puppetmaster. So the cause is obvious in my case. Beside finding the reason(s) why some yaml files get corrupted, beside diskfulls, would it be possible for the master to discard these files if they can't be parsed and rewrite them with the values sent by the client instead ? It would prevent puppet runs from failing because of corruption of what is only a cache in any case. ---------------------------------------- Bug #7836: YAML corruption in 2.6.7 https://projects.puppetlabs.com/issues/7836#change-91629 * Author: Joe McDonagh * Status: Needs More Information * Priority: Normal * Assignee: eric sorenson * Category: plumbing * Target version: * Affected Puppet version: 2.7.20 * Keywords: yaml * Branch: ---------------------------------------- Hi guys, getting YAML corruption on 2.6.7 at $dayjob: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not parse YAML data for node something.example.com: syntax error on line 78, col 19: `' I have no idea how to begin to troubleshoot as it is seemingly random and it doesn't happen at my other gig which is running 2.6.7, but on a different platform. Removing the yaml in question and running the agent again fixes it. While not fixing whatever the root cause is, what are the implications of wrapping the yaml parsing bit of code inside a begin-rescue to try and catch this exception, invalidate the data, and try once more before really failing? I haven't looked at the code so I don't even know if that's feasible, just throwing it out there. -- 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.
