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
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 method
match' for nil:NilClass' error (ActionView::Template::Error): undefined methodmatch' 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:in
extract_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:inblock 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:in
each' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/fog-proxmox-0.14.0/lib/fog/proxmox/compute/models/server_config.rb:140:ininitialize_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:in
initialize' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/fog-proxmox-0.14.0/lib/fog/proxmox/compute/models/server.rb:235:innew' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/fog-proxmox-0.14.0/lib/fog/proxmox/compute/models/server.rb:235:in
initialize_config' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/fog-proxmox-0.14.0/lib/fog/proxmox/compute/models/server.rb:69:ininitialize' 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-core-2.1.0/lib/fog/core/collection.rb:88:innew' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/fog-proxmox-0.14.0/lib/fog/proxmox/compute/models/servers.rb:32:in
new' 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:innew_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:in
new_vm' 74bf188d | /usr/share/foreman/app/models/concerns/orchestration/compute.rb:37:incompute_object' 74bf188d | /usr/share/foreman/app/helpers/compute_resources_vms_helper.rb:235:in
new_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:inblock in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:182:in
instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:385:ininstrument_render_template' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:183:in
render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:inrender' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:357:in
block 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:inblock in instrument' 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/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:87:ininstrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:346:in
render_partial' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:317:inrender' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:65:in
render_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:inrender_partial' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/rendering_helper.rb:38:in
render' 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:inblock in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:182:in
instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:385:ininstrument_render_template' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:183:in
render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:inrender' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:357:in
block 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:inblock in instrument' 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/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:87:ininstrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:346:in
render_partial' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:317:inrender' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:65:in
render_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:inrender_to_object' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:22:in
render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/rendering_helper.rb:34:inblock in render' 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/helpers/rendering_helper.rb:30:inrender' 74bf188d | /usr/share/foreman/app/views/hosts/_interfaces.html.erb:50:in
block 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:inblock 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:in
with_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:incapture' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/form_helper.rb:2547:in
block 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:inblock 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:in
with_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:incapture' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/form_helper.rb:1009:in
fields_for' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/form_helper.rb:2546:infields_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:in
block 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:ineach' 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/actionview-6.0.3.7/lib/action_view/helpers/form_helper.rb:2526:infields_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:in
fields_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:inblock in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:182:in
instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:385:ininstrument_render_template' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:183:in
render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:inrender' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:357:in
block 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:inblock in instrument' 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/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:87:ininstrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:346:in
render_partial' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:317:inrender' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:65:in
render_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:inrender_to_object' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:22:in
render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/rendering_helper.rb:34:inblock in render' 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/helpers/rendering_helper.rb:30:inrender' 74bf188d | /usr/share/foreman/app/views/hosts/_interfaces_tab.html.erb:3:in
block 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:inblock 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:in
with_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:incapture' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/helpers/form_helper.rb:1009:in
fields_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:inblock in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:182:in
instrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:385:ininstrument_render_template' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:183:in
render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:inrender' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:357:in
block 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:inblock in instrument' 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/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:87:ininstrument' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:346:in
render_partial' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/partial_renderer.rb:317:inrender' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:65:in
render_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:inrender_to_object' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:117:in
block in _render_template' 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/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:in
render_to_body' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/rendering.rb:52:inrender_to_body' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/renderers.rb:142:in
render_to_body' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/abstract_controller/rendering.rb:25:inrender' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/rendering.rb:36:in
render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:44:inblock (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:in
block in ms' 74bf188d | /usr/lib/ruby/2.5.0/benchmark.rb:308:inrealtime' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/core_ext/benchmark.rb:14:in
ms' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:44:inblock in render' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:84:in
cleanup_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:incleanup_view_runtime' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:43:in
render' 74bf188d | /usr/share/foreman/app/controllers/hosts_controller.rb:167:ininterfaces' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/basic_implicit_render.rb:6:in
send_action' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/abstract_controller/base.rb:195:inprocess_action' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/rendering.rb:30:in
process_action' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/abstract_controller/callbacks.rb:42:inblock in process_action' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:112:in
block in run_callbacks' 74bf188d | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:inset_timezone' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:in
block in run_callbacks' 74bf188d | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:inclear_thread' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:in
block in run_callbacks' 74bf188d | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:inset_topbar_sweeper_controller' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:in
block in run_callbacks' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/audited-4.10.0/lib/audited/sweeper.rb:14:inaround' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:in
block in run_callbacks' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/audited-4.10.0/lib/audited/sweeper.rb:14:inaround' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:in
block in run_callbacks' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:139:inrun_callbacks' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/abstract_controller/callbacks.rb:41:in
process_action' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/rescue.rb:22:inprocess_action' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:33:in
block in process_action' 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/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:32:in
process_action' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal/params_wrapper.rb:245:inprocess_action' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activerecord-6.0.3.7/lib/active_record/railties/controller_runtime.rb:27:in
process_action' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/abstract_controller/base.rb:136:inprocess' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:39:in
process' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal.rb:190:indispatch' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_controller/metal.rb:254:in
dispatch' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:50:indispatch' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:33:in
serve' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/journey/router.rb:49:inblock in serve' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/journey/router.rb:32:in
each' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/journey/router.rb:32:inserve' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:834:in
call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/apipie-dsl-2.4.0/lib/apipie_dsl/static_dispatcher.rb:67:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/apipie-rails-0.5.19/lib/apipie/static_dispatcher.rb:66:in
call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/apipie-rails-0.5.19/lib/apipie/extractor/recorder.rb:137:incall' 74bf188d | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in
call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/apipie-rails-0.5.19/lib/apipie/middleware/checksum_in_headers.rb:27:incall' 74bf188d | /usr/share/foreman/lib/foreman/middleware/catch_json_parse_errors.rb:9:in
call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/etag.rb:27:in
call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/conditional_get.rb:40:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/head.rb:12:in
call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/http/content_security_policy.rb:18:incall' 74bf188d | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in
call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:incontext' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in
call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/cookies.rb:648:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/callbacks.rb:27:in
block in call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:101:inrun_callbacks' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/callbacks.rb:26:in
call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/actionable_exceptions.rb:18:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/debug_exceptions.rb:32:in
call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/show_exceptions.rb:33:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/railties-6.0.3.7/lib/rails/rack/logger.rb:37:in
call_app' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/railties-6.0.3.7/lib/rails/rack/logger.rb:28:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/quiet_assets.rb:13:in
call' 74bf188d | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/remote_ip.rb:81:in
call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/request_id.rb:27:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in
call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:incall' 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:in
call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/executor.rb:14:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in
call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/host_authorization.rb:76:in
call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/secure_headers-6.3.2/lib/secure_headers/middleware.rb:11:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/railties-6.0.3.7/lib/rails/engine.rb:527:in
call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/railties-6.0.3.7/lib/rails/railtie.rb:190:inpublic_send' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/railties-6.0.3.7/lib/rails/railtie.rb:190:in
method_missing' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/urlmap.rb:74:inblock in call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/urlmap.rb:58:in
each' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/rack-2.2.3/lib/rack/urlmap.rb:58:incall' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/puma-5.4.0/lib/puma/configuration.rb:249:in
call' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/puma-5.4.0/lib/puma/request.rb:77:inblock in handle_request' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/puma-5.4.0/lib/puma/thread_pool.rb:340:in
with_force_shutdown' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/puma-5.4.0/lib/puma/request.rb:76:inhandle_request' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/puma-5.4.0/lib/puma/server.rb:440:in
process_client' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/puma-5.4.0/lib/puma/thread_pool.rb:147:inblock in spawn_thread' 74bf188d | /usr/share/foreman/vendor/ruby/2.5.0/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:in
block 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: