Project

General

Profile

sles_12_template_render_fail.txt

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

 
1

    
2
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
3
2018-10-04T19:59:11 [I|app|e21e7] Processing by UnattendedController#host_template as TEXT
4
2018-10-04T19:59:11 [I|app|e21e7]   Parameters: {"hostname"=>"loren-maurer.vm.megafail.network", "kind"=>"provision"}
5
2018-10-04T19:59:11 [I|app|e21e7] Current user set to admin (admin)
6
2018-10-04T19:59:11 [W|app|e21e7] Action failed
7
SystemStackError: stack level too deep
8
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/attribute_set/builder.rb:33:in `key?'
9
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/attribute_set.rb:30:in `key?'
10
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/attribute_methods.rb:399:in `attribute_method?'
11
/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?'
12
/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'
13
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activemodel-5.1.6/lib/active_model/attribute_methods.rb:469:in `each'
14
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activemodel-5.1.6/lib/active_model/attribute_methods.rb:469:in `detect'
15
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activemodel-5.1.6/lib/active_model/attribute_methods.rb:469:in `matched_attribute_method'
16
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activemodel-5.1.6/lib/active_model/attribute_methods.rb:456:in `respond_to?'
17
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/attribute_methods.rb:220:in `respond_to?'
18
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/core_ext/object/blank.rb:17:in `blank?'
19
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/core_ext/object/blank.rb:24:in `present?'
20
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
21
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
22
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
23
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
24
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
25
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
26
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
27
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
28
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
29
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
30
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
31
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
32
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
33
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
34
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
35
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
36
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
37
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
38
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
39
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
40
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
41
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
42
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
43
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
44
/usr/share/foreman/lib/foreman/renderer.rb:348:in `yast_attributes'
45
/usr/share/foreman/lib/foreman/renderer.rb:271:in `load_template_vars'
46
/usr/share/foreman/app/models/host/managed.rb:348:in `diskLayout'
47
[These three lines are repeated over and over]
48
[...]
49
2018-10-04T03:30:06 [W|app|] Creating scope :path_of. Overwriting existing method Taxonomy.path_of.
50
2018-10-04T03:30:08 [W|app|] Creating scope :path_of. Overwriting existing method Hostgroup.path_of.
51
2018-10-04T03:30:08 [W|app|] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
52
2018-10-04T03:30:08 [W|app|] Creating scope :path_of. Overwriting existing method Hostgroup.path_of.
53
2018-10-04T03:30:08 [W|app|] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
54
2018-10-04T03:30:09 [W|app|] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
55
2018-10-04T03:30:09 [W|app|] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
56
2018-10-04T03:30:13 [W|app|] ignoring associations organization_ids, location_ids audit definition for Container, the resource is not audited
57
2018-10-04T03:30:13 [W|app|] Creating scope :path_of. Overwriting existing method FactName.path_of.
58
2018-10-04T03:30:13 [W|app|] ignoring associations organization_ids, location_ids audit definition for Container, the resource is not audited
59
2018-10-04T03:30:14 [W|app|] Creating scope :path_of. Overwriting existing method FactName.path_of.
60
2018-10-04T03:30:14 [I|dyn|] start terminating throttle_limiter...
61
2018-10-04T03:30:14 [I|dyn|] start terminating client dispatcher...
62
2018-10-04T03:30:14 [I|dyn|] stop listening for new events...
63
2018-10-04T03:30:14 [I|dyn|] start terminating clock...
64
2018-10-04T03:30:14 [I|dyn|] start terminating throttle_limiter...
65
2018-10-04T03:30:14 [I|dyn|] start terminating client dispatcher...
66
2018-10-04T03:30:14 [I|dyn|] stop listening for new events...
67
2018-10-04T03:30:14 [I|dyn|] start terminating clock...
68
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
69
2018-10-04T03:32:49 [I|app|42048] Processing by HostsController#externalNodes as YML
70
2018-10-04T03:32:49 [I|app|42048]   Parameters: {"name"=>"katello-proxy.vm.megafail.network"}
71
2018-10-04T03:32:49 [I|app|42048]   Rendering text template
72
2018-10-04T03:32:49 [I|app|42048]   Rendered text template (0.0ms)
73
2018-10-04T03:32:49 [I|app|42048] Completed 200 OK in 215ms (Views: 0.4ms | ActiveRecord: 40.4ms)
74
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
75
2018-10-04T03:32:50 [I|app|bd488] Processing by Api::V2::HostsController#facts as JSON
76
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
77
ertname"=>"katello-proxy.vm.megafail.network", "name"=>"katello-proxy.vm.megafail.network"}}
78
2018-10-04T03:32:51 [I|app|bd488] Import facts for 'katello-proxy.vm.megafail.network' completed. Added: 0, Updated: 11, Deleted 0 facts
79
2018-10-04T03:32:51 [I|app|bd488] Completed 201 Created in 762ms (Views: 6.1ms | ActiveRecord: 154.3ms)
80
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
81
2018-10-04T03:32:51 [I|app|c94b4] Processing by HostsController#externalNodes as YML
82
2018-10-04T03:32:51 [I|app|c94b4]   Parameters: {"name"=>"katello-proxy.vm.megafail.network"}
83
2018-10-04T03:32:51 [I|app|c94b4]   Rendering text template
84
2018-10-04T03:32:51 [I|app|c94b4]   Rendered text template (0.0ms)
85
2018-10-04T03:32:51 [I|app|c94b4] Completed 200 OK in 188ms (Views: 0.4ms | ActiveRecord: 32.4ms)
86
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
87
2018-10-04T03:32:52 [I|app|ce724] Processing by Api::V2::ConfigReportsController#create as JSON
88
2018-10-04T03:32:52 [I|app|ce724]   Parameters: {"config_report"=>"[FILTERED]", "apiv"=>"v2"}
89
2018-10-04T03:32:52 [I|app|ce724] Scanning report with: Foreman::PuppetReportScanner, ForemanAnsible::AnsibleReportScanner
90
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
91
2018-10-04T03:32:52 [I|app|ce724]   Rendering api/v2/config_reports/create.json.rabl
92
2018-10-04T03:32:52 [I|app|ce724]   Rendered api/v2/config_reports/create.json.rabl (6.7ms)
93
2018-10-04T03:32:52 [I|app|ce724] Completed 201 Created in 124ms (Views: 6.9ms | ActiveRecord: 59.5ms)
94
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
95
2018-10-04T03:40:05 [I|app|898fe] Processing by Katello::Api::Rhsm::CandlepinProxiesController#get as JSON
96
2018-10-04T03:40:05 [I|app|898fe]   Parameters: {"id"=>"f548e76d-f4b8-44c8-bd1e-f0d3dd15ecd6"}
97
2018-10-04T03:40:05 [I|app|898fe] Current user set to f548e76d-f4b8-44c8-bd1e-f0d3dd15ecd6 (regular)
98
2018-10-04T03:40:05 [I|app|898fe] Completed 200 OK in 91ms (Views: 0.2ms | ActiveRecord: 13.0ms)
99
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
100
...skipping...an/production.log
101
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/sendfile.rb:111:in `call'
102
/opt/theforeman/tfm/root/usr/share/gems/gems/secure_headers-5.0.5/lib/secure_headers/middleware.rb:13:in `call'
103
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:522:in `call'
104
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/railtie.rb:185:in `public_send'
105
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/railtie.rb:185:in `method_missing'
106
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:68:in `block in call'
107
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:53:in `each'
108
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:53:in `call'
109
/usr/share/passenger/phusion_passenger/rack/thread_handler_extension.rb:74:in `process_request'
110
/usr/share/passenger/phusion_passenger/request_handler/thread_handler.rb:141:in `accept_and_process_next_request'
111
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
112
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/rack/logger.rb:36:in `call_app'
113
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/rack/logger.rb:26:in `call'
114
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'
115
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
116
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/request_id.rb:25:in `call'
117
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.8.0/lib/katello/prevent_json_parsing.rb:12:in `call'
118
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/method_override.rb:22:in `call'
119
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/runtime.rb:22:in `call'
120
/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'
121
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/executor.rb:12:in `call'
122
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call'
123
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/sendfile.rb:111:in `call'
124
/opt/theforeman/tfm/root/usr/share/gems/gems/secure_headers-5.0.5/lib/secure_headers/middleware.rb:13:in `call'
125
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:522:in `call'
126
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/railtie.rb:185:in `public_send'
127
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/railtie.rb:185:in `method_missing'
128
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:68:in `block in call'
129
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:53:in `each'
130
/opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:53:in `call'
131
/usr/share/passenger/phusion_passenger/rack/thread_handler_extension.rb:74:in `process_request'
132
/usr/share/passenger/phusion_passenger/request_handler/thread_handler.rb:141:in `accept_and_process_next_request'
133
/usr/share/passenger/phusion_passenger/request_handler/thread_handler.rb:109:in `main_loop'
134
/usr/share/passenger/phusion_passenger/request_handler.rb:455:in `block (3 levels) in start_threads'
135
/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'
136
2018-10-04T19:59:11 [I|app|e21e7] Completed 500 Internal Server Error in 233ms (ActiveRecord: 12.0ms)
137
2018-10-04T19:59:11 [F|app|]
138
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">]>):
139
2018-10-04T19:59:11 [F|app|]
140
2018-10-04T19:59:11 [F|app|] app/controllers/application_controller.rb:338:in `generic_exception'
141
lib/middleware/telemetry.rb:9:in `call'
142
lib/middleware/catch_json_parse_errors.rb:8:in `call'
143
lib/middleware/logging_context.rb:23:in `call'
144
katello (3.8.0) lib/katello/prevent_json_parsing.rb:12:in `call'