Hello all, I upgrade my foreman from last snapshot's in testing env. When I click on "Reports" or "host name" url I see error message in foreman error_log:
=> Booting WEBrick => Rails 2.3.5 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2010-09-29 16:35:46] INFO WEBrick 1.3.1 [2010-09-29 16:35:46] INFO ruby 1.8.7 (2009-06-08) [i386-linux] [2010-09-29 16:35:46] INFO WEBrick::HTTPServer#start: pid=13573 port=3000 Processing HostsController#index (for 172.30.64.135 at 2010-09-29 16:35:49) [GET] Parameters: {"action"=>"index", "controller"=>"hosts"} Rendering template within layouts/standard Rendering hosts/index Completed in 233ms (View: 101, DB: 11) | 200 OK [http://srv2-puppet/] Processing HostsController#show (for 172.30.64.135 at 2010-09-29 16:35:51) [GET] Parameters: {"action"=>"show", "id"=>"srv-redhat.net.billing.ru", "controller"=>"hosts"} NoMethodError (undefined method `round_with_precision' for 0:Fixnum): app/models/report.rb:68:in `config_retrieval' app/models/host.rb:394:in `graph' app/models/host.rb:393:in `graph' app/controllers/hosts_controller.rb:28:in `show' app/controllers/hosts_controller.rb:22:in `show' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' Rendering /var/rails/foreman/public/500.html (500 Internal Server Error) Processing ReportsController#index (for 172.30.64.135 at 2010-09-29 16:36:15) [GET] Parameters: {"action"=>"index", "controller"=>"reports"} Rendering template within layouts/standard Rendering reports/index ActionView::TemplateError (undefined method `round_with_precision' for 0:Fixnum) on line #27 of app/views/reports/_list.html.erb: 24: <td><%= h report.failed %></td> 25: <td><%= h report.failed_restarts %></td> 26: <td><%= h report.skipped %></td> 27: <td><%= h report.config_retrieval %></td> 28: <td><%= h report.runtime %></td> 29: <td align="right"> 30: <%= link_to "Details", report %> app/models/report.rb:68:in `config_retrieval' app/views/reports/_list.html.erb:27 app/views/reports/_list.html.erb:16:in `each' app/views/reports/_list.html.erb:16 app/views/reports/index.html.erb:3 /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' Rendering /var/rails/foreman/public/500.html (500 Internal Server Error) What's wrong? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.