Project

General

Profile

Bug #25126 ยป sles_12_template_render_fail.txt

Semi-complete backtrace of request - Mattias Giese, 10/05/2018 12:26 AM

 

2018-10-04T19:59:11 [I|app|] Started GET "/unattended/provision?hostname=loren-maurer.vm.megafail.network" for 10.40.40.2 at 2018-10-04 19:59:11 -0400
2018-10-04T19:59:11 [I|app|e21e7] Processing by UnattendedController#host_template as TEXT
2018-10-04T19:59:11 [I|app|e21e7] Parameters: {"hostname"=>"loren-maurer.vm.megafail.network", "kind"=>"provision"}
2018-10-04T19:59:11 [I|app|e21e7] Current user set to admin (admin)
2018-10-04T19:59:11 [W|app|e21e7] Action failed
SystemStackError: stack level too deep
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/attribute_set/builder.rb:33:in `key?'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/attribute_set.rb:30:in `key?'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/attribute_methods.rb:399:in `attribute_method?'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/attribute_methods/primary_key.rb:56:in `attribute_method?'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activemodel-5.1.6/lib/active_model/attribute_methods.rb:469:in `block in matched_attribute_method'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activemodel-5.1.6/lib/active_model/attribute_methods.rb:469:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activemodel-5.1.6/lib/active_model/attribute_methods.rb:469:in `detect'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activemodel-5.1.6/lib/active_model/attribute_methods.rb:469:in `matched_attribute_method'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activemodel-5.1.6/lib/active_model/attribute_methods.rb:456:in `respond_to?'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/attribute_methods.rb:220:in `respond_to?'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/core_ext/object/blank.rb:17:in `blank?'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/core_ext/object/blank.rb:24:in `present?'
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
[These three lines are repeated over and over]
[...]
2018-10-04T03:30:06 [W|app|] Creating scope :path_of. Overwriting existing method Taxonomy.path_of.
2018-10-04T03:30:08 [W|app|] Creating scope :path_of. Overwriting existing method Hostgroup.path_of.
2018-10-04T03:30:08 [W|app|] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2018-10-04T03:30:08 [W|app|] Creating scope :path_of. Overwriting existing method Hostgroup.path_of.
2018-10-04T03:30:08 [W|app|] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2018-10-04T03:30:09 [W|app|] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2018-10-04T03:30:09 [W|app|] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2018-10-04T03:30:13 [W|app|] ignoring associations organization_ids, location_ids audit definition for Container, the resource is not audited
2018-10-04T03:30:13 [W|app|] Creating scope :path_of. Overwriting existing method FactName.path_of.
2018-10-04T03:30:13 [W|app|] ignoring associations organization_ids, location_ids audit definition for Container, the resource is not audited
2018-10-04T03:30:14 [W|app|] Creating scope :path_of. Overwriting existing method FactName.path_of.
2018-10-04T03:30:14 [I|dyn|] start terminating throttle_limiter...
2018-10-04T03:30:14 [I|dyn|] start terminating client dispatcher...
2018-10-04T03:30:14 [I|dyn|] stop listening for new events...
2018-10-04T03:30:14 [I|dyn|] start terminating clock...
2018-10-04T03:30:14 [I|dyn|] start terminating throttle_limiter...
2018-10-04T03:30:14 [I|dyn|] start terminating client dispatcher...
2018-10-04T03:30:14 [I|dyn|] stop listening for new events...
2018-10-04T03:30:14 [I|dyn|] start terminating clock...
2018-10-04T03:32:49 [I|app|] Started GET "/node/katello-proxy.vm.megafail.network?format=yml" for 10.44.44.254 at 2018-10-04 03:32:49 -0400
2018-10-04T03:32:49 [I|app|42048] Processing by HostsController#externalNodes as YML
2018-10-04T03:32:49 [I|app|42048] Parameters: {"name"=>"katello-proxy.vm.megafail.network"}
2018-10-04T03:32:49 [I|app|42048] Rendering text template
2018-10-04T03:32:49 [I|app|42048] Rendered text template (0.0ms)
2018-10-04T03:32:49 [I|app|42048] Completed 200 OK in 215ms (Views: 0.4ms | ActiveRecord: 40.4ms)
2018-10-04T03:32:50 [I|app|] Started POST "/api/hosts/facts" for 10.44.44.254 at 2018-10-04 03:32:50 -0400
2018-10-04T03:32:50 [I|app|bd488] Processing by Api::V2::HostsController#facts as JSON
2018-10-04T03:32:50 [I|app|bd488] Parameters: {"facts"=>"[FILTERED]", "name"=>"katello-proxy.vm.megafail.network", "certname"=>"katello-proxy.vm.megafail.network", "apiv"=>"v2", "host"=>{"c
ertname"=>"katello-proxy.vm.megafail.network", "name"=>"katello-proxy.vm.megafail.network"}}
2018-10-04T03:32:51 [I|app|bd488] Import facts for 'katello-proxy.vm.megafail.network' completed. Added: 0, Updated: 11, Deleted 0 facts
2018-10-04T03:32:51 [I|app|bd488] Completed 201 Created in 762ms (Views: 6.1ms | ActiveRecord: 154.3ms)
2018-10-04T03:32:51 [I|app|] Started GET "/node/katello-proxy.vm.megafail.network?format=yml" for 10.44.44.254 at 2018-10-04 03:32:51 -0400
2018-10-04T03:32:51 [I|app|c94b4] Processing by HostsController#externalNodes as YML
2018-10-04T03:32:51 [I|app|c94b4] Parameters: {"name"=>"katello-proxy.vm.megafail.network"}
2018-10-04T03:32:51 [I|app|c94b4] Rendering text template
2018-10-04T03:32:51 [I|app|c94b4] Rendered text template (0.0ms)
2018-10-04T03:32:51 [I|app|c94b4] Completed 200 OK in 188ms (Views: 0.4ms | ActiveRecord: 32.4ms)
2018-10-04T03:32:52 [I|app|] Started POST "/api/config_reports" for 10.44.44.254 at 2018-10-04 03:32:52 -0400
2018-10-04T03:32:52 [I|app|ce724] Processing by Api::V2::ConfigReportsController#create as JSON
2018-10-04T03:32:52 [I|app|ce724] Parameters: {"config_report"=>"[FILTERED]", "apiv"=>"v2"}
2018-10-04T03:32:52 [I|app|ce724] Scanning report with: Foreman::PuppetReportScanner, ForemanAnsible::AnsibleReportScanner
2018-10-04T03:32:52 [I|app|ce724] Imported report for katello-proxy.vm.megafail.network in 61.2 ms, status refreshed in 31.1 ms
2018-10-04T03:32:52 [I|app|ce724] Rendering api/v2/config_reports/create.json.rabl
2018-10-04T03:32:52 [I|app|ce724] Rendered api/v2/config_reports/create.json.rabl (6.7ms)
2018-10-04T03:32:52 [I|app|ce724] Completed 201 Created in 124ms (Views: 6.9ms | ActiveRecord: 59.5ms)
2018-10-04T03:40:05 [I|app|] Started GET "/rhsm/consumers/f548e76d-f4b8-44c8-bd1e-f0d3dd15ecd6/compliance" for 10.44.44.254 at 2018-10-04 03:40:05 -0400
2018-10-04T03:40:05 [I|app|898fe] Processing by Katello::Api::Rhsm::CandlepinProxiesController#get as JSON
2018-10-04T03:40:05 [I|app|898fe] Parameters: {"id"=>"f548e76d-f4b8-44c8-bd1e-f0d3dd15ecd6"}
2018-10-04T03:40:05 [I|app|898fe] Current user set to f548e76d-f4b8-44c8-bd1e-f0d3dd15ecd6 (regular)
2018-10-04T03:40:05 [I|app|898fe] Completed 200 OK in 91ms (Views: 0.2ms | ActiveRecord: 13.0ms)
2018-10-04T03:41:57 [I|app|] Started GET "/node/katello.vm.s99.be?format=yml" for 10.42.42.10 at 2018-10-04 03:41:57 -0400
...skipping...an/production.log
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/sendfile.rb:111:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/secure_headers-5.0.5/lib/secure_headers/middleware.rb:13:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:522:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/railtie.rb:185:in `public_send'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/railtie.rb:185:in `method_missing'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:68:in `block in call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:53:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:53:in `call'
/usr/share/passenger/phusion_passenger/rack/thread_handler_extension.rb:74:in `process_request'
/usr/share/passenger/phusion_passenger/request_handler/thread_handler.rb:141:in `accept_and_process_next_request'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/rack/logger.rb:36:in `call_app'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/rack/logger.rb:26:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/request_id.rb:25:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.8.0/lib/katello/prevent_json_parsing.rb:12:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/method_override.rb:22:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/runtime.rb:22:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/executor.rb:12:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/sendfile.rb:111:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/secure_headers-5.0.5/lib/secure_headers/middleware.rb:13:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:522:in `call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/railtie.rb:185:in `public_send'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/railtie.rb:185:in `method_missing'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:68:in `block in call'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:53:in `each'
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:53:in `call'
/usr/share/passenger/phusion_passenger/rack/thread_handler_extension.rb:74:in `process_request'
/usr/share/passenger/phusion_passenger/request_handler/thread_handler.rb:141:in `accept_and_process_next_request'
/usr/share/passenger/phusion_passenger/request_handler/thread_handler.rb:109:in `main_loop'
/usr/share/passenger/phusion_passenger/request_handler.rb:455:in `block (3 levels) in start_threads'
/opt/theforeman/tfm/root/usr/share/gems/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2018-10-04T19:59:11 [I|app|e21e7] Completed 500 Internal Server Error in 233ms (ActiveRecord: 12.0ms)
2018-10-04T19:59:11 [F|app|]
2018-10-04T19:59:11 [F|app|] ArgumentError (There was no default layout for UnattendedController in #<ActionView::PathSet:0x000000000ae15438 @paths=[#<ActionView::OptimizedFileSystemResolver:0x00000000046fad20 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x46facd0 keys=2 queries=0>, @path="/usr/share/foreman/app/views">, #<ActionView::OptimizedFileSystemResolver:0x00000000047082e0 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x47082b8 keys=0 queries=0>, @path="/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_ansible-2.2.9/app/views">, #<ActionView::OptimizedFileSystemResolver:0x0000000004709d98 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x4709cf8 keys=0 queries=0>, @path="/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-1.5.6/app/views">, #<ActionView::OptimizedFileSystemResolver:0x000000000470b670 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x470b648 keys=0 queries=0>, @path="/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.8.0/app/views">, #<ActionView::OptimizedFileSystemResolver:0x000000000470c9d0 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x470c980 keys=0 queries=0>, @path="/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_docker-4.1.0/app/views">, #<ActionView::OptimizedFileSystemResolver:0x000000000470ec80 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x470ebe0 keys=0 queries=0>, @path="/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.13.4/app/views">, #<ActionView::OptimizedFileSystemResolver:0x00000000047101e8 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x47101c0 keys=0 queries=0>, @path="/opt/theforeman/tfm/root/usr/share/gems/gems/bastion-6.1.11/app/views">, #<ActionView::OptimizedFileSystemResolver:0x00000000047121c8 @pattern=":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}", @cache=#<ActionView::Resolver::Cache:0x4712178 keys=0 queries=0>, @path="/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.9/app/views">]>):
2018-10-04T19:59:11 [F|app|]
2018-10-04T19:59:11 [F|app|] app/controllers/application_controller.rb:338:in `generic_exception'
lib/middleware/telemetry.rb:9:in `call'
lib/middleware/catch_json_parse_errors.rb:8:in `call'
lib/middleware/logging_context.rb:23:in `call'
katello (3.8.0) lib/katello/prevent_json_parsing.rb:12:in `call'
    (1-1/1)