Issue #17967 has been updated by eric sorenson. Status changed from Unreviewed to Needs More Information Assignee set to L Harris
Hi, I think the `usecacheonfailure` setting is kind of a red herring here, as we have heard of this problem intermittently regardless of this setting, but we have had a hard time reproducing it. Can you please do the following? 1. Run your master with the `--trace` option and paste the backtrace if you get a reproducible case 2. Verify if the problem happens or does not happen independent of the `usecacheonfailure` setting. I’ve put this ticket’s status into “Needs more Information” and assigned it to you. Please either (a) update it with the information I’ve requested and re-assign it to me if you need more help, or (b) change the status to “Closed” if you were able to resolve the issue on your own. ---------------------------------------- Bug #17967: puppetmaster caches empty directory even if usecacheonfailure=false https://projects.puppetlabs.com/issues/17967#change-89064 * Author: L Harris * Status: Needs More Information * Priority: Normal * Assignee: L Harris * Category: * Target version: * Affected Puppet version: * Keywords: * Branch: ---------------------------------------- So on both the puppet and puppetmaster I have usecacheonfailure = false in /etc/puppet/puppet.conf Unfortunately I had an empty directory for one of my modules (/etc/puppet/modules/rhn_register). The agent checked in and gave the error: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class rhn_register at /etc/puppet/modules/base/manifests/init.pp:46 on node test-vbox-rh6. warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run Ok so far that's fine and expected. I put the files and subdirectories into /etc/puppet/modules/rhn_register and have the agent check in. Unfortunately it gave the same error. That wasn't at all fine or expected. The only two solutions were to wait (30min-1hr) or restart apache. Seems like somewhere it is caching the fact that the directory was empty. Using puppet 3.0.1 -- 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.
