Hello Puppet Users !
We encounter a problem with the dashboard on this URI : /reports/changed
The /reports works fine with ~130000 reports (up to 3 months and
auto-cleaning with rake reports:prune job)
I make a reports:prune:orphaned, juste in case, but without any success.
The most recent change on the server was the puppetmaster upgrade from
3.0.2 to 3.1.0.
Here is the dashboard error log :
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Processing ReportsController#changed (for 10.0.8.58 at 2013-03-06
18:04:27) [GET]
Parameters: {"action"=>"changed", "controller"=>"reports"}
Rendering template within layouts/application
Rendering reports/index
ActionView::TemplateError (node_url failed to generate from
{:controller=>"nodes", :action=>"show"} - you may have ambiguous routes,
or you may need to supply additional parameters for this route.
content_url has the following required parameters: ["nodes", :id] - are
they all satisfied?) on line #35 of
app/views/reports/_reports_table.html.haml:
32: %td= link_to h(report.time), report
33: - unless node
34: %td= link_to_if report.node, h(report.host),
node_path(report.node)
35: %td= report.total_resources.to_i
36: %td= report.failed_resources.to_i
37: %td= report.changed_resources.to_i
38: %td= report.unchanged_resources.to_i
(eval):17:in `node_path'
app/views/reports/_reports_table.html.haml:35:in
`_run_haml_app47views47reports47_reports_table46html46haml_locals_node_object_reports_reports_table'
app/views/reports/_reports_table.html.haml:31:in `each'
app/views/reports/_reports_table.html.haml:31:in
`_run_haml_app47views47reports47_reports_table46html46haml_locals_node_object_reports_reports_table'
haml (3.1.2) [v] rails/./lib/haml/helpers/action_view_mods.rb:11:in
`render'
haml (3.1.2) [v] lib/haml/helpers.rb:90:in `non_haml'
haml (3.1.2) [v] rails/./lib/haml/helpers/action_view_mods.rb:11:in
`render'
app/views/reports/index.html.haml:22:in
`_run_haml_app47views47reports47index46html46haml'
haml (3.1.2) [v] rails/./lib/haml/helpers/action_view_mods.rb:13:in
`render'
haml (3.1.2) [v] rails/./lib/haml/helpers/action_view_mods.rb:13:in
`render'
app/controllers/reports_controller.rb:25:in `changed'
sass (3.1.2) [v] rails/./lib/sass/plugin/rack.rb:54:in `call'
passenger (3.0.19)
lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
passenger (3.0.19)
lib/phusion_passenger/abstract_request_handler.rb:516:in
`accept_and_process_next_request'
passenger (3.0.19)
lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
passenger (3.0.19)
lib/phusion_passenger/classic_rails/application_spawner.rb:321:in
`start_request_handler'
passenger (3.0.19)
lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'
passenger (3.0.19)
lib/phusion_passenger/classic_rails/application_spawner.rb:275:in
`handle_spawn_application'
passenger (3.0.19) lib/phusion_passenger/utils.rb:470:in `safe_fork'
passenger (3.0.19)
lib/phusion_passenger/classic_rails/application_spawner.rb:270:in
`handle_spawn_application'
passenger (3.0.19) lib/phusion_passenger/abstract_server.rb:357:in
`__send__'
passenger (3.0.19) lib/phusion_passenger/abstract_server.rb:357:in
`server_main_loop'
passenger (3.0.19) lib/phusion_passenger/abstract_server.rb:206:in
`start_synchronously'
passenger (3.0.19) lib/phusion_passenger/abstract_server.rb:180:in
`start'
passenger (3.0.19)
lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
passenger (3.0.19) lib/phusion_passenger/spawn_manager.rb:219:in
`spawn_rails_application'
passenger (3.0.19)
lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
passenger (3.0.19) lib/phusion_passenger/spawn_manager.rb:214:in
`spawn_rails_application'
passenger (3.0.19)
lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
passenger (3.0.19)
lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (3.0.19) lib/phusion_passenger/spawn_manager.rb:213:in
`spawn_rails_application'
passenger (3.0.19) lib/phusion_passenger/spawn_manager.rb:132:in
`spawn_application'
passenger (3.0.19) lib/phusion_passenger/spawn_manager.rb:275:in
`handle_spawn_application'
passenger (3.0.19) lib/phusion_passenger/abstract_server.rb:357:in
`__send__'
passenger (3.0.19) lib/phusion_passenger/abstract_server.rb:357:in
`server_main_loop'
passenger (3.0.19) lib/phusion_passenger/abstract_server.rb:206:in
`start_synchronously'
passenger (3.0.19) helper-scripts/passenger-spawn-server:99
Rendering /usr/share/puppet-dashboard/public/500.html (500 Internal
Server Error)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Installation is based on yum packages and nginx/passenger 3.0.19.
facter.x86_64 1:1.6.17-1.el6
puppet.noarch 3.1.0-1.el6
puppet-dashboard.noarch 1.2.22-1.el6
puppet-server.noarch 3.1.0-1.el6
nginx-passenger.x86_64 1:1.2.6-3.0.19_1.el6
rubygem-passenger.x86_64 1:3.0.19-1.el6
rubygem-passenger-native.x86_64 1:3.0.19-1.el6
Thanks in advance for your help.
--
DjE
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.