Issue #13244 has been updated by Oliver Hookins.

Status changed from Needs More Information to Needs Decision


----------------------------------------
Bug #13244: Class and stage dependencies lead to expensive graph computation
https://projects.puppetlabs.com/issues/13244#change-59054

Author: Oliver Hookins
Status: Needs Decision
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.6.7
Keywords: 
Branch: 


It's an odd problem and I'm not 100% on the cause, but I'm throwing it out 
there in case someone knows for sure it has been fixed (or if it sounds like it 
could be a legitimate bug), as gathering repeatable data for testing may not be 
straightforward (it's intrinsically linked to our code which I can't release).

We have three classes and three stages which seem to be playing a role:

Classes:
 - common
 - yum::base
 - platform::users (has a 'require' on common)

Stages:
 - common (contains the common and platform::users classes)
 - yum (contains the yum::base class)
 - main (contains everything else)

The stage ordering is this:
Stage['yum']->Stage['common']->Stage['main']

When this scenario is in place, we see an extremely long processing time on the 
client before any resources are run (perhaps 10 minutes). The run itself takes 
about 45 minutes.

When we remove the require from platform::users to common, this problem goes 
away and the catalog run takes about 20 seconds.

For some comparison, in the former case the extended resource graph output size 
is 11MB and in the latter about 800KB. I can't attach them right now for 
confidentiality reasons but if a test scenario can be generated of course I'll 
attach all output.

Does this sound like a bug?


-- 
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 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.

Reply via email to