Issue #13245 has been updated by Kim Nørgaard.
Thank you for taking your time and giving me a straight answer. This pretty much convinces me to downgrade our nodes to 1.8.7. You probably may want to change the text in http://docs.puppetlabs.com/guides/faq.html where it says: <cite>Ruby 1.8.5 and 1.8.7 work with all Puppet versions, and are supported with full automated testing for 2.6 and 2.7 releases. Starting with Puppet 2.7, Puppet Labs is also supporting Ruby 1.9.2 and higher, although Puppet 2.7.0 has a handful of known issues under Ruby 1.9.</cite> Reporting is a pretty basic feature - if it does't work with puppet running ruby 1.9 I would consider it fundamentally broken. Looking forward to Telly. ---------------------------------------- Bug #13245: resource_statuses not reported in ruby 1.9 https://projects.puppetlabs.com/issues/13245#change-57933 Author: Kim Nørgaard Status: In Topic Branch Pending Review Priority: High Assignee: Daniel Pittman Category: reports Target version: Telly Affected Puppet version: 2.7.10 Keywords: ruby19 Branch: https://github.com/puppetlabs/puppet/pull/575 tested on: 1.9.4dev, 1.9.2p290 Reports generated with ruby 1.9.n does not include detailed information under resource_statuses. <pre> $ cat test.pp file { '/Users/kn/test.txt': ensure => present, content => 'test', } $ ruby -v ruby 1.9.3dev (2011-07-31 revision 32789) [x86_64-darwin11.0.0] $ puppet --version 2.7.10 $ puppet apply test.pp notice: /Stage[main]//File[/Users/kn/test.txt]/ensure: created notice: Finished catalog run in 0.03 seconds $ cat /Users/kn/puppet/var/state/last_run_report.yaml --- !ruby/object:Puppet::Transaction::Report configuration_version: 1332245597 external_times: !ruby/sym config_retrieval: 0.098434 host: ezri.local kind: apply logs: - !ruby/object:Puppet::Util::Log file: /Users/kn/test.pp level: !ruby/sym notice line: 4 message: created source: "/Stage[main]//File[/Users/kn/test.txt]/ensure" tags: - notice - file - class - main time: 2012-03-20 13:13:17.610609 +01:00 - !ruby/object:Puppet::Util::Log level: !ruby/sym notice message: Finished catalog run in 0.03 seconds source: Puppet tags: - notice time: 2012-03-20 13:13:17.623769 +01:00 metrics: resources: !ruby/object:Puppet::Util::Metric label: Resources name: resources values: - - total - Total - 8 - - skipped - Skipped - 6 - - failed - Failed - 0 - - failed_to_restart - Failed to restart - 0 - - restarted - Restarted - 0 - - changed - Changed - 1 - - out_of_sync - Out of sync - 1 - - scheduled - Scheduled - 0 time: !ruby/object:Puppet::Util::Metric label: Time name: time values: - - file - File - 0.001511 - - filebucket - Filebucket - 0.000103 - - config_retrieval - Config retrieval - 0.098434 - - total - Total - 0.100048 changes: !ruby/object:Puppet::Util::Metric label: Changes name: changes values: - - total - Total - 1 events: !ruby/object:Puppet::Util::Metric label: Events name: events values: - - total - Total - 1 - - failure - Failure - 0 - - success - Success - 1 puppet_version: 2.7.10 report_format: 2 resource_statuses: "Schedule[daily]": !ruby/object:Puppet::Resource::Status {} "Schedule[monthly]": !ruby/object:Puppet::Resource::Status {} "Schedule[hourly]": !ruby/object:Puppet::Resource::Status {} "File[/Users/kn/test.txt]": !ruby/object:Puppet::Resource::Status {} "Schedule[never]": !ruby/object:Puppet::Resource::Status {} "Filebucket[puppet]": !ruby/object:Puppet::Resource::Status {} "Schedule[weekly]": !ruby/object:Puppet::Resource::Status {} "Schedule[puppet]": !ruby/object:Puppet::Resource::Status {} status: changed time: 2012-03-20 13:13:17.587863 +01:00 $ rvm use 1.8.7 Using /Users/kn/.rvm/gems/ruby-1.8.7-p352 $ puppet apply test.pp notice: Finished catalog run in 0.01 seconds $ !cat cat /Users/kn/puppet/var/state/last_run_report.yaml --- !ruby/object:Puppet::Transaction::Report configuration_version: 1332245692 host: ezri.local kind: apply logs: - !ruby/object:Puppet::Util::Log level: !ruby/sym notice message: Finished catalog run in 0.01 seconds source: Puppet tags: - notice time: 2012-03-20 13:14:52.556010 +01:00 metrics: time: !ruby/object:Puppet::Util::Metric label: Time name: time values: - - config_retrieval - Config retrieval - 0.088734 - - total - Total - 0.08924 - - file - File - 0.000387 - - filebucket - Filebucket - 0.000119 events: !ruby/object:Puppet::Util::Metric label: Events name: events values: - - failure - Failure - 0 - - total - Total - 0 - - success - Success - 0 resources: !ruby/object:Puppet::Util::Metric label: Resources name: resources values: - - failed - Failed - 0 - - changed - Changed - 0 - - scheduled - Scheduled - 0 - - total - Total - 8 - - restarted - Restarted - 0 - - failed_to_restart - Failed to restart - 0 - - out_of_sync - Out of sync - 0 - - skipped - Skipped - 6 changes: !ruby/object:Puppet::Util::Metric label: Changes name: changes values: - - total - Total - 0 puppet_version: 2.7.10 report_format: 2 resource_statuses: "Filebucket[puppet]": !ruby/object:Puppet::Resource::Status change_count: 0 changed: false evaluation_time: 0.000119 events: [] failed: false file: line: out_of_sync: false out_of_sync_count: 0 resource: "Filebucket[puppet]" resource_type: Filebucket skipped: false tags: - filebucket - puppet time: 2012-03-20 13:14:52.551371 +01:00 title: puppet "Schedule[monthly]": !ruby/object:Puppet::Resource::Status change_count: 0 changed: false events: [] failed: false file: line: out_of_sync: false out_of_sync_count: 0 resource: "Schedule[monthly]" resource_type: Schedule skipped: true tags: - schedule - monthly time: 2012-03-20 13:14:52.546785 +01:00 title: monthly "Schedule[never]": !ruby/object:Puppet::Resource::Status change_count: 0 changed: false events: [] failed: false file: line: out_of_sync: false out_of_sync_count: 0 resource: "Schedule[never]" resource_type: Schedule skipped: true tags: - schedule - never time: 2012-03-20 13:14:52.551024 +01:00 title: never "Schedule[weekly]": !ruby/object:Puppet::Resource::Status change_count: 0 changed: false events: [] failed: false file: line: out_of_sync: false out_of_sync_count: 0 resource: "Schedule[weekly]" resource_type: Schedule skipped: true tags: - schedule - weekly time: 2012-03-20 13:14:52.551635 +01:00 title: weekly "Schedule[puppet]": !ruby/object:Puppet::Resource::Status change_count: 0 changed: false events: [] failed: false file: line: out_of_sync: false out_of_sync_count: 0 resource: "Schedule[puppet]" resource_type: Schedule skipped: true tags: - schedule - puppet time: 2012-03-20 13:14:52.551871 +01:00 title: puppet "Schedule[hourly]": !ruby/object:Puppet::Resource::Status change_count: 0 changed: false events: [] failed: false file: line: out_of_sync: false out_of_sync_count: 0 resource: "Schedule[hourly]" resource_type: Schedule skipped: true tags: - schedule - hourly time: 2012-03-20 13:14:52.547039 +01:00 title: hourly "Schedule[daily]": !ruby/object:Puppet::Resource::Status change_count: 0 changed: false events: [] failed: false file: line: out_of_sync: false out_of_sync_count: 0 resource: "Schedule[daily]" resource_type: Schedule skipped: true tags: - schedule - daily time: 2012-03-20 13:14:52.546525 +01:00 title: daily "File[/Users/kn/test.txt]": !ruby/object:Puppet::Resource::Status change_count: 0 changed: false evaluation_time: 0.000387 events: [] failed: false file: /Users/kn/test.pp line: 4 out_of_sync: false out_of_sync_count: 0 resource: "File[/Users/kn/test.txt]" resource_type: File skipped: false tags: - file - class time: 2012-03-20 13:14:52.550450 +01:00 title: /Users/kn/test.txt status: unchanged time: 2012-03-20 13:14:52.540064 +01:00 </pre> -- 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.
