Issue #11317 has been reported by Christian Birch.

----------------------------------------
Bug #11317: Supposedly hidden skipped resources show up with --summarize
https://projects.puppetlabs.com/issues/11317

Author: Christian Birch
Status: Unreviewed
Priority: Normal
Assignee: Christian Birch
Category: 
Target version: 
Affected Puppet version: 2.7.8
Keywords: skipped resources debug summarize
Branch: 


With 2.7.6 (also tested with 2.7.8), skipped resources - that are only visible 
in debug mode - will show up as "skipped" with --summarize, even though debug 
mode is not enabled. Prior to upgrading to 2.7.x, those skipped resources would 
be hidden from --summarize.

Applying any manifest shows the issue. I'm using an empty manifest (test.pp) 
below:

# puppet apply --summarize -v -d test.pp 
debug: Creating default schedules
debug: Puppet::Type::User::ProviderPw: file pw does not exist
debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does 
not exist
debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist
debug: Failed to load library 'ldap' for feature 'ldap'
debug: Puppet::Type::User::ProviderLdap: feature ldap is missing
debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring 
File[/var/lib/puppet/ssl/certs]
debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring 
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl/private]: Autorequiring 
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring 
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring 
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/state/last_run_report.yaml]: Autorequiring 
File[/var/lib/puppet/state]
debug: /File[/var/lib/puppet/state/graphs]: Autorequiring 
File[/var/lib/puppet/state]
debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring 
File[/var/lib/puppet/state]
debug: /File[/var/lib/puppet/state/last_run_summary.yaml]: Autorequiring 
File[/var/lib/puppet/state]
debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring 
File[/var/lib/puppet/ssl]
debug: Finishing transaction -611357508
debug: Loaded state in 0.13 seconds
debug: Loaded state in 0.04 seconds
info: Applying configuration version '1323468413'
debug: /Schedule[daily]: Skipping device resources because running on a host
debug: /Schedule[monthly]: Skipping device resources because running on a host
debug: /Schedule[hourly]: Skipping device resources because running on a host
debug: /Schedule[never]: Skipping device resources because running on a host
debug: /Schedule[weekly]: Skipping device resources because running on a host
debug: /Schedule[puppet]: Skipping device resources because running on a host
debug: Finishing transaction -611605558
debug: Storing state
debug: Stored state in 0.59 seconds
notice: Finished catalog run in 0.73 seconds
Changes:
Events:
Resources:
          Skipped: 6
            Total: 7
Time:
       Filebucket: 0.00
   Config retrieval: 0.16
            Total: 0.16
         Last run: 1323468415
debug: Finishing transaction -610226698
debug: Received report to process from 
ip-10-250-113-51.eu-west-1.compute.internal
debug: Processing report from ip-10-250-113-51.eu-west-1.compute.internal with 
processor Puppet::Reports::Store

OK, so 6 skipped resources (the Schedule-resources) which might be expected to 
show up in debug mode. Anyway, not enabling debug mode does the same thing:

# puppet apply --summarize -v test.pp 
info: Applying configuration version '1323468385'
notice: Finished catalog run in 0.72 seconds
Changes:
Events:
Resources:
          Skipped: 6
            Total: 7
Time:
       Filebucket: 0.00
   Config retrieval: 0.13
            Total: 0.13
         Last run: 1323468387

6 skipped resources which should probably be hidden when debug mode is not 
enabled.


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