Issue #13245 has been updated by Daniel Pittman. Status changed from Investigating to In Topic Branch Pending Review Target version set to Telly Keywords set to ruby19 Branch set to https://github.com/puppetlabs/puppet/pull/575
Hey. So, we talked about this internally, and our conclusion right now is that the cost of backporting the changes that fix this in Telly are higher than we are willing to pay for the tail end of the 2.7 release series. They also introduce substantially more risk in the code than we are entirely comfortable with. In Telly this will work correctly, and the risk is mitigated - because we are not 12 releases into the stable series already, we can afford the small risk better. (Most of the changes touching the area in that pull request are fairly intrusive, and touch fundamental things like YAML encoding) I am sorry that this won't be fixed short-term in the 2.7 series. We are likely to accept patches that backport or fix this in 2.7, but only if they are fairly contained and easy to see as stable. Our plan is that Telly will have full and complete support for 1.9, and any other issues found will be resolved in that version. ---------------------------------------- Bug #13245: resource_statuses not reported in ruby 1.9 https://projects.puppetlabs.com/issues/13245#change-57915 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.
