Issue #2294 has been updated by Brice Figureau.
It's not the root cause, but might participate to the mess:
in parser_support.rb, method load:
<pre>
mod = filename.scan(/^[\w-]+/).shift
unless @loaded.include?(mod)
@loaded << mod
begin
import(mod)
Puppet.info "Autoloaded module %s" % mod
rescue Puppet::ImportError => detail
# We couldn't load the module
end
end
</pre>
Notice that we add to @loaded the module (and later the filename), even though
we could have failed importing the module.
The net result is that we won't ever try again to reload this, except if the
parser is recreated.
----------------------------------------
Bug #2294: Classes sometimes cannot be found
http://projects.reductivelabs.com/issues/2294
Author: Luke Kanies
Status: Accepted
Priority: Normal
Assigned to: Luke Kanies
Category: language
Target version: 0.25.0
Complexity: Unknown
Affected version: 0.24.8
Keywords:
This kind of error occurs multiple times over the course of a week at a client
of mine:
<pre>
puppetmasterd err puppetmasterd[11913]: Could not find class allusers::charles
in namespaces allusers::sss at /etc/puppet/modules/allusers/manifests/sss.pp:15
on node d3i002.view.domain.com
</pre>
I believe it is the result of some kind of race condition or timeout, as I've
been able to force it to happen under load, but only then.
--
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://reductivelabs.com/redmine/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
-~----------~----~----~----~------~----~------~--~---