2015-08-10 09:30:05 [I] Connecting to database specified by database.yml 2015-08-10 09:30:05 [I] Connecting to database specified by database.yml 2015-08-10 09:30:06 [I] Fog is not installed - unable to manage compute resources 2015-08-10 09:30:06 [I] Fog is not installed - unable to manage compute resources 2015-08-10 09:30:10 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope. 2015-08-10 09:30:10 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope. 2015-08-10 09:30:10 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope. 2015-08-10 09:30:10 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope. 2015-08-10 10:00:05 [I] Connecting to database specified by database.yml 2015-08-10 10:00:05 [I] Connecting to database specified by database.yml 2015-08-10 10:00:07 [I] Fog is not installed - unable to manage compute resources 2015-08-10 10:00:08 [I] Fog is not installed - unable to manage compute resources 2015-08-10 10:00:11 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope. 2015-08-10 10:00:11 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope. 2015-08-10 10:00:11 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope. 2015-08-10 10:00:11 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope. 2015-08-10 10:09:20 [I] Started POST "/users/login" for 10.151.53.163 at 2015-08-10 10:09:20 -0400 2015-08-10 10:09:20 [I] Processing by UsersController#login as HTML 2015-08-10 10:09:20 [I] Parameters: {"utf8"=>"✓", "authenticity_token"=>"mv7ecuV+ERtYVtIiZeOdjaJM2KyhHRZlHWT2U8fkrT8=", "login"=>{"login"=>"admin", "password"=>"[FILTERED]"}, "commit"=>"登录"} 2015-08-10 10:09:20 [I] invalid user 2015-08-10 10:09:20 [I] Redirected to https://10.151.53.248/users/login 2015-08-10 10:09:20 [I] Completed 302 Found in 235ms (ActiveRecord: 139.0ms) 2015-08-10 10:09:20 [I] Started GET "/users/login" for 10.151.53.163 at 2015-08-10 10:09:20 -0400 2015-08-10 10:09:20 [I] Processing by UsersController#login as HTML 2015-08-10 10:09:20 [I] Rendered users/login.html.erb within layouts/login (0.8ms) 2015-08-10 10:09:20 [I] Rendered layouts/base.html.erb (0.5ms) 2015-08-10 10:09:20 [I] Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) 2015-08-10 10:09:24 [I] Started POST "/users/login" for 10.151.53.163 at 2015-08-10 10:09:24 -0400 2015-08-10 10:09:24 [I] Processing by UsersController#login as HTML 2015-08-10 10:09:24 [I] Parameters: {"utf8"=>"✓", "authenticity_token"=>"+yqchzIhlXN7QtTiresIv5wUOS9jvzODu62vZGGzqA8=", "login"=>{"login"=>"admin", "password"=>"[FILTERED]"}, "commit"=>"登录"} 2015-08-10 10:09:24 [I] invalid user 2015-08-10 10:09:24 [I] Redirected to https://10.151.53.248/users/login 2015-08-10 10:09:24 [I] Completed 302 Found in 29ms (ActiveRecord: 23.1ms) 2015-08-10 10:09:24 [I] Started GET "/users/login" for 10.151.53.163 at 2015-08-10 10:09:24 -0400 2015-08-10 10:09:24 [I] Processing by UsersController#login as HTML 2015-08-10 10:09:24 [I] Rendered users/login.html.erb within layouts/login (0.9ms) 2015-08-10 10:09:24 [I] Rendered layouts/base.html.erb (1.2ms) 2015-08-10 10:09:24 [I] Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms) 2015-08-10 10:11:13 [I] Started POST "/api/hosts/facts" for 10.151.53.248 at 2015-08-10 10:11:13 -0400 2015-08-10 10:11:13 [I] Processing by Api::V2::HostsController#facts as JSON 2015-08-10 10:11:13 [I] Parameters: {"name"=>"puppetomaster2.mtn.co.ug", "certname"=>"puppetomaster2.mtn.co.ug", "facts"=>"[FILTERED]", "apiv"=>"v2", :host=>{"name"=>"puppetomaster2.mtn.co.ug", "certname"=>"puppetomaster2.mtn.co.ug"}} 2015-08-10 10:11:13 [I] Import facts for 'puppetomaster2.mtn.co.ug' completed. Added: 0, Updated: 17, Deleted 0 facts 2015-08-10 10:11:14 [I] Completed 201 Created in 1205ms (Views: 9.8ms | ActiveRecord: 0.0ms) 2015-08-10 10:11:16 [I] Started GET "/node/puppetomaster2.mtn.co.ug?format=yml" for 10.151.53.248 at 2015-08-10 10:11:16 -0400 2015-08-10 10:11:16 [I] Processing by HostsController#externalNodes as YML 2015-08-10 10:11:16 [I] Parameters: {"name"=>"puppetomaster2.mtn.co.ug"} 2015-08-10 10:11:16 [I] Rendered text template (0.0ms) 2015-08-10 10:11:16 [I] Completed 200 OK in 360ms (Views: 20.8ms | ActiveRecord: 87.4ms) 2015-08-10 10:11:18 [I] Started POST "/api/reports" for 10.151.53.248 at 2015-08-10 10:11:18 -0400 2015-08-10 10:11:18 [I] Processing by Api::V2::ReportsController#create as JSON 2015-08-10 10:11:18 [I] Parameters: {"report"=>"[FILTERED]", "apiv"=>"v2"} 2015-08-10 10:11:18 [I] processing report for puppetomaster2.mtn.co.ug 2015-08-10 10:11:20 [I] Imported report for puppetomaster2.mtn.co.ug in 1.21 seconds 2015-08-10 10:11:20 [I] Completed 201 Created in 1224ms (Views: 1.4ms | ActiveRecord: 0.0ms) 2015-08-10 10:11:23 [I] Started GET "/node/puppetomaster2.mtn.co.ug?format=yml" for 10.151.53.248 at 2015-08-10 10:11:23 -0400 2015-08-10 10:11:23 [I] Processing by HostsController#externalNodes as YML 2015-08-10 10:11:23 [I] Parameters: {"name"=>"puppetomaster2.mtn.co.ug"} 2015-08-10 10:11:23 [I] Rendered text template (0.0ms) 2015-08-10 10:11:23 [I] Completed 200 OK in 59ms (Views: 0.2ms | ActiveRecord: 10.6ms) 2015-08-10 10:11:24 [I] Started POST "/api/hosts/facts" for 10.151.53.248 at 2015-08-10 10:11:24 -0400 2015-08-10 10:11:24 [I] Processing by Api::V2::HostsController#facts as JSON 2015-08-10 10:11:24 [I] Parameters: {"facts"=>"[FILTERED]", "name"=>"puppetomaster2.mtn.co.ug", "certname"=>"puppetomaster2.mtn.co.ug", "apiv"=>"v2", :host=>{"name"=>"puppetomaster2.mtn.co.ug", "certname"=>"puppetomaster2.mtn.co.ug"}} 2015-08-10 10:11:24 [I] Completed 201 Created in 14ms (Views: 5.4ms | ActiveRecord: 2.0ms) 2015-08-10 10:11:24 [I] Started GET "/node/puppetomaster2.mtn.co.ug?format=yml" for 10.151.53.248 at 2015-08-10 10:11:24 -0400 2015-08-10 10:11:24 [I] Processing by HostsController#externalNodes as YML 2015-08-10 10:11:24 [I] Parameters: {"name"=>"puppetomaster2.mtn.co.ug"} 2015-08-10 10:11:24 [I] Rendered text template (0.0ms) 2015-08-10 10:11:24 [I] Completed 200 OK in 56ms (Views: 0.4ms | ActiveRecord: 11.0ms) 2015-08-10 10:11:26 [I] Started POST "/api/reports" for 10.151.53.248 at 2015-08-10 10:11:26 -0400 2015-08-10 10:11:26 [I] Processing by Api::V2::ReportsController#create as JSON 2015-08-10 10:11:26 [I] Parameters: {"report"=>"[FILTERED]", "apiv"=>"v2"} 2015-08-10 10:11:26 [I] processing report for puppetomaster2.mtn.co.ug 2015-08-10 10:11:26 [I] Imported report for puppetomaster2.mtn.co.ug in 0.25 seconds 2015-08-10 10:11:26 [I] Completed 201 Created in 262ms (Views: 0.9ms | ActiveRecord: 0.0ms) 2015-08-10 10:11:56 [I] Started POST "/api/hosts/facts" for 10.151.53.248 at 2015-08-10 10:11:56 -0400 2015-08-10 10:11:56 [I] Processing by Api::V2::HostsController#facts as JSON 2015-08-10 10:11:56 [I] Parameters: {"name"=>"mtn-ab3429301b6", "certname"=>"mtn-ab3429301b6", "facts"=>"[FILTERED]", "apiv"=>"v2", :host=>{"name"=>"mtn-ab3429301b6", "certname"=>"mtn-ab3429301b6"}} 2015-08-10 10:11:56 [I] Import facts for 'mtn-ab3429301b6' completed. Added: 49, Updated: 0, Deleted 0 facts 2015-08-10 10:11:56 [E] undefined method `[]' for nil:NilClass (NoMethodError) /usr/share/foreman/app/models/host/base.rb:168:in `set_interfaces' /usr/share/foreman/app/models/host/base.rb:150:in `populate_fields_from_facts' /usr/share/foreman/app/models/host/managed.rb:441:in `populate_fields_from_facts' /usr/share/foreman/app/models/host/base.rb:126:in `import_facts' /usr/share/foreman/app/models/host/managed.rb:432:in `import_host_and_facts' /usr/share/foreman/app/controllers/api/v2/hosts_controller.rb:177:in `facts' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:507:in `block (5 levels) in _run__3916386420363439343__process_action__4459476790890468547__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7390' /usr/share/foreman/app/controllers/api/v2/base_controller.rb:151:in `disable_json_root' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7390' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:484:in `block (4 levels) in _run__3916386420363439343__process_action__4459476790890468547__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7389' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in `around' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in `_callback_around_1719' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7389' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:472:in `block (3 levels) in _run__3916386420363439343__process_action__4459476790890468547__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7388' /usr/share/foreman/app/controllers/concerns/application_shared.rb:13:in `set_timezone' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7388' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:471:in `block (2 levels) in _run__3916386420363439343__process_action__4459476790890468547__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7387' /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7387' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:437:in `block in _run__3916386420363439343__process_action__4459476790890468547__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7386' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in `around' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in `_callback_around_13' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7386' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:403:in `_run__3916386420363439343__process_action__4459476790890468547__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `instrument' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in `process' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:in `process' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in `dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in `block in action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/mapper.rb:42:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in `each' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/static_dispatcher.rb:65:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/extractor/recorder.rb:97:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/middleware/checksum_in_headers.rb:27:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/conditionalget.rb:35:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in `call' /usr/share/foreman/lib/middleware/catch_json_parse_errors.rb:9:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `_run__2381284410971373506__call__885789907503843586__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_call_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in `call_app' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in `pass' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in `invalidate' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in `call!' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/application.rb:223:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in `method_missing' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/builder.rb:134:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:64:in `block in call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in `each' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in `call' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' 2015-08-10 10:11:56 [I] Rendered api/v2/errors/standard_error.json.rabl within api/v2/layouts/error_layout (1.1ms) 2015-08-10 10:11:56 [I] Completed 500 Internal Server Error in 640ms (Views: 10.7ms | ActiveRecord: 404.3ms) 2015-08-10 10:11:56 [I] Started GET "/node/mtn-ab3429301b6?format=yml" for 10.151.53.248 at 2015-08-10 10:11:56 -0400 2015-08-10 10:11:56 [I] Processing by HostsController#externalNodes as YML 2015-08-10 10:11:56 [I] Parameters: {"name"=>"mtn-ab3429301b6"} 2015-08-10 10:11:56 [I] Rendered text template (0.0ms) 2015-08-10 10:11:56 [I] Completed 200 OK in 28ms (Views: 1.0ms | ActiveRecord: 7.5ms) 2015-08-10 10:12:00 [I] Started POST "/api/hosts/facts" for 10.151.53.248 at 2015-08-10 10:12:00 -0400 2015-08-10 10:12:00 [I] Processing by Api::V2::HostsController#facts as JSON 2015-08-10 10:12:00 [I] Parameters: {"name"=>"mtn-ab3429301b6", "facts"=>"[FILTERED]", "certname"=>"mtn-ab3429301b6", "apiv"=>"v2", :host=>{"name"=>"mtn-ab3429301b6", "certname"=>"mtn-ab3429301b6"}} 2015-08-10 10:12:01 [I] Import facts for 'mtn-ab3429301b6' completed. Added: 0, Updated: 6, Deleted 0 facts 2015-08-10 10:12:01 [E] undefined method `[]' for nil:NilClass (NoMethodError) /usr/share/foreman/app/models/host/base.rb:168:in `set_interfaces' /usr/share/foreman/app/models/host/base.rb:150:in `populate_fields_from_facts' /usr/share/foreman/app/models/host/managed.rb:441:in `populate_fields_from_facts' /usr/share/foreman/app/models/host/base.rb:126:in `import_facts' /usr/share/foreman/app/models/host/managed.rb:432:in `import_host_and_facts' /usr/share/foreman/app/controllers/api/v2/hosts_controller.rb:177:in `facts' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:507:in `block (5 levels) in _run__3916386420363439343__process_action__4459476790890468547__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7390' /usr/share/foreman/app/controllers/api/v2/base_controller.rb:151:in `disable_json_root' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7390' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:484:in `block (4 levels) in _run__3916386420363439343__process_action__4459476790890468547__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7389' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in `around' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in `_callback_around_1719' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7389' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:472:in `block (3 levels) in _run__3916386420363439343__process_action__4459476790890468547__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7388' /usr/share/foreman/app/controllers/concerns/application_shared.rb:13:in `set_timezone' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7388' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:471:in `block (2 levels) in _run__3916386420363439343__process_action__4459476790890468547__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7387' /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7387' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:437:in `block in _run__3916386420363439343__process_action__4459476790890468547__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7386' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in `around' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in `_callback_around_13' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7386' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:403:in `_run__3916386420363439343__process_action__4459476790890468547__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `instrument' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in `process' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:in `process' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in `dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in `block in action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/mapper.rb:42:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in `each' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/static_dispatcher.rb:65:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/extractor/recorder.rb:97:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/middleware/checksum_in_headers.rb:27:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/conditionalget.rb:35:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in `call' /usr/share/foreman/lib/middleware/catch_json_parse_errors.rb:9:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `_run__2381284410971373506__call__885789907503843586__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_call_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in `call_app' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in `pass' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in `invalidate' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in `call!' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/application.rb:223:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in `method_missing' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/builder.rb:134:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:64:in `block in call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in `each' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in `call' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' 2015-08-10 10:12:01 [I] Rendered api/v2/errors/standard_error.json.rabl within api/v2/layouts/error_layout (0.3ms) 2015-08-10 10:12:01 [I] Completed 500 Internal Server Error in 190ms (Views: 0.9ms | ActiveRecord: 47.4ms) 2015-08-10 10:12:01 [I] Started GET "/node/mtn-ab3429301b6?format=yml" for 10.151.53.248 at 2015-08-10 10:12:01 -0400 2015-08-10 10:12:01 [I] Processing by HostsController#externalNodes as YML 2015-08-10 10:12:01 [I] Parameters: {"name"=>"mtn-ab3429301b6"} 2015-08-10 10:12:01 [I] Rendered text template (0.0ms) 2015-08-10 10:12:01 [I] Completed 200 OK in 29ms (Views: 0.5ms | ActiveRecord: 6.2ms) 2015-08-10 10:12:01 [I] Started POST "/api/reports" for 10.151.53.248 at 2015-08-10 10:12:01 -0400 2015-08-10 10:12:01 [I] Processing by Api::V2::ReportsController#create as JSON 2015-08-10 10:12:01 [I] Parameters: {"report"=>"[FILTERED]", "apiv"=>"v2"} 2015-08-10 10:12:01 [I] processing report for mtn-ab3429301b6 2015-08-10 10:12:01 [I] Imported report for mtn-ab3429301b6 in 0.05 seconds 2015-08-10 10:12:01 [I] Completed 201 Created in 67ms (Views: 1.3ms | ActiveRecord: 0.0ms) 2015-08-10 10:12:45 [I] Started GET "/node/mtn-ab3429301b6?format=yml" for 10.151.53.248 at 2015-08-10 10:12:45 -0400 2015-08-10 10:12:45 [I] Processing by HostsController#externalNodes as YML 2015-08-10 10:12:45 [I] Parameters: {"name"=>"mtn-ab3429301b6"} 2015-08-10 10:12:45 [I] Rendered text template (0.0ms) 2015-08-10 10:12:45 [I] Completed 200 OK in 32ms (Views: 0.4ms | ActiveRecord: 7.3ms) 2015-08-10 10:12:49 [I] Started POST "/api/hosts/facts" for 10.151.53.248 at 2015-08-10 10:12:49 -0400 2015-08-10 10:12:49 [I] Processing by Api::V2::HostsController#facts as JSON 2015-08-10 10:12:49 [I] Parameters: {"certname"=>"mtn-ab3429301b6", "name"=>"mtn-ab3429301b6", "facts"=>"[FILTERED]", "apiv"=>"v2", :host=>{"name"=>"mtn-ab3429301b6", "certname"=>"mtn-ab3429301b6"}} 2015-08-10 10:12:49 [I] Completed 201 Created in 34ms (Views: 10.8ms | ActiveRecord: 1.9ms) 2015-08-10 10:12:49 [I] Started GET "/node/mtn-ab3429301b6?format=yml" for 10.151.53.248 at 2015-08-10 10:12:49 -0400 2015-08-10 10:12:49 [I] Processing by HostsController#externalNodes as YML 2015-08-10 10:12:49 [I] Parameters: {"name"=>"mtn-ab3429301b6"} 2015-08-10 10:12:49 [I] Rendered text template (0.0ms) 2015-08-10 10:12:49 [I] Completed 200 OK in 27ms (Views: 0.4ms | ActiveRecord: 6.4ms) 2015-08-10 10:12:49 [I] Started POST "/api/reports" for 10.151.53.248 at 2015-08-10 10:12:49 -0400 2015-08-10 10:12:49 [I] Processing by Api::V2::ReportsController#create as JSON 2015-08-10 10:12:49 [I] Parameters: {"report"=>"[FILTERED]", "apiv"=>"v2"} 2015-08-10 10:12:49 [I] processing report for mtn-ab3429301b6 2015-08-10 10:12:50 [I] Imported report for mtn-ab3429301b6 in 0.07 seconds 2015-08-10 10:12:50 [I] Completed 201 Created in 82ms (Views: 1.8ms | ActiveRecord: 0.0ms) 2015-08-10 10:13:04 [I] Started GET "/node/mtn-ab3429301b6?format=yml" for 10.151.53.248 at 2015-08-10 10:13:04 -0400 2015-08-10 10:13:04 [I] Processing by HostsController#externalNodes as YML 2015-08-10 10:13:04 [I] Parameters: {"name"=>"mtn-ab3429301b6"} 2015-08-10 10:13:04 [I] Rendered text template (0.0ms) 2015-08-10 10:13:04 [I] Completed 200 OK in 28ms (Views: 0.5ms | ActiveRecord: 7.3ms) 2015-08-10 10:13:08 [I] Started POST "/api/hosts/facts" for 10.151.53.248 at 2015-08-10 10:13:08 -0400 2015-08-10 10:13:08 [I] Processing by Api::V2::HostsController#facts as JSON 2015-08-10 10:13:08 [I] Parameters: {"facts"=>"[FILTERED]", "certname"=>"mtn-ab3429301b6", "name"=>"mtn-ab3429301b6", "apiv"=>"v2", :host=>{"name"=>"mtn-ab3429301b6", "certname"=>"mtn-ab3429301b6"}} 2015-08-10 10:13:08 [I] Import facts for 'mtn-ab3429301b6' completed. Added: 0, Updated: 6, Deleted 0 facts 2015-08-10 10:13:08 [E] undefined method `[]' for nil:NilClass (NoMethodError) /usr/share/foreman/app/models/host/base.rb:168:in `set_interfaces' /usr/share/foreman/app/models/host/base.rb:150:in `populate_fields_from_facts' /usr/share/foreman/app/models/host/managed.rb:441:in `populate_fields_from_facts' /usr/share/foreman/app/models/host/base.rb:126:in `import_facts' /usr/share/foreman/app/models/host/managed.rb:432:in `import_host_and_facts' /usr/share/foreman/app/controllers/api/v2/hosts_controller.rb:177:in `facts' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:507:in `block (5 levels) in _run__3916386420363439343__process_action__4459476790890468547__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7390' /usr/share/foreman/app/controllers/api/v2/base_controller.rb:151:in `disable_json_root' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7390' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:484:in `block (4 levels) in _run__3916386420363439343__process_action__4459476790890468547__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7389' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in `around' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in `_callback_around_1719' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7389' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:472:in `block (3 levels) in _run__3916386420363439343__process_action__4459476790890468547__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7388' /usr/share/foreman/app/controllers/concerns/application_shared.rb:13:in `set_timezone' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7388' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:471:in `block (2 levels) in _run__3916386420363439343__process_action__4459476790890468547__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7387' /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7387' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:437:in `block in _run__3916386420363439343__process_action__4459476790890468547__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7386' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in `around' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in `_callback_around_13' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7386' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:403:in `_run__3916386420363439343__process_action__4459476790890468547__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `instrument' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in `process' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:in `process' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in `dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in `block in action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/mapper.rb:42:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in `each' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/static_dispatcher.rb:65:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/extractor/recorder.rb:97:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/middleware/checksum_in_headers.rb:27:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/conditionalget.rb:35:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in `call' /usr/share/foreman/lib/middleware/catch_json_parse_errors.rb:9:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `_run__2381284410971373506__call__885789907503843586__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_call_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in `call_app' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in `pass' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in `invalidate' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in `call!' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/application.rb:223:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in `method_missing' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/builder.rb:134:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:64:in `block in call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in `each' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in `call' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' 2015-08-10 10:13:08 [I] Rendered api/v2/errors/standard_error.json.rabl within api/v2/layouts/error_layout (0.2ms) 2015-08-10 10:13:08 [I] Completed 500 Internal Server Error in 49ms (Views: 2.4ms | ActiveRecord: 22.3ms) 2015-08-10 10:13:08 [I] Started GET "/node/mtn-ab3429301b6?format=yml" for 10.151.53.248 at 2015-08-10 10:13:08 -0400 2015-08-10 10:13:08 [I] Processing by HostsController#externalNodes as YML 2015-08-10 10:13:08 [I] Parameters: {"name"=>"mtn-ab3429301b6"} 2015-08-10 10:13:08 [I] Rendered text template (0.0ms) 2015-08-10 10:13:08 [I] Completed 200 OK in 28ms (Views: 0.3ms | ActiveRecord: 7.1ms) 2015-08-10 10:13:09 [I] Started POST "/api/reports" for 10.151.53.248 at 2015-08-10 10:13:09 -0400 2015-08-10 10:13:09 [I] Processing by Api::V2::ReportsController#create as JSON 2015-08-10 10:13:09 [I] Parameters: {"report"=>"[FILTERED]", "apiv"=>"v2"} 2015-08-10 10:13:09 [I] processing report for mtn-ab3429301b6 2015-08-10 10:13:09 [I] Imported report for mtn-ab3429301b6 in 0.07 seconds 2015-08-10 10:13:09 [I] Completed 201 Created in 99ms (Views: 1.7ms | ActiveRecord: 0.0ms) 2015-08-10 10:13:22 [I] Started POST "/users/login" for 10.151.53.163 at 2015-08-10 10:13:22 -0400 2015-08-10 10:13:22 [I] Processing by UsersController#login as HTML 2015-08-10 10:13:22 [I] Parameters: {"utf8"=>"✓", "authenticity_token"=>"6/T0I6LRJQ7ev4bwasO0zArMkEsdWazqxoKESNAyAQI=", "login"=>{"login"=>"admin", "password"=>"[FILTERED]"}, "commit"=>"登录"} 2015-08-10 10:13:22 [I] Expire fragment views/tabs_and_title_records-3 (0.1ms) 2015-08-10 10:13:22 [I] Expire fragment views/tabs_and_title_records-3 (0.1ms) 2015-08-10 10:13:22 [I] Redirected to https://10.151.53.248/ 2015-08-10 10:13:22 [I] Completed 302 Found in 215ms (ActiveRecord: 98.3ms) 2015-08-10 10:13:22 [I] Started GET "/" for 10.151.53.163 at 2015-08-10 10:13:22 -0400 2015-08-10 10:13:22 [I] Processing by DashboardController#index as HTML 2015-08-10 10:13:23 [I] Deface: 1 overrides found for 'dashboard/index' 2015-08-10 10:13:23 [I] Deface: 'add_dashboard_provisioners_link' matched 1 times with 'code[erb-loud]:contains("title_actions")' 2015-08-10 10:13:23 [I] Rendered dashboard/_status_widget.html.erb (586.8ms) 2015-08-10 10:13:23 [I] Rendered dashboard/_status_chart_widget.html.erb (1.0ms) 2015-08-10 10:13:23 [I] Rendered dashboard/_reports_widget.html.erb (19.3ms) 2015-08-10 10:13:23 [I] Rendered dashboard/_distribution_widget.html.erb (17.7ms) 2015-08-10 10:13:23 [I] Rendered dashboard/index.html.erb within layouts/application (642.3ms) 2015-08-10 10:13:23 [I] Rendered common/_searchbar.html.erb (29.1ms) 2015-08-10 10:13:23 [I] Rendered home/_user_dropdown.html.erb (3.6ms) 2015-08-10 10:13:23 [I] Read fragment views/tabs_and_title_records-3 (0.0ms) 2015-08-10 10:13:23 [I] Rendered home/_org_switcher.html.erb (0.4ms) 2015-08-10 10:13:23 [I] Rendered home/_submenu.html.erb (3.0ms) 2015-08-10 10:13:23 [I] Rendered home/_submenu.html.erb (2.2ms) 2015-08-10 10:13:23 [I] Rendered home/_submenu.html.erb (1.9ms) 2015-08-10 10:13:23 [I] Rendered home/_submenu.html.erb (2.3ms) 2015-08-10 10:13:23 [I] Rendered home/_submenu.html.erb (1.8ms) 2015-08-10 10:13:23 [I] Write fragment views/tabs_and_title_records-3 (1.1ms) 2015-08-10 10:13:23 [I] Rendered home/_topbar.html.erb (22.9ms) 2015-08-10 10:13:23 [I] Rendered layouts/base.html.erb (24.7ms) 2015-08-10 10:13:23 [I] Completed 200 OK in 829ms (Views: 718.5ms | ActiveRecord: 65.5ms) 2015-08-10 10:13:25 [I] Started GET "/hosts" for 10.151.53.163 at 2015-08-10 10:13:25 -0400 2015-08-10 10:13:25 [I] Processing by HostsController#index as HTML 2015-08-10 10:13:26 [I] Rendered hosts/_list.html.erb (59.6ms) 2015-08-10 10:13:26 [I] Rendered hosts/index.html.erb within layouts/application (75.4ms) 2015-08-10 10:13:26 [I] Rendered common/_searchbar.html.erb (28.4ms) 2015-08-10 10:13:26 [I] Rendered home/_user_dropdown.html.erb (0.8ms) 2015-08-10 10:13:26 [I] Read fragment views/tabs_and_title_records-3 (0.1ms) 2015-08-10 10:13:26 [I] Rendered home/_topbar.html.erb (1.9ms) 2015-08-10 10:13:26 [I] Rendered layouts/base.html.erb (3.6ms) 2015-08-10 10:13:26 [I] Completed 200 OK in 156ms (Views: 102.6ms | ActiveRecord: 29.0ms) 2015-08-10 10:13:26 [I] Started GET "/hosts" for 10.151.53.163 at 2015-08-10 10:13:26 -0400 2015-08-10 10:13:26 [I] Processing by HostsController#index as HTML 2015-08-10 10:13:26 [I] Rendered hosts/_list.html.erb (28.4ms) 2015-08-10 10:13:26 [I] Rendered hosts/index.html.erb within layouts/application (31.6ms) 2015-08-10 10:13:26 [I] Rendered common/_searchbar.html.erb (4.6ms) 2015-08-10 10:13:26 [I] Rendered home/_user_dropdown.html.erb (0.8ms) 2015-08-10 10:13:26 [I] Read fragment views/tabs_and_title_records-3 (0.1ms) 2015-08-10 10:13:26 [I] Rendered home/_topbar.html.erb (1.7ms) 2015-08-10 10:13:26 [I] Rendered layouts/base.html.erb (3.0ms) 2015-08-10 10:13:26 [I] Completed 200 OK in 58ms (Views: 39.4ms | ActiveRecord: 6.0ms) 2015-08-10 10:13:28 [I] Started GET "/hosts/mtn-ab3429301b6" for 10.151.53.163 at 2015-08-10 10:13:28 -0400 2015-08-10 10:13:28 [I] Processing by HostsController#show as HTML 2015-08-10 10:13:28 [I] Parameters: {"id"=>"mtn-ab3429301b6"} 2015-08-10 10:13:28 [I] Rendered hosts/_metrics.html.erb (0.8ms) 2015-08-10 10:13:28 [I] Rendered hosts/show.html.erb within layouts/application (29.1ms) 2015-08-10 10:13:28 [I] Rendered home/_user_dropdown.html.erb (1.1ms) 2015-08-10 10:13:28 [I] Read fragment views/tabs_and_title_records-3 (0.1ms) 2015-08-10 10:13:28 [I] Rendered home/_topbar.html.erb (2.6ms) 2015-08-10 10:13:28 [I] Rendered layouts/base.html.erb (3.7ms) 2015-08-10 10:13:28 [I] Completed 200 OK in 78ms (Views: 41.7ms | ActiveRecord: 11.8ms) 2015-08-10 10:13:28 [I] Started GET "/hosts/mtn-ab3429301b6" for 10.151.53.163 at 2015-08-10 10:13:28 -0400 2015-08-10 10:13:28 [I] Processing by HostsController#show as HTML 2015-08-10 10:13:28 [I] Parameters: {"id"=>"mtn-ab3429301b6"} 2015-08-10 10:13:28 [I] Rendered hosts/_metrics.html.erb (0.1ms) 2015-08-10 10:13:28 [I] Rendered hosts/show.html.erb within layouts/application (23.9ms) 2015-08-10 10:13:28 [I] Rendered home/_user_dropdown.html.erb (1.4ms) 2015-08-10 10:13:28 [I] Read fragment views/tabs_and_title_records-3 (0.1ms) 2015-08-10 10:13:28 [I] Rendered home/_topbar.html.erb (2.2ms) 2015-08-10 10:13:28 [I] Rendered layouts/base.html.erb (3.2ms) 2015-08-10 10:13:28 [I] Completed 200 OK in 37ms (Views: 24.6ms | ActiveRecord: 6.5ms) 2015-08-10 10:13:28 [I] Started GET "/hosts/mtn-ab3429301b6/overview" for 10.151.53.163 at 2015-08-10 10:13:28 -0400 2015-08-10 10:13:28 [I] Processing by HostsController#overview as HTML 2015-08-10 10:13:28 [I] Parameters: {"id"=>"mtn-ab3429301b6"} 2015-08-10 10:13:28 [I] Rendered hosts/_overview.html.erb (6.0ms) 2015-08-10 10:13:28 [I] Completed 200 OK in 17ms (Views: 6.5ms | ActiveRecord: 4.9ms) 2015-08-10 10:13:28 [I] Started GET "/hosts/mtn-ab3429301b6/templates" for 10.151.53.163 at 2015-08-10 10:13:28 -0400 2015-08-10 10:13:28 [I] Processing by HostsController#templates as HTML 2015-08-10 10:13:28 [I] Parameters: {"id"=>"mtn-ab3429301b6"} 2015-08-10 10:13:28 [I] Rendered text template (0.0ms) 2015-08-10 10:13:28 [I] Completed 200 OK in 16ms (Views: 1.4ms | ActiveRecord: 5.1ms) 2015-08-10 10:13:28 [I] Started GET "/hosts/mtn-ab3429301b6/nics" for 10.151.53.163 at 2015-08-10 10:13:28 -0400 2015-08-10 10:13:28 [I] Processing by HostsController#nics as HTML 2015-08-10 10:13:28 [I] Parameters: {"id"=>"mtn-ab3429301b6"} 2015-08-10 10:13:29 [I] Rendered hosts/_nics.html.erb (2.8ms) 2015-08-10 10:13:29 [I] Completed 200 OK in 23ms (Views: 7.6ms | ActiveRecord: 7.4ms) 2015-08-10 10:13:29 [I] Started GET "/hosts/mtn-ab3429301b6/runtime?range=7" for 10.151.53.163 at 2015-08-10 10:13:29 -0400 2015-08-10 10:13:29 [I] Processing by HostsController#runtime as HTML 2015-08-10 10:13:29 [I] Parameters: {"range"=>"7", "id"=>"mtn-ab3429301b6"} 2015-08-10 10:13:29 [I] Rendered hosts/_runtime.html.erb (10.0ms) 2015-08-10 10:13:29 [I] Completed 200 OK in 27ms (Views: 14.1ms | ActiveRecord: 7.1ms) 2015-08-10 10:13:29 [I] Started GET "/hosts/mtn-ab3429301b6/resources?range=7" for 10.151.53.163 at 2015-08-10 10:13:29 -0400 2015-08-10 10:13:29 [I] Processing by HostsController#resources as HTML 2015-08-10 10:13:29 [I] Parameters: {"range"=>"7", "id"=>"mtn-ab3429301b6"} 2015-08-10 10:13:29 [I] Rendered hosts/_resources.html.erb (5.8ms) 2015-08-10 10:13:29 [I] Completed 200 OK in 24ms (Views: 8.6ms | ActiveRecord: 9.0ms) 2015-08-10 10:13:30 [I] Started GET "/hosts/mtn-ab3429301b6/facts" for 10.151.53.163 at 2015-08-10 10:13:30 -0400 2015-08-10 10:13:30 [I] Processing by FactValuesController#index as HTML 2015-08-10 10:13:30 [I] Parameters: {"host_id"=>"mtn-ab3429301b6"} 2015-08-10 10:13:30 [I] Rendered fact_values/_fact.html.erb (35.1ms) 2015-08-10 10:13:30 [I] Rendered fact_values/index.html.erb within layouts/application (59.2ms) 2015-08-10 10:13:30 [I] Rendered common/_searchbar.html.erb (4.1ms) 2015-08-10 10:13:30 [I] Rendered home/_user_dropdown.html.erb (1.3ms) 2015-08-10 10:13:30 [I] Read fragment views/tabs_and_title_records-3 (0.2ms) 2015-08-10 10:13:30 [I] Rendered home/_topbar.html.erb (3.5ms) 2015-08-10 10:13:30 [I] Rendered layouts/base.html.erb (7.7ms) 2015-08-10 10:13:30 [I] Completed 200 OK in 102ms (Views: 68.9ms | ActiveRecord: 15.5ms) 2015-08-10 10:13:30 [I] Started GET "/hosts/mtn-ab3429301b6/facts" for 10.151.53.163 at 2015-08-10 10:13:30 -0400 2015-08-10 10:13:30 [I] Processing by FactValuesController#index as HTML 2015-08-10 10:13:30 [I] Parameters: {"host_id"=>"mtn-ab3429301b6"} 2015-08-10 10:13:30 [I] Rendered fact_values/_fact.html.erb (32.1ms) 2015-08-10 10:13:30 [I] Rendered fact_values/index.html.erb within layouts/application (56.0ms) 2015-08-10 10:13:30 [I] Rendered common/_searchbar.html.erb (6.3ms) 2015-08-10 10:13:30 [I] Rendered home/_user_dropdown.html.erb (1.0ms) 2015-08-10 10:13:30 [I] Read fragment views/tabs_and_title_records-3 (0.1ms) 2015-08-10 10:13:30 [I] Rendered home/_topbar.html.erb (8.3ms) 2015-08-10 10:13:30 [I] Rendered layouts/base.html.erb (9.2ms) 2015-08-10 10:13:30 [I] Completed 200 OK in 92ms (Views: 73.1ms | ActiveRecord: 6.9ms) 2015-08-10 10:13:31 [I] Connecting to database specified by database.yml 2015-08-10 10:13:32 [I] Fog is not installed - unable to manage compute resources 2015-08-10 10:13:34 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope. 2015-08-10 10:13:34 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope. 2015-08-10 10:13:37 [I] Fog is not installed - unable to manage compute resources 2015-08-10 10:28:05 [I] Started GET "/node/mtn-ab3429301b6?format=yml" for 10.151.53.248 at 2015-08-10 10:28:05 -0400 2015-08-10 10:28:05 [I] Processing by HostsController#externalNodes as YML 2015-08-10 10:28:05 [I] Parameters: {"name"=>"mtn-ab3429301b6"} 2015-08-10 10:28:06 [I] Rendered text template (0.0ms) 2015-08-10 10:28:06 [I] Completed 200 OK in 504ms (Views: 88.7ms | ActiveRecord: 34.6ms) 2015-08-10 10:28:10 [I] Started POST "/api/hosts/facts" for 10.151.53.248 at 2015-08-10 10:28:10 -0400 2015-08-10 10:28:10 [I] Processing by Api::V2::HostsController#facts as JSON 2015-08-10 10:28:10 [I] Parameters: {"name"=>"mtn-ab3429301b6", "certname"=>"mtn-ab3429301b6", "facts"=>"[FILTERED]", "apiv"=>"v2", :host=>{"name"=>"mtn-ab3429301b6", "certname"=>"mtn-ab3429301b6"}} 2015-08-10 10:28:10 [I] Import facts for 'mtn-ab3429301b6' completed. Added: 0, Updated: 7, Deleted 0 facts 2015-08-10 10:28:10 [E] undefined method `[]' for nil:NilClass (NoMethodError) /usr/share/foreman/app/models/host/base.rb:168:in `set_interfaces' /usr/share/foreman/app/models/host/base.rb:150:in `populate_fields_from_facts' /usr/share/foreman/app/models/host/managed.rb:441:in `populate_fields_from_facts' /usr/share/foreman/app/models/host/base.rb:126:in `import_facts' /usr/share/foreman/app/models/host/managed.rb:432:in `import_host_and_facts' /usr/share/foreman/app/controllers/api/v2/hosts_controller.rb:177:in `facts' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:507:in `block (5 levels) in _run__129389569002631642__process_action__4179009846504870253__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7386' /usr/share/foreman/app/controllers/api/v2/base_controller.rb:151:in `disable_json_root' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7386' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:484:in `block (4 levels) in _run__129389569002631642__process_action__4179009846504870253__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7385' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in `around' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in `_callback_around_1719' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7385' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:472:in `block (3 levels) in _run__129389569002631642__process_action__4179009846504870253__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7384' /usr/share/foreman/app/controllers/concerns/application_shared.rb:13:in `set_timezone' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7384' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:471:in `block (2 levels) in _run__129389569002631642__process_action__4179009846504870253__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7383' /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7383' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:437:in `block in _run__129389569002631642__process_action__4179009846504870253__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_7382' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in `around' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in `_callback_around_13' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_7382' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:403:in `_run__129389569002631642__process_action__4179009846504870253__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `instrument' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in `process' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:in `process' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in `dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in `block in action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in `dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/mapper.rb:42:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in `each' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/static_dispatcher.rb:65:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/extractor/recorder.rb:97:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/middleware/checksum_in_headers.rb:27:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/conditionalget.rb:35:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in `call' /usr/share/foreman/lib/middleware/catch_json_parse_errors.rb:9:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `_run__87214641516019263__call__930395922901210145__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_call_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in `call_app' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in `pass' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in `invalidate' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in `call!' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/application.rb:223:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in `method_missing' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/builder.rb:134:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:64:in `block in call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in `each' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in `call' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' 2015-08-10 10:28:10 [I] Rendered api/v2/errors/standard_error.json.rabl within api/v2/layouts/error_layout (0.4ms) 2015-08-10 10:28:10 [I] Completed 500 Internal Server Error in 285ms (Views: 76.2ms | ActiveRecord: 51.7ms) 2015-08-10 10:28:12 [I] Started GET "/node/mtn-ab3429301b6?format=yml" for 10.151.53.248 at 2015-08-10 10:28:12 -0400 2015-08-10 10:28:12 [I] Processing by HostsController#externalNodes as YML 2015-08-10 10:28:12 [I] Parameters: {"name"=>"mtn-ab3429301b6"} 2015-08-10 10:28:12 [I] Rendered text template (0.0ms) 2015-08-10 10:28:12 [I] Completed 200 OK in 29ms (Views: 0.5ms | ActiveRecord: 6.1ms) 2015-08-10 10:28:12 [I] Started POST "/api/reports" for 10.151.53.248 at 2015-08-10 10:28:12 -0400 2015-08-10 10:28:12 [I] Processing by Api::V2::ReportsController#create as JSON 2015-08-10 10:28:12 [I] Parameters: {"report"=>"[FILTERED]", "apiv"=>"v2"} 2015-08-10 10:28:12 [I] processing report for mtn-ab3429301b6 2015-08-10 10:28:12 [I] Imported report for mtn-ab3429301b6 in 0.05 seconds 2015-08-10 10:28:13 [I] Completed 201 Created in 233ms (Views: 157.7ms | ActiveRecord: 0.0ms) 2015-08-10 10:30:05 [I] Connecting to database specified by database.yml 2015-08-10 10:30:05 [I] Connecting to database specified by database.yml 2015-08-10 10:30:07 [I] Fog is not installed - unable to manage compute resources 2015-08-10 10:30:07 [I] Fog is not installed - unable to manage compute resources 2015-08-10 10:30:10 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope. 2015-08-10 10:30:10 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope. 2015-08-10 10:30:10 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope. 2015-08-10 10:30:10 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.