theforeman / foreman_fog_proxmox

Foreman plugin to add Proxmox compute resource based on fog-proxmox gem
GNU General Public License v3.0
105 stars 30 forks source link

Internal server error when populating interface tab #214

Closed selund closed 2 years ago

selund commented 2 years ago

Describe the bug We have just set up a new proxmox cluster with 4 nodes. After adding the cluster to foreman we can't create new machines on any of our proxmox clusters. I've tried to remove the new cluster, but to no avail. I don't really think this is a code issue, rather that some data is reused or something. I don't know for 100% that it's a version issue. We are at version 6.4-13 of proxmox at the moment. Not sure it matters, but we can create vm's ok on our vmware clusters.
Any help to understand whats going on is appreciated

Additional context

foreman-rake errors:fetch_log request_id=74bf188d

2021-11-05T11:37:33 [I|app|74bf188d] Started POST "/hosts/interfaces" for at 2021-11-05 11:37:33 +0100 2021-11-05T11:37:33 [I|app|74bf188d] Processing by HostsController#interfaces as / 2021-11-05T11:37:33 [I|app|74bf188d] Parameters: {"utf8"=>"✓", "authenticity_token"=>"", "host"=>{"name"=>"lewis-arline", "organization_id"=>"", "location_id"=>"", "hostgroup_id"=>"", "compute_resource_id"=>"9", "compute_profile_id"=>"", "environment_id"=>"", "puppet_proxy_id"=>"", "realm_id"=>"", "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "type"=>"Nic::Managed", "mac"=>"", "identifier"=>"", "name"=>"lewis-arline", "domain_id"=>"", "subnet_id"=>"", "ip"=>"", "ip6"=>"", "managed"=>"1", "primary"=>"1", "provision"=>"1", "execution"=>"1", "virtual"=>"0", "tag"=>"", "attached_to"=>""}}, "compute_attributes"=>{"type"=>"qemu", "node_id"=>"", "start_after_create"=>"0", "pool"=>"", "config_attributes"=>{"description"=>"", "boot"=>"", "onboot"=>"0", "agent"=>"0", "kvm"=>"0", "vga"=>"std", "scsihw"=>"virtio-scsi-pci", "bios"=>"seabios", "cpu_type"=>"kvm64", "numa"=>"0", "spectre"=>"0", "pcid"=>"0", "ssbd"=>"0", "ibpb"=>"0", "virt_ssbd"=>"0", "amd_ssbd"=>"0", "amd_no_ssb"=>"0", "md_clear"=>"0", "pdpe1gb"=>"0", "hv_tlbflush"=>"0", "aes"=>"0", "hv_evmcs"=>"0", "ostype"=>"l26"}, "volumes_attributes"=>{"0"=>{"_delete"=>"", "storage_type"=>"hard_disk", "storage"=>"local", "controller"=>"virtio", "device"=>"0", "cache"=>"", "id"=>"virtio0"}, "1"=>{"id"=>"rootfs"}}}, "architecture_id"=>"", "operatingsystem_id"=>"", "provision_method"=>"build", "build"=>"1", "medium_id"=>"", "ptable_id"=>"", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"5-Users", "enabled"=>"1", "model_id"=>"", "expired_on(1i)"=>"", "expired_on(2i)"=>"", "expired_on(3i)"=>"", "comment"=>"", "overwrite"=>"false"}, "fakepassword"=>"[FILTERED]"} 2021-11-05T11:37:33 [I|app|74bf188d] Rendered nic/_base_form.html.erb (Duration: 20.9ms | Allocations: 16684) 2021-11-05T11:37:33 [I|app|74bf188d] Rendered nic/_virtual_form.html.erb (Duration: 4.1ms | Allocations: 6853) 2021-11-05T11:37:34 [I|app|74bf188d] Rendered nic/_provider_specific_form.html.erb (Duration: 193.0ms | Allocations: 59304) 2021-11-05T11:37:34 [I|app|74bf188d] Rendered nic/manageds/_managed.html.erb (Duration: 224.6ms | Allocations: 90074) 2021-11-05T11:37:34 [I|app|74bf188d] Rendered hosts/_interfaces.html.erb (Duration: 226.7ms | Allocations: 91229) 2021-11-05T11:37:34 [I|app|74bf188d] Rendered hosts/_interfaces_tab.html.erb (Duration: 227.9ms | Allocations: 91750) 2021-11-05T11:37:34 [W|app|74bf188d] undefined method match' for nil:NilClass 2021-11-05T11:37:34 [I|app|74bf188d] Backtrace for 'undefined methodmatch' for nil:NilClass' error (ActionView::Template::Error): undefined method match' for nil:NilClass 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/fog-proxmox-0.14.0/lib/fog/proxmox/helpers/disk_helper.rb:84:inextract_storage_volid_size' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/fog-proxmox-0.14.0/lib/fog/proxmox/compute/models/server_config.rb:141:in block in initialize_disks' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/fog-proxmox-0.14.0/lib/fog/proxmox/compute/models/server_config.rb:140:ineach' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/fog-proxmox-0.14.0/lib/fog/proxmox/compute/models/server_config.rb:140:in initialize_disks' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/fog-proxmox-0.14.0/lib/fog/proxmox/compute/models/server_config.rb:86:ininitialize' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/fog-proxmox-0.14.0/lib/fog/proxmox/compute/models/server.rb:235:in new' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/fog-proxmox-0.14.0/lib/fog/proxmox/compute/models/server.rb:235:ininitialize_config' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/fog-proxmox-0.14.0/lib/fog/proxmox/compute/models/server.rb:69:in initialize' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/fog-core-2.1.0/lib/fog/core/collection.rb:88:innew' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/fog-core-2.1.0/lib/fog/core/collection.rb:88:in new' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/fog-proxmox-0.14.0/lib/fog/proxmox/compute/models/servers.rb:32:innew' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/foreman_fog_proxmox-0.14.0/app/models/foreman_fog_proxmox/proxmox_vm_new.rb:186:in new_typed_vm' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/foreman_fog_proxmox-0.14.0/app/models/foreman_fog_proxmox/proxmox_vm_new.rb:162:innew_vm' 74bf188d | /usr/share/foreman/app/models/concerns/orchestration/compute.rb:37:in compute_object' 74bf188d | /usr/share/foreman/app/helpers/compute_resources_vms_helper.rb:235:innew_vm?' 74bf188d | /usr/share/foreman/app/views/nic/_provider_specific_form.html.erb:11:in _db678810bd709468f266ca126886892e' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/base.rb:274:in_run' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:185:in block in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:182:ininstrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:385:in instrument_render_template' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:183:inrender' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:357:inblock in render_partial' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:88:in block in instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:inblock in instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:ininstrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:87:in instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:346:inrender_partial' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:317:in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:65:inrender_partial_to_object' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:53:in render_partial' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/rendering_helper.rb:38:inrender' 74bf188d | /usr/share/foreman/app/views/nic/manageds/_managed.html.erb:16:in _5343d365f1c7c351a0f2bc38e714f3a0' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/base.rb:274:in_run' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:185:in block in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:182:ininstrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:385:in instrument_render_template' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:183:inrender' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:357:inblock in render_partial' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:88:in block in instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:inblock in instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:ininstrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:87:in instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:346:inrender_partial' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:317:in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:65:inrender_partial_to_object' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:27:in render_to_object' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:22:inrender' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/rendering_helper.rb:34:in block in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/base.rb:304:inin_rendering_context' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/rendering_helper.rb:30:in render' 74bf188d | /usr/share/foreman/app/views/hosts/_interfaces.html.erb:50:inblock in _0601e456b973e1b4632ce73f6a4dc6e7' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/capture_helper.rb:45:in block in capture' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/capture_helper.rb:209:inwith_output_buffer' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/capture_helper.rb:45:in capture' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/form_helper.rb:2547:inblock in fields_for_nested_model' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/capture_helper.rb:45:in block in capture' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/capture_helper.rb:209:inwith_output_buffer' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/capture_helper.rb:45:in capture' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/form_helper.rb:1009:infields_for' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/form_helper.rb:2546:in fields_for_nested_model' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/form_helper.rb:2532:inblock in fields_for_with_nested_attributes' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activerecord-6.0.3.7/lib/active_record/relation/delegation.rb:87:in each' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activerecord-6.0.3.7/lib/active_record/relation/delegation.rb:87:ineach' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/form_helper.rb:2526:in fields_for_with_nested_attributes' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/form_helper.rb:2166:infields_for' 74bf188d | /usr/share/foreman/app/views/hosts/_interfaces.html.erb:49:in _0601e456b973e1b4632ce73f6a4dc6e7' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/base.rb:274:in_run' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:185:in block in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:182:ininstrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:385:in instrument_render_template' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:183:inrender' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:357:inblock in render_partial' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:88:in block in instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:inblock in instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:ininstrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:87:in instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:346:inrender_partial' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:317:in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:65:inrender_partial_to_object' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:27:in render_to_object' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:22:inrender' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/rendering_helper.rb:34:in block in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/base.rb:304:inin_rendering_context' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/rendering_helper.rb:30:in render' 74bf188d | /usr/share/foreman/app/views/hosts/_interfaces_tab.html.erb:3:inblock in _b9ff210cbd8a9720e90fd8cb9543050a' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/capture_helper.rb:45:in block in capture' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/capture_helper.rb:209:inwith_output_buffer' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/capture_helper.rb:45:in capture' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/form_helper.rb:1009:infields_for' 74bf188d | /usr/share/foreman/app/views/hosts/_interfaces_tab.html.erb:1:in _b9ff210cbd8a9720e90fd8cb9543050a' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/base.rb:274:in_run' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:185:in block in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:182:ininstrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:385:in instrument_render_template' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:183:inrender' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:357:inblock in render_partial' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:88:in block in instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:inblock in instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:ininstrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:87:in instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:346:inrender_partial' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:317:in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:65:inrender_partial_to_object' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:27:in render_to_object' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:117:inblock in _render_template' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/base.rb:304:in in_rendering_context' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:116:in_render_template' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/streaming.rb:218:in _render_template' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:103:inrender_to_body' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/rendering.rb:52:in render_to_body' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/renderers.rb:142:inrender_to_body' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/abstract_controller/rendering.rb:25:in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/rendering.rb:36:inrender' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:44:in block (2 levels) in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/core_ext/benchmark.rb:14:inblock in ms' 74bf188d | /usr/lib/ruby/2.5.0/benchmark.rb:308:in realtime' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/core_ext/benchmark.rb:14:inms' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:44:in block in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:84:incleanup_view_runtime' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activerecord-6.0.3.7/lib/active_record/railties/controller_runtime.rb:34:in cleanup_view_runtime' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:43:inrender' 74bf188d | /usr/share/foreman/app/controllers/hosts_controller.rb:167:in interfaces' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/basic_implicit_render.rb:6:insend_action' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/abstract_controller/base.rb:195:in process_action' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/rendering.rb:30:inprocess_action' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/abstract_controller/callbacks.rb:42:in block in process_action' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:112:inblock in run_callbacks' 74bf188d | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in set_timezone' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:inblock in run_callbacks' 74bf188d | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in clear_thread' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:inblock in run_callbacks' 74bf188d | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in set_topbar_sweeper_controller' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:inblock in run_callbacks' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/audited-4.10.0/lib/audited/sweeper.rb:14:in around' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:inblock in run_callbacks' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/audited-4.10.0/lib/audited/sweeper.rb:14:in around' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:inblock in run_callbacks' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:139:in run_callbacks' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/abstract_controller/callbacks.rb:41:inprocess_action' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/rescue.rb:22:in process_action' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:33:inblock in process_action' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in block in instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:ininstrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:32:inprocess_action' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/params_wrapper.rb:245:in process_action' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activerecord-6.0.3.7/lib/active_record/railties/controller_runtime.rb:27:inprocess_action' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/abstract_controller/base.rb:136:in process' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:39:inprocess' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal.rb:190:in dispatch' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal.rb:254:indispatch' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:50:in dispatch' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:33:inserve' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/journey/router.rb:49:in block in serve' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/journey/router.rb:32:ineach' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/journey/router.rb:32:in serve' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:834:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/apipie-dsl-2.4.0/lib/apipie_dsl/static_dispatcher.rb:67:in call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/apipie-rails-0.5.19/lib/apipie/static_dispatcher.rb:66:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/apipie-rails-0.5.19/lib/apipie/extractor/recorder.rb:137:in call' 74bf188d | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/apipie-rails-0.5.19/lib/apipie/middleware/checksum_in_headers.rb:27:in call' 74bf188d | /usr/share/foreman/lib/foreman/middleware/catch_json_parse_errors.rb:9:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/etag.rb:27:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/conditional_get.rb:40:in call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/head.rb:12:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/http/content_security_policy.rb:18:in call' 74bf188d | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in context' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/cookies.rb:648:in call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/callbacks.rb:27:inblock in call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:101:in run_callbacks' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/callbacks.rb:26:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/debug_exceptions.rb:32:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/show_exceptions.rb:33:in call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/railties-6.0.3.7/lib/rails/rack/logger.rb:37:incall_app' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/railties-6.0.3.7/lib/rails/rack/logger.rb:28:in call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/quiet_assets.rb:13:incall' 74bf188d | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/remote_ip.rb:81:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/request_id.rb:27:in call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/cache/strategy/local_cache_middleware.rb:29:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/executor.rb:14:in call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/host_authorization.rb:76:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/secure_headers-6.3.2/lib/secure_headers/middleware.rb:11:in call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/railties-6.0.3.7/lib/rails/engine.rb:527:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/railties-6.0.3.7/lib/rails/railtie.rb:190:in public_send' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/railties-6.0.3.7/lib/rails/railtie.rb:190:inmethod_missing' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/urlmap.rb:74:in block in call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/urlmap.rb:58:ineach' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/urlmap.rb:58:in call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/puma-5.4.0/lib/puma/configuration.rb:249:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/puma-5.4.0/lib/puma/request.rb:77:in block in handle_request' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/puma-5.4.0/lib/puma/thread_pool.rb:340:inwith_force_shutdown' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/puma-5.4.0/lib/puma/request.rb:76:in handle_request' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/puma-5.4.0/lib/puma/server.rb:440:inprocess_client' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/puma-5.4.0/lib/puma/thread_pool.rb:147:in block in spawn_thread' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:inblock in create_with_logging_context' 2021-11-05T11:37:34 [I|app|74bf188d] Rendering common/500.html.erb 2021-11-05T11:37:34 [I|app|74bf188d] Rendered common/500.html.erb (Duration: 2.6ms | Allocations: 1337) 2021-11-05T11:37:34 [I|app|74bf188d] Completed 500 Internal Server Error in 283ms (Views: 4.5ms | ActiveRecord: 4.2ms | Allocations: 120562)

Foreman version: 2.5.3 Plugins:

selund commented 2 years ago

Realized this is a duplicate of 207