Project

General

Profile

500.log

Nacho Barrientos, 10/15/2012 08:55 AM

 
1
Started GET "/hosts" for A.B.C.D at Mon Oct 15 14:39:54 +0200 2012
2
  Processing by HostsController#index as HTML
3
  User Load (8.0ms)  SELECT `users`.* FROM `users` WHERE `users`.`id` = 54 LIMIT 1
4
Setting current user thread-local variable to bob
5
  SQL (10.2ms)  SELECT id FROM `hosts` LIMIT 1
6
  SQL (15.2ms)  SELECT COUNT(*) FROM `user_facts` WHERE (`user_facts`.user_id = 54)
7
  Host Load (8.8ms)  SELECT `hosts`.* FROM `hosts` ORDER BY `hosts`.`name` ASC LIMIT 20 OFFSET 0
8
  Hostgroup Load (11.9ms)  SELECT `hostgroups`.* FROM `hostgroups` WHERE (`hostgroups`.`id` IN (214,115,117,71,74,204,63))
9
  Operatingsystem Load (7.0ms)  SELECT `operatingsystems`.* FROM `operatingsystems` WHERE (`operatingsystems`.`id` IN (21,16))
10
  Environment Load (5.5ms)  SELECT `environments`.* FROM `environments` WHERE (`environments`.`id` IN (6,16))
11
  Model Load (3.3ms)  SELECT `models`.* FROM `models` WHERE (`models`.`id` IN (3,5,2))
12
  SQL (24.6ms)  SELECT COUNT(*) FROM `hosts`
13
  SQL (12.6ms)  SELECT MAX(`reports`.`id`) AS maximum_id, host_id AS host_id FROM `reports` WHERE `reports`.`host_id` IN (593, 1473, 1643, 621, 1537, 623, 624, 550, 1747, 1924, 1926, 1929, 1930, 1931, 1933, 1934, 1938, 1940, 1941, 1944) GROUP BY host_id
14
Rendered hosts/_list.html.erb (41.5ms)
15
Rendered hosts/index.html.erb within layouts/application (90.9ms)
16
Operation FAILED: undefined method `+' for true:TrueClass
17
/usr/share/foreman/app/models/host.rb:261:in `no_report'
18
/usr/share/foreman/app/helpers/hosts_helper.rb:37:in `name_column'
19
/usr/share/foreman/app/views/hosts/_list.html.erb:18:in `_app_views_hosts__list_html_erb___734293804_70338044577660_3853004'
20
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.17/lib/active_record/relation.rb:13:in `each'
21
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.17/lib/active_record/relation.rb:13:in `__send__'
22
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.17/lib/active_record/relation.rb:13:in `each'
23
/usr/share/foreman/app/views/hosts/_list.html.erb:14:in `_app_views_hosts__list_html_erb___734293804_70338044577660_3853004'
24
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_view/template.rb:135:in `send'
25
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_view/template.rb:135:in `render'
26
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/notifications.rb:54:in `instrument'
27
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_view/template.rb:127:in `render'
28
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_view/render/partials.rb:333:in `render_partial'
29
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_view/render/partials.rb:262:in `render'
30
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/notifications.rb:52:in `instrument'
31
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
32
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/notifications.rb:52:in `instrument'
33
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_view/render/partials.rb:260:in `render'
34
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_view/render/partials.rb:378:in `_render_partial'
35
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_view/render/rendering.rb:31:in `render'
36
/usr/share/foreman/app/views/hosts/index.html.erb:4:in `_app_views_hosts_index_html_erb__852911445_70338044627440_0'
37
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_view/template.rb:135:in `send'
38
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_view/template.rb:135:in `render'
39
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/notifications.rb:54:in `instrument'
40
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_view/template.rb:127:in `render'
41
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_view/render/rendering.rb:59:in `_render_template'
42
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/notifications.rb:52:in `instrument'
43
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
44
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/notifications.rb:52:in `instrument'
45
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_view/render/rendering.rb:56:in `_render_template'
46
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_view/render/rendering.rb:26:in `render'
47
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/abstract_controller/rendering.rb:115:in `_render_template'
48
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/abstract_controller/rendering.rb:109:in `render_to_body'
49
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_controller/metal/renderers.rb:47:in `render_to_body'
50
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_controller/metal/compatibility.rb:55:in `render_to_body'
51
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/abstract_controller/rendering.rb:102:in `render_to_string'
52
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/abstract_controller/rendering.rb:93:in `render'
53
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_controller/metal/rendering.rb:17:in `render'
54
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_controller/metal/instrumentation.rb:40:in `render'
55
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/core_ext/benchmark.rb:5:in `ms'
56
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
57
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/core_ext/benchmark.rb:5:in `ms'
58
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_controller/metal/instrumentation.rb:40:in `render'
59
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
60
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.17/lib/active_record/railties/controller_runtime.rb:15:in `cleanup_view_runtime'
61
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_controller/metal/instrumentation.rb:39:in `render'
62
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
63
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
64
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/abstract_controller/base.rb:150:in `process_action'
65
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_controller/metal/rendering.rb:11:in `process_action'
66
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/abstract_controller/callbacks.rb:18:in `process_action'
67
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:474:in `_run__1687407245__process_action__100204066__callbacks'
68
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:221:in `_conditional_callback_around_3345'
69
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:331:in `around'
70
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:315:in `send'
71
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:315:in `_callback_around_938'
72
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:220:in `_conditional_callback_around_3345'
73
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:473:in `_run__1687407245__process_action__100204066__callbacks'
74
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:221:in `_conditional_callback_around_3344'
75
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:331:in `around'
76
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:315:in `send'
77
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:315:in `_callback_around_13'
78
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:220:in `_conditional_callback_around_3344'
79
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:436:in `_run__1687407245__process_action__100204066__callbacks'
80
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:410:in `send'
81
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:410:in `_run_process_action_callbacks'
82
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:94:in `send'
83
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:94:in `run_callbacks'
84
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/abstract_controller/callbacks.rb:17:in `process_action'
85
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_controller/metal/rescue.rb:17:in `process_action'
86
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
87
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/notifications.rb:52:in `instrument'
88
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
89
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/notifications.rb:52:in `instrument'
90
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
91
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/abstract_controller/base.rb:119:in `process'
92
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/abstract_controller/rendering.rb:41:in `process'
93
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_controller/metal.rb:138:in `dispatch'
94
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
95
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_controller/metal.rb:178:in `action'
96
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_dispatch/routing/route_set.rb:68:in `call'
97
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_dispatch/routing/route_set.rb:68:in `dispatch'
98
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_dispatch/routing/route_set.rb:33:in `call'
99
/usr/lib/ruby/gems/1.8/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:148:in `call'
100
/usr/lib/ruby/gems/1.8/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:93:in `recognize'
101
/usr/lib/ruby/gems/1.8/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:292:in `optimized_each'
102
/usr/lib/ruby/gems/1.8/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:92:in `recognize'
103
/usr/lib/ruby/gems/1.8/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:139:in `call'
104
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_dispatch/routing/route_set.rb:499:in `call'
105
/usr/lib/ruby/gems/1.8/gems/apipie-rails-0.0.9/lib/apipie/static_dispatcher.rb:57:in `call'
106
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
107
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/head.rb:14:in `call'
108
/usr/lib/ruby/gems/1.8/gems/rack-1.2.5/lib/rack/methodoverride.rb:24:in `call'
109
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
110
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/flash.rb:182:in `call'
111
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
112
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/cookies.rb:302:in `call'
113
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.17/lib/active_record/query_cache.rb:32:in `call'
114
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.17/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
115
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.17/lib/active_record/query_cache.rb:12:in `cache'
116
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.17/lib/active_record/query_cache.rb:31:in `call'
117
/usr/lib/ruby/gems/1.8/gems/activerecord-3.0.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call'
118
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/callbacks.rb:46:in `call'
119
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:416:in `_run_call_callbacks'
120
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
121
/usr/lib/ruby/gems/1.8/gems/rack-1.2.5/lib/rack/sendfile.rb:106:in `call'
122
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
123
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
124
/usr/lib/ruby/gems/1.8/gems/railties-3.0.17/lib/rails/rack/logger.rb:13:in `call'
125
/usr/lib/ruby/gems/1.8/gems/rack-1.2.5/lib/rack/runtime.rb:17:in `call'
126
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.17/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
127
/usr/lib/ruby/gems/1.8/gems/rack-1.2.5/lib/rack/lock.rb:13:in `call'
128
/usr/lib/ruby/gems/1.8/gems/rack-1.2.5/lib/rack/lock.rb:13:in `synchronize'
129
/usr/lib/ruby/gems/1.8/gems/rack-1.2.5/lib/rack/lock.rb:13:in `call'
130
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/static.rb:30:in `call'
131
/usr/lib/ruby/gems/1.8/gems/railties-3.0.17/lib/rails/application.rb:168:in `call'
132
/usr/lib/ruby/gems/1.8/gems/railties-3.0.17/lib/rails/application.rb:77:in `send'
133
/usr/lib/ruby/gems/1.8/gems/railties-3.0.17/lib/rails/application.rb:77:in `method_missing'
134
/usr/lib/ruby/gems/1.8/gems/rack-1.2.5/lib/rack/urlmap.rb:47:in `call'
135
/usr/lib/ruby/gems/1.8/gems/rack-1.2.5/lib/rack/urlmap.rb:41:in `each'
136
/usr/lib/ruby/gems/1.8/gems/rack-1.2.5/lib/rack/urlmap.rb:41:in `call'
137
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
138
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
139
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
140
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/rack/application_spawner.rb:206:in `start_request_handler'
141
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/rack/application_spawner.rb:171:in `send'
142
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/rack/application_spawner.rb:171:in `handle_spawn_application'
143
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/utils.rb:479:in `safe_fork'
144
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/rack/application_spawner.rb:166:in `handle_spawn_application'
145
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb:357:in `__send__'
146
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
147
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
148
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb:180:in `start'
149
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/rack/application_spawner.rb:129:in `start'
150
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:253:in `spawn_rack_application'
151
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
152
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:246:in `spawn_rack_application'
153
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
154
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
155
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application'
156
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:137:in `spawn_application'
157
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
158
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb:357:in `__send__'
159
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
160
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
161
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.11/helper-scripts/passenger-spawn-server:99
162
Read fragment views/tabs_and_title_records-54 (6.4ms)
163
Rendered home/_topbar.rhtml (10.2ms)
164
  Bookmark Load (6.8ms)  SELECT `bookmarks`.* FROM `bookmarks` WHERE (((bookmarks.public = 1) OR (bookmarks.owner_id = 54 AND bookmarks.owner_type = 'User'))) AND (controller = 'hosts') ORDER BY name
165
Rendered common/_searchbar.erb (85.4ms)
166
Rendered common/500.rhtml within layouts/application (135.4ms)
167
Completed 500 Internal Server Error in 465ms (Views: 131.5ms | ActiveRecord: 6.8ms)