Latest Foreman release crashes when trying to create libvirt host/VM

Problem:
Create Host fails with:
Oops, we’re sorry but something went wrong wrong number of arguments (given 2, expected 1)

Expected outcome:
Creates a new host

Foreman and Proxy versions:
2.2.0

Foreman and Proxy plugin versions:
|Name|Description|Author|Version|
|foreman_ansible|Ansible integration with Foreman|Daniel Lobato Garcia|6.0.0|
|foreman_bootdisk|Plugin for Foreman that creates iPXE-based boot disks to provision hosts without the need for PXE infrastructure.|Dominic Cleal|17.0.2|
|foreman_openscap|Foreman plug-in for managing security compliance reports|slukasik@redhat.com|4.0.2|
|foreman_remote_execution|A plugin bringing remote execution to the Foreman, completing the config management functionality with remote management functionality.|Foreman Remote Execution team|4.1.0|
|foreman_snapshot_management|Foreman-plugin to manage snapshots in a virtual-hardware environments.|ATIX AG|1.7.1|
|katello|Katello adds Content and Subscription Management to Foreman. For this it relies on Candlepin and Pulp.|N/A|3.17.0.rc2.2|

Distribution and version:
CentOS Linux release 7.8.2003 (Core)

Other relevant data:

# foreman-rake errors:fetch_log request_id=7ca8b69c
Rubocop not loaded.
2020-11-02T09:46:26 [I|app|7ca8b69c] Started POST "/hosts" for 127.0.0.1 at 2020-11-02 09:46:26 +0100
2020-11-02T09:46:26 [I|app|7ca8b69c] Processing by HostsController#create as */*
2020-11-02T09:46:26 [I|app|7ca8b69c]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"3U+nvB43hR34MVL8sqAuqi8O2YwmqG+f8SLXklsZb4AspJuGmIpKElGF2k5BLdd1NvAEXdmOAX8BcUvW+7VvUw==", "host"=>{"name"=>"cesar-ketterer", "organization_id"=>"1", "location_id"=>"2", "hostgroup_id"=>"5", "compute_resource_id"=>"1", "compute_profile_id"=>"1", "content_facet_attributes"=>{"lifecycle_environment_id"=>"3", "content_view_id"=>"4", "content_source_id"=>"1", "kickstart_repository_id"=>"21"}, "environment_id"=>"1", "puppet_proxy_id"=>"1", "puppet_ca_proxy_id"=>"1", "openscap_proxy_id"=>"1", "ansible_role_ids"=>[""], "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "type"=>"Nic::Managed", "identifier"=>"", "name"=>"cesar-ketterer", "domain_id"=>"1", "subnet_id"=>"1", "ip"=>"", "ip6"=>"", "managed"=>"1", "primary"=>"1", "provision"=>"1", "execution"=>"1", "virtual"=>"0", "tag"=>"", "attached_to"=>"", "compute_attributes"=>{"type"=>"bridge", "bridge"=>"br0", "model"=>"virtio"}}}, "compute_attributes"=>{"cpus"=>"1", "cpu_mode"=>"default", "memory"=>"2147483648", "start"=>"1", "volumes_attributes"=>{"0"=>{"_delete"=>"", "pool_name"=>"default", "capacity"=>"10G", "allocation"=>"0G", "format_type"=>"raw"}}}, "architecture_id"=>"1", "operatingsystem_id"=>"4", "provision_method"=>"build", "build"=>"1", "medium_id"=>"", "ptable_id"=>"118", "pxe_loader"=>"PXELinux BIOS", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"4-Users", "enabled"=>"1", "model_id"=>"", "comment"=>"", "overwrite"=>"false"}, "media_selector"=>"synced_content"}
2020-11-02T09:46:26 [I|app|7ca8b69c] Adding Compute instance for cesar-ketterer.persephone.biz
2020-11-02T09:46:27 [I|app|7ca8b69c] Deploying TFTP PXELinux configuration for cesar-ketterer.persephone.biz
2020-11-02T09:46:27 [W|tem|7ca8b69c] Template helper dns_lookup failed: DNS result has no information for foreman.persephone.biz (timeout set to [5, 10, 15, 20])
2020-11-02T09:46:27 [W|app|7ca8b69c] Unable to render PXEGrub2 template 'Kickstart default PXEGrub2': DNS result has no information for foreman.persephone.biz
2020-11-02T09:46:27 [I|app|7ca8b69c] Backtrace for 'Unable to render PXEGrub2 template 'Kickstart default PXEGrub2': DNS result has no information for foreman.persephone.biz' error (Resolv::ResolvError): DNS result has no information for foreman.persephone.biz
2020-11-02T09:46:27 [I|app|7ca8b69c] Skipping TFTP PXEGrub2 configuration for cesar-ketterer.persephone.biz
2020-11-02T09:46:27 [I|app|7ca8b69c] Deploying TFTP PXEGrub configuration for cesar-ketterer.persephone.biz
2020-11-02T09:46:27 [I|app|7ca8b69c] Deploying TFTP iPXE configuration for cesar-ketterer.persephone.biz
2020-11-02T09:46:27 [I|app|7ca8b69c] Fetching required TFTP boot files for cesar-ketterer.persephone.biz
2020-11-02T09:46:27 [I|app|7ca8b69c] Powering up Compute instance for cesar-ketterer.persephone.biz
2020-11-02T09:46:28 [W|app|7ca8b69c] Rolling back due to a problem: []
2020-11-02T09:46:28 [I|app|7ca8b69c] Powering down Compute instance for cesar-ketterer.persephone.biz
2020-11-02T09:46:28 [I|app|7ca8b69c] Delete the TFTP configuration for cesar-ketterer.persephone.biz
2020-11-02T09:46:28 [I|app|7ca8b69c] Delete the TFTP configuration for cesar-ketterer.persephone.biz
2020-11-02T09:46:28 [I|app|7ca8b69c] Delete the TFTP configuration for cesar-ketterer.persephone.biz
2020-11-02T09:46:28 [I|app|7ca8b69c] Delete the TFTP configuration for cesar-ketterer.persephone.biz
2020-11-02T09:46:28 [I|app|7ca8b69c] Removing Compute instance for cesar-ketterer.persephone.biz
2020-11-02T09:46:28 [I|app|7ca8b69c] Processed 8 tasks from queue 'Host::Managed Main', completed 0/8
2020-11-02T09:46:28 [E|app|7ca8b69c] Task 'Set up compute instance cesar-ketterer.persephone.biz' *rollbacked*
2020-11-02T09:46:28 [E|app|7ca8b69c] Task 'Query instance details for cesar-ketterer.persephone.biz' *rollbacked*
2020-11-02T09:46:28 [E|app|7ca8b69c] Task 'Deploy TFTP PXELinux config for cesar-ketterer.persephone.biz' *rollbacked*
2020-11-02T09:46:28 [E|app|7ca8b69c] Task 'Deploy TFTP PXEGrub2 config for cesar-ketterer.persephone.biz' *rollbacked*
2020-11-02T09:46:28 [E|app|7ca8b69c] Task 'Deploy TFTP PXEGrub config for cesar-ketterer.persephone.biz' *rollbacked*
2020-11-02T09:46:28 [E|app|7ca8b69c] Task 'Deploy TFTP iPXE config for cesar-ketterer.persephone.biz' *rollbacked*
2020-11-02T09:46:28 [E|app|7ca8b69c] Task 'Fetch TFTP boot files for cesar-ketterer.persephone.biz' *rollbacked*
2020-11-02T09:46:28 [E|app|7ca8b69c] Task 'Power up compute instance cesar-ketterer.persephone.biz' *rollbacked*
2020-11-02T09:46:28 [E|app|7ca8b69c] Failed to save: Unable to render PXEGrub2 template 'Kickstart default PXEGrub2': DNS result has no information for foreman.persephone.biz
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendering hosts/new.html.erb within layouts/application
2020-11-02T09:46:28 [I|app|7ca8b69c] Deface: [WARNING] No :original defined for 'add_execution_interface_js', you should change its definition to include:
2020-11-02T09:46:28 [I|app|7ca8b69c] Deface: [WARNING] No :original defined for 'ansible_roles_tab', you should change its definition to include:
2020-11-02T09:46:28 [I|app|7ca8b69c] Deface: [WARNING] No :original defined for 'ansible_roles_tab_content', you should change its definition to include:
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendered hosts/_progress.html.erb (Duration: 1.3ms | Allocations: 537)
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.17.0.rc2.2/app/views/overrides/activation_keys/_host_environment_select.html.erb (Duration: 16.9ms | Allocations: 6197)
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendered hosts/puppet/_main_tab_fields.html.erb (Duration: 6.7ms | Allocations: 2889)
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendered collection of puppetclasses/_selectedClasses.html.erb [0 times] (Duration: 0.0ms | Allocations: 3)
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendered collection of puppetclasses/_classes_in_groups.html.erb [0 times] (Duration: 0.0ms | Allocations: 3)
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendered puppetclasses/_classes.html.erb (Duration: 7.8ms | Allocations: 8861)
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendered puppetclasses/_class_selection.html.erb (Duration: 43.4ms | Allocations: 29818)
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendered hosts/puppet/_puppet_classes_tab.html.erb (Duration: 44.4ms | Allocations: 30228)
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendered nic/_base_form.html.erb (Duration: 72.4ms | Allocations: 30233)
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendered nic/_virtual_form.html.erb (Duration: 8.0ms | Allocations: 7397)
2020-11-02T09:46:28 [W|app|7ca8b69c] Failed retrieving libvirt vm by uuid 958b8788-86e8-48be-b280-58eea9313e03
2020-11-02T09:46:28 [I|app|7ca8b69c] Backtrace for 'Failed retrieving libvirt vm by uuid 958b8788-86e8-48be-b280-58eea9313e03' error (Libvirt::RetrieveError): Call to virDomainLookupByUUID failed: Domain not found: no domain with matching uuid '958b8788-86e8-48be-b280-58eea9313e03'
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered compute_resources_vms/form/libvirt/_network.html.erb (Duration: 29.3ms | Allocations: 7820)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered nic/_provider_specific_form.html.erb (Duration: 34.5ms | Allocations: 14372)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered nic/manageds/_managed.html.erb (Duration: 123.8ms | Allocations: 65111)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered nic/_base_form.html.erb (Duration: 34.9ms | Allocations: 26419)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered nic/_virtual_form.html.erb (Duration: 4.1ms | Allocations: 6988)
2020-11-02T09:46:29 [W|app|7ca8b69c] Failed retrieving libvirt vm by uuid 958b8788-86e8-48be-b280-58eea9313e03
2020-11-02T09:46:29 [I|app|7ca8b69c] Backtrace for 'Failed retrieving libvirt vm by uuid 958b8788-86e8-48be-b280-58eea9313e03' error (Libvirt::RetrieveError): Call to virDomainLookupByUUID failed: Domain not found: no domain with matching uuid '958b8788-86e8-48be-b280-58eea9313e03'
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered compute_resources_vms/form/libvirt/_network.html.erb (Duration: 23.7ms | Allocations: 7418)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered nic/_provider_specific_form.html.erb (Duration: 27.6ms | Allocations: 13967)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered nic/manageds/_managed.html.erb (Duration: 74.0ms | Allocations: 60285)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered hosts/_interfaces.html.erb (Duration: 202.4ms | Allocations: 127543)
2020-11-02T09:46:29 [W|app|7ca8b69c] Failed retrieving libvirt vm by uuid 958b8788-86e8-48be-b280-58eea9313e03
2020-11-02T09:46:29 [I|app|7ca8b69c] Backtrace for 'Failed retrieving libvirt vm by uuid 958b8788-86e8-48be-b280-58eea9313e03' error (Libvirt::RetrieveError): Call to virDomainLookupByUUID failed: Domain not found: no domain with matching uuid '958b8788-86e8-48be-b280-58eea9313e03'
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered hosts/_compute.html.erb (Duration: 2.9ms | Allocations: 1220)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered common/os_selection/_architecture.html.erb (Duration: 7.1ms | Allocations: 7684)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_bootdisk-17.0.2/app/views/hosts/provision_method/bootdisk/_form.html.erb (Duration: 0.9ms | Allocations: 284)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered common/os_selection/_operatingsystem.html.erb (Duration: 7.8ms | Allocations: 8236)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered hosts/provision_method/build/_form.html.erb (Duration: 9.1ms | Allocations: 9032)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered hosts/_operating_system.html.erb (Duration: 23.1ms | Allocations: 20161)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered hosts/_unattended.html.erb (Duration: 27.6ms | Allocations: 22161)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered hosts/_form.html.erb (Duration: 372.2ms | Allocations: 223715)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered hosts/new.html.erb within layouts/application (Duration: 387.0ms | Allocations: 233635)
2020-11-02T09:46:29 [W|app|7ca8b69c] wrong number of arguments (given 2, expected 1)
2020-11-02T09:46:29 [I|app|7ca8b69c] Backtrace for 'wrong number of arguments (given 2, expected 1)' error (ActionView::Template::Error): wrong number of arguments (given 2, expected 1)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendering common/500.html.erb
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered common/500.html.erb (Duration: 5.1ms | Allocations: 7083)
2020-11-02T09:46:29 [I|app|7ca8b69c] Completed 500 Internal Server Error in 2895ms (Views: 5.6ms | ActiveRecord: 79.6ms | Allocations: 858643)

Foreman version: 2.2.0
Plugins:
 - foreman-tasks 3.0.0
 - foreman_ansible 6.0.0
 - foreman_bootdisk 17.0.2
 - foreman_openscap 4.0.2
 - foreman_remote_execution 4.1.0
 - foreman_snapshot_management 1.7.1
 - katello 3.17.0.rc2.2
[root@foreman ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 52:54:00:08:d0:38 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.99/24 brd 192.168.0.255 scope global noprefixroute eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::5054:ff:fe08:d038/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
[root@foreman ~]# cat /etc/redhat-release
CentOS Linux release 7.8.2003 (Core)
[root@foreman ~]# foreman-rake errors:fetch_log request_id=7ca8b69c
Rubocop not loaded.
2020-11-02T09:46:26 [I|app|7ca8b69c] Started POST "/hosts" for 127.0.0.1 at 2020-11-02 09:46:26 +0100
2020-11-02T09:46:26 [I|app|7ca8b69c] Processing by HostsController#create as */*
2020-11-02T09:46:26 [I|app|7ca8b69c]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"3U+nvB43hR34MVL8sqAuqi8O2YwmqG+f8SLXklsZb4AspJuGmIpKElGF2k5BLdd1NvAEXdmOAX8BcUvW+7VvUw==", "host"=>{"name"=>"cesar-ketterer", "organization_id"=>"1", "location_id"=>"2", "hostgroup_id"=>"5", "compute_resource_id"=>"1", "compute_profile_id"=>"1", "content_facet_attributes"=>{"lifecycle_environment_id"=>"3", "content_view_id"=>"4", "content_source_id"=>"1", "kickstart_repository_id"=>"21"}, "environment_id"=>"1", "puppet_proxy_id"=>"1", "puppet_ca_proxy_id"=>"1", "openscap_proxy_id"=>"1", "ansible_role_ids"=>[""], "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "type"=>"Nic::Managed", "identifier"=>"", "name"=>"cesar-ketterer", "domain_id"=>"1", "subnet_id"=>"1", "ip"=>"", "ip6"=>"", "managed"=>"1", "primary"=>"1", "provision"=>"1", "execution"=>"1", "virtual"=>"0", "tag"=>"", "attached_to"=>"", "compute_attributes"=>{"type"=>"bridge", "bridge"=>"br0", "model"=>"virtio"}}}, "compute_attributes"=>{"cpus"=>"1", "cpu_mode"=>"default", "memory"=>"2147483648", "start"=>"1", "volumes_attributes"=>{"0"=>{"_delete"=>"", "pool_name"=>"default", "capacity"=>"10G", "allocation"=>"0G", "format_type"=>"raw"}}}, "architecture_id"=>"1", "operatingsystem_id"=>"4", "provision_method"=>"build", "build"=>"1", "medium_id"=>"", "ptable_id"=>"118", "pxe_loader"=>"PXELinux BIOS", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"4-Users", "enabled"=>"1", "model_id"=>"", "comment"=>"", "overwrite"=>"false"}, "media_selector"=>"synced_content"}
2020-11-02T09:46:26 [I|app|7ca8b69c] Adding Compute instance for cesar-ketterer.persephone.biz
2020-11-02T09:46:27 [I|app|7ca8b69c] Deploying TFTP PXELinux configuration for cesar-ketterer.persephone.biz
2020-11-02T09:46:27 [W|tem|7ca8b69c] Template helper dns_lookup failed: DNS result has no information for foreman.persephone.biz (timeout set to [5, 10, 15, 20])
2020-11-02T09:46:27 [W|app|7ca8b69c] Unable to render PXEGrub2 template 'Kickstart default PXEGrub2': DNS result has no information for foreman.persephone.biz
2020-11-02T09:46:27 [I|app|7ca8b69c] Backtrace for 'Unable to render PXEGrub2 template 'Kickstart default PXEGrub2': DNS result has no information for foreman.persephone.biz' error (Resolv::ResolvError): DNS result has no information for foreman.persephone.biz
2020-11-02T09:46:27 [I|app|7ca8b69c] Skipping TFTP PXEGrub2 configuration for cesar-ketterer.persephone.biz
2020-11-02T09:46:27 [I|app|7ca8b69c] Deploying TFTP PXEGrub configuration for cesar-ketterer.persephone.biz
2020-11-02T09:46:27 [I|app|7ca8b69c] Deploying TFTP iPXE configuration for cesar-ketterer.persephone.biz
2020-11-02T09:46:27 [I|app|7ca8b69c] Fetching required TFTP boot files for cesar-ketterer.persephone.biz
2020-11-02T09:46:27 [I|app|7ca8b69c] Powering up Compute instance for cesar-ketterer.persephone.biz
2020-11-02T09:46:28 [W|app|7ca8b69c] Rolling back due to a problem: []
2020-11-02T09:46:28 [I|app|7ca8b69c] Powering down Compute instance for cesar-ketterer.persephone.biz
2020-11-02T09:46:28 [I|app|7ca8b69c] Delete the TFTP configuration for cesar-ketterer.persephone.biz
2020-11-02T09:46:28 [I|app|7ca8b69c] Delete the TFTP configuration for cesar-ketterer.persephone.biz
2020-11-02T09:46:28 [I|app|7ca8b69c] Delete the TFTP configuration for cesar-ketterer.persephone.biz
2020-11-02T09:46:28 [I|app|7ca8b69c] Delete the TFTP configuration for cesar-ketterer.persephone.biz
2020-11-02T09:46:28 [I|app|7ca8b69c] Removing Compute instance for cesar-ketterer.persephone.biz
2020-11-02T09:46:28 [I|app|7ca8b69c] Processed 8 tasks from queue 'Host::Managed Main', completed 0/8
2020-11-02T09:46:28 [E|app|7ca8b69c] Task 'Set up compute instance cesar-ketterer.persephone.biz' *rollbacked*
2020-11-02T09:46:28 [E|app|7ca8b69c] Task 'Query instance details for cesar-ketterer.persephone.biz' *rollbacked*
2020-11-02T09:46:28 [E|app|7ca8b69c] Task 'Deploy TFTP PXELinux config for cesar-ketterer.persephone.biz' *rollbacked*
2020-11-02T09:46:28 [E|app|7ca8b69c] Task 'Deploy TFTP PXEGrub2 config for cesar-ketterer.persephone.biz' *rollbacked*
2020-11-02T09:46:28 [E|app|7ca8b69c] Task 'Deploy TFTP PXEGrub config for cesar-ketterer.persephone.biz' *rollbacked*
2020-11-02T09:46:28 [E|app|7ca8b69c] Task 'Deploy TFTP iPXE config for cesar-ketterer.persephone.biz' *rollbacked*
2020-11-02T09:46:28 [E|app|7ca8b69c] Task 'Fetch TFTP boot files for cesar-ketterer.persephone.biz' *rollbacked*
2020-11-02T09:46:28 [E|app|7ca8b69c] Task 'Power up compute instance cesar-ketterer.persephone.biz' *rollbacked*
2020-11-02T09:46:28 [E|app|7ca8b69c] Failed to save: Unable to render PXEGrub2 template 'Kickstart default PXEGrub2': DNS result has no information for foreman.persephone.biz
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendering hosts/new.html.erb within layouts/application
2020-11-02T09:46:28 [I|app|7ca8b69c] Deface: [WARNING] No :original defined for 'add_execution_interface_js', you should change its definition to include:
2020-11-02T09:46:28 [I|app|7ca8b69c] Deface: [WARNING] No :original defined for 'ansible_roles_tab', you should change its definition to include:
2020-11-02T09:46:28 [I|app|7ca8b69c] Deface: [WARNING] No :original defined for 'ansible_roles_tab_content', you should change its definition to include:
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendered hosts/_progress.html.erb (Duration: 1.3ms | Allocations: 537)
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.17.0.rc2.2/app/views/overrides/activation_keys/_host_environment_select.html.erb (Duration: 16.9ms | Allocations: 6197)
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendered hosts/puppet/_main_tab_fields.html.erb (Duration: 6.7ms | Allocations: 2889)
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendered collection of puppetclasses/_selectedClasses.html.erb [0 times] (Duration: 0.0ms | Allocations: 3)
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendered collection of puppetclasses/_classes_in_groups.html.erb [0 times] (Duration: 0.0ms | Allocations: 3)
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendered puppetclasses/_classes.html.erb (Duration: 7.8ms | Allocations: 8861)
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendered puppetclasses/_class_selection.html.erb (Duration: 43.4ms | Allocations: 29818)
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendered hosts/puppet/_puppet_classes_tab.html.erb (Duration: 44.4ms | Allocations: 30228)
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendered nic/_base_form.html.erb (Duration: 72.4ms | Allocations: 30233)
2020-11-02T09:46:28 [I|app|7ca8b69c]   Rendered nic/_virtual_form.html.erb (Duration: 8.0ms | Allocations: 7397)
2020-11-02T09:46:28 [W|app|7ca8b69c] Failed retrieving libvirt vm by uuid 958b8788-86e8-48be-b280-58eea9313e03
2020-11-02T09:46:28 [I|app|7ca8b69c] Backtrace for 'Failed retrieving libvirt vm by uuid 958b8788-86e8-48be-b280-58eea9313e03' error (Libvirt::RetrieveError): Call to virDomainLookupByUUID failed: Domain not found: no domain with matching uuid '958b8788-86e8-48be-b280-58eea9313e03'
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered compute_resources_vms/form/libvirt/_network.html.erb (Duration: 29.3ms | Allocations: 7820)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered nic/_provider_specific_form.html.erb (Duration: 34.5ms | Allocations: 14372)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered nic/manageds/_managed.html.erb (Duration: 123.8ms | Allocations: 65111)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered nic/_base_form.html.erb (Duration: 34.9ms | Allocations: 26419)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered nic/_virtual_form.html.erb (Duration: 4.1ms | Allocations: 6988)
2020-11-02T09:46:29 [W|app|7ca8b69c] Failed retrieving libvirt vm by uuid 958b8788-86e8-48be-b280-58eea9313e03
2020-11-02T09:46:29 [I|app|7ca8b69c] Backtrace for 'Failed retrieving libvirt vm by uuid 958b8788-86e8-48be-b280-58eea9313e03' error (Libvirt::RetrieveError): Call to virDomainLookupByUUID failed: Domain not found: no domain with matching uuid '958b8788-86e8-48be-b280-58eea9313e03'
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered compute_resources_vms/form/libvirt/_network.html.erb (Duration: 23.7ms | Allocations: 7418)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered nic/_provider_specific_form.html.erb (Duration: 27.6ms | Allocations: 13967)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered nic/manageds/_managed.html.erb (Duration: 74.0ms | Allocations: 60285)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered hosts/_interfaces.html.erb (Duration: 202.4ms | Allocations: 127543)
2020-11-02T09:46:29 [W|app|7ca8b69c] Failed retrieving libvirt vm by uuid 958b8788-86e8-48be-b280-58eea9313e03
2020-11-02T09:46:29 [I|app|7ca8b69c] Backtrace for 'Failed retrieving libvirt vm by uuid 958b8788-86e8-48be-b280-58eea9313e03' error (Libvirt::RetrieveError): Call to virDomainLookupByUUID failed: Domain not found: no domain with matching uuid '958b8788-86e8-48be-b280-58eea9313e03'
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered hosts/_compute.html.erb (Duration: 2.9ms | Allocations: 1220)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered common/os_selection/_architecture.html.erb (Duration: 7.1ms | Allocations: 7684)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_bootdisk-17.0.2/app/views/hosts/provision_method/bootdisk/_form.html.erb (Duration: 0.9ms | Allocations: 284)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered common/os_selection/_operatingsystem.html.erb (Duration: 7.8ms | Allocations: 8236)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered hosts/provision_method/build/_form.html.erb (Duration: 9.1ms | Allocations: 9032)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered hosts/_operating_system.html.erb (Duration: 23.1ms | Allocations: 20161)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered hosts/_unattended.html.erb (Duration: 27.6ms | Allocations: 22161)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered hosts/_form.html.erb (Duration: 372.2ms | Allocations: 223715)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered hosts/new.html.erb within layouts/application (Duration: 387.0ms | Allocations: 233635)
2020-11-02T09:46:29 [W|app|7ca8b69c] wrong number of arguments (given 2, expected 1)
2020-11-02T09:46:29 [I|app|7ca8b69c] Backtrace for 'wrong number of arguments (given 2, expected 1)' error (ActionView::Template::Error): wrong number of arguments (given 2, expected 1)
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendering common/500.html.erb
2020-11-02T09:46:29 [I|app|7ca8b69c]   Rendered common/500.html.erb (Duration: 5.1ms | Allocations: 7083)
2020-11-02T09:46:29 [I|app|7ca8b69c] Completed 500 Internal Server Error in 2895ms (Views: 5.6ms | ActiveRecord: 79.6ms | Allocations: 858643)

Foreman version: 2.2.0
Plugins:
 - foreman-tasks 3.0.0
 - foreman_ansible 6.0.0
 - foreman_bootdisk 17.0.2
 - foreman_openscap 4.0.2
 - foreman_remote_execution 4.1.0
 - foreman_snapshot_management 1.7.1
 - katello 3.17.0.rc2.2

Can you please modify your logging layout (in /etc/foreman/settings.yaml) to multiline_request_pattern instead of multiline_pattern, restart foreman and re-run the failing request? that will allow us to see the full stacktrace using foreman-rake errors:fetch_log.

The first thing I notice is that once I select a Host-Group the interface errors with: Error loading interfaces information: Internal Server Error

If I then change from libvirt to physical and back I can then edit the interface and create the host.
The source of the error seems to be in the Host-Group?

# foreman-rake errors:fetch_log request_id=6238cfd7
Rubocop not loaded.
2020-11-02T11:05:36 [I|app|6238cfd7] Started GET "/hostgroups/5-Centos-8/edit" for 127.0.0.1 at 2020-11-02 11:05:36 +0100
2020-11-02T11:05:36 [I|app|6238cfd7] Processing by HostgroupsController#edit as HTML
2020-11-02T11:05:36 [I|app|6238cfd7]   Parameters: {"id"=>"5-Centos-8"}
2020-11-02T11:05:36 [I|app|6238cfd7]   Rendering hostgroups/edit.html.erb within layouts/application
2020-11-02T11:05:36 [I|app|6238cfd7] Deface: [WARNING] No :original defined for 'add_activation_keys_tab', you should change its definition to include:
 6238cfd7 |  :original => 'aefc8e355300ccc5af0592fb2e7c1e5eb7a2ba6d'
2020-11-02T11:05:36 [I|app|6238cfd7] Deface: [WARNING] No :original defined for 'add_activation_keys_tab_pane', you should change its definition to include:
 6238cfd7 |  :original => 'ce4076956541552b74e2f8cbca1656e439822d95'
2020-11-02T11:05:36 [I|app|6238cfd7] Deface: [WARNING] No :original defined for 'hostgroups_update_environments_select', you should change its definition to include:
 6238cfd7 |  :original => 'b1a6b4d9ceb570622b00a87e04a4dd153371f31f'
2020-11-02T11:05:36 [I|app|6238cfd7] Deface: [WARNING] No :original defined for 'hostgroup_ansible_roles_tab', you should change its definition to include:
 6238cfd7 |  :original => 'a428ce0f87a47c79e5b57992242203dce92baf92'
2020-11-02T11:05:36 [I|app|6238cfd7] Deface: [WARNING] No :original defined for 'hostgroup_ansible_roles_tab_content', you should change its definition to include:
 6238cfd7 |  :original => '5b628c12586358ac8437ac0cb5dbc4011fd7bfce'
2020-11-02T11:05:36 [I|app|6238cfd7]   Rendered collection of puppetclasses/_selectedClasses.html.erb [0 times] (Duration: 0.0ms | Allocations: 3)
2020-11-02T11:05:36 [I|app|6238cfd7]   Rendered collection of puppetclasses/_classes_in_groups.html.erb [0 times] (Duration: 0.0ms | Allocations: 3)
2020-11-02T11:05:36 [I|app|6238cfd7]   Rendered puppetclasses/_classes.html.erb (Duration: 4.0ms | Allocations: 3397)
2020-11-02T11:05:36 [I|app|6238cfd7]   Rendered puppetclasses/_class_selection.html.erb (Duration: 26.4ms | Allocations: 13695)
2020-11-02T11:05:36 [I|app|6238cfd7]   Rendered common/os_selection/_architecture.html.erb (Duration: 8.4ms | Allocations: 7778)
2020-11-02T11:05:36 [I|app|6238cfd7]   Rendered common/os_selection/_operatingsystem.html.erb (Duration: 18.7ms | Allocations: 12505)
2020-11-02T11:05:36 [I|app|6238cfd7]   Rendered common/os_selection/_initial.html.erb (Duration: 29.7ms | Allocations: 21421)
2020-11-02T11:05:36 [I|app|6238cfd7]   Rendered hostgroups/_form.html.erb (Duration: 148.8ms | Allocations: 78185)
2020-11-02T11:05:36 [I|app|6238cfd7]   Rendered hostgroups/edit.html.erb within layouts/application (Duration: 167.1ms | Allocations: 94610)
2020-11-02T11:05:36 [W|app|6238cfd7] wrong number of arguments (given 2, expected 1)
2020-11-02T11:05:36 [I|app|6238cfd7] Backtrace for 'wrong number of arguments (given 2, expected 1)' error (ActionView::Template::Error): wrong number of arguments (given 2, expected 1)
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-4.0.2/app/models/concerns/foreman_openscap/hostgroup_extensions.rb:31:in `inherited_ancestry_attribute'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.17.0.rc2.2/app/models/katello/concerns/hostgroup_extensions.rb:74:in `inherited_lifecycle_environment_id'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.17.0.rc2.2/app/helpers/katello/hosts_and_hostgroups_helper.rb:208:in `kickstart_repository_options'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.17.0.rc2.2/app/helpers/katello/hosts_and_hostgroups_helper.rb:37:in `kickstart_repository_id'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.17.0.rc2.2/app/helpers/katello/hosts_and_hostgroups_helper.rb:27:in `use_install_media'
 6238cfd7 | /usr/share/foreman/app/views/common/os_selection/_operatingsystem.html.erb:2:in `block in _9f6089ab5c21181f4e7fa496cfe03f76'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/helpers/capture_helper.rb:45:in `block in capture'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/helpers/capture_helper.rb:209:in `with_output_buffer'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/helpers/capture_helper.rb:45:in `capture'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/helpers/form_helper.rb:1009:in `fields_for'
 6238cfd7 | /usr/share/foreman/app/views/common/os_selection/_operatingsystem.html.erb:1:in `_9f6089ab5c21181f4e7fa496cfe03f76'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/base.rb:274:in `_run'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/template.rb:185:in `block in render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/notifications.rb:182:in `instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/template.rb:385:in `instrument_render_template'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/template.rb:183:in `render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:in `render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/partial_renderer.rb:357:in `block in render_partial'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/abstract_renderer.rb:88:in `block in instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/notifications.rb:180:in `block in instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/notifications.rb:180:in `instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/abstract_renderer.rb:87:in `instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/partial_renderer.rb:346:in `render_partial'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/partial_renderer.rb:317:in `render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/renderer.rb:65:in `render_partial_to_object'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/renderer.rb:53:in `render_partial'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/helpers/rendering_helper.rb:38:in `render'
 6238cfd7 | /usr/share/foreman/app/views/common/os_selection/_initial.html.erb:11:in `block in _45054c7a3762424d9c080c98479951a8'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/helpers/capture_helper.rb:45:in `block in capture'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/helpers/capture_helper.rb:209:in `with_output_buffer'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/helpers/capture_helper.rb:45:in `capture'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/helpers/form_helper.rb:1009:in `fields_for'
 6238cfd7 | /usr/share/foreman/app/views/common/os_selection/_initial.html.erb:1:in `_45054c7a3762424d9c080c98479951a8'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/base.rb:274:in `_run'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/template.rb:185:in `block in render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/notifications.rb:182:in `instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/template.rb:385:in `instrument_render_template'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/template.rb:183:in `render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:in `render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/partial_renderer.rb:357:in `block in render_partial'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/abstract_renderer.rb:88:in `block in instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/notifications.rb:180:in `block in instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/notifications.rb:180:in `instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/abstract_renderer.rb:87:in `instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/partial_renderer.rb:346:in `render_partial'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/partial_renderer.rb:317:in `render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/renderer.rb:65:in `render_partial_to_object'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/renderer.rb:53:in `render_partial'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/helpers/rendering_helper.rb:38:in `render'
 6238cfd7 | /usr/share/foreman/app/views/hostgroups/_form.html.erb:145:in `block in _2f5966d7365c2d46d80027fc6e3c2d1e'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/helpers/capture_helper.rb:45:in `block in capture'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/helpers/capture_helper.rb:209:in `with_output_buffer'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/helpers/capture_helper.rb:45:in `capture'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/helpers/form_helper.rb:452:in `form_for'
 6238cfd7 | /usr/share/foreman/app/helpers/form_helper.rb:305:in `form_for'
 6238cfd7 | /usr/share/foreman/app/views/hostgroups/_form.html.erb:2:in `_2f5966d7365c2d46d80027fc6e3c2d1e'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/base.rb:274:in `_run'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/template.rb:185:in `block in render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/notifications.rb:182:in `instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/template.rb:385:in `instrument_render_template'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/template.rb:183:in `render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:in `render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/partial_renderer.rb:357:in `block in render_partial'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/abstract_renderer.rb:88:in `block in instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/notifications.rb:180:in `block in instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/notifications.rb:180:in `instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/abstract_renderer.rb:87:in `instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/partial_renderer.rb:346:in `render_partial'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/partial_renderer.rb:317:in `render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/renderer.rb:65:in `render_partial_to_object'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/renderer.rb:27:in `render_to_object'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/renderer.rb:22:in `render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/helpers/rendering_helper.rb:34:in `block in render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/base.rb:304:in `in_rendering_context'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/helpers/rendering_helper.rb:30:in `render'
 6238cfd7 | /usr/share/foreman/app/views/hostgroups/edit.html.erb:3:in `_04ddbb4695ce00f12eeae794ae4fae31'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/base.rb:274:in `_run'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/template.rb:185:in `block in render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/notifications.rb:182:in `instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/template.rb:385:in `instrument_render_template'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/template.rb:183:in `render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:in `render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/template_renderer.rb:58:in `block (2 levels) in render_template'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/abstract_renderer.rb:88:in `block in instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/notifications.rb:180:in `block in instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/notifications.rb:180:in `instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/abstract_renderer.rb:87:in `instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/template_renderer.rb:57:in `block in render_template'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/template_renderer.rb:65:in `render_with_layout'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/template_renderer.rb:56:in `render_template'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/template_renderer.rb:13:in `render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/renderer.rb:61:in `render_template_to_object'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/renderer/renderer.rb:29:in `render_to_object'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/rendering.rb:117:in `block in _render_template'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/base.rb:304:in `in_rendering_context'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/rendering.rb:116:in `_render_template'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_controller/metal/streaming.rb:218:in `_render_template'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/rendering.rb:103:in `render_to_body'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_controller/metal/rendering.rb:52:in `render_to_body'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_controller/metal/renderers.rb:142:in `render_to_body'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/abstract_controller/rendering.rb:25:in `render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_controller/metal/rendering.rb:36:in `render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/core_ext/benchmark.rb:14:in `block in ms'
 6238cfd7 | /opt/rh/rh-ruby25/root/usr/share/ruby/benchmark.rb:308:in `realtime'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/core_ext/benchmark.rb:14:in `ms'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_controller/metal/instrumentation.rb:44:in `block in render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.1/lib/active_record/railties/controller_runtime.rb:34:in `cleanup_view_runtime'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_controller/metal/instrumentation.rb:43:in `render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_controller/metal/implicit_render.rb:35:in `default_render'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_controller/metal/basic_implicit_render.rb:6:in `block in send_action'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_controller/metal/basic_implicit_render.rb:6:in `tap'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/abstract_controller/base.rb:195:in `process_action'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_controller/metal/rendering.rb:30:in `process_action'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:112:in `block in run_callbacks'
 6238cfd7 | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
 6238cfd7 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
 6238cfd7 | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/audited-4.9.0/lib/audited/sweeper.rb:14:in `around'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/audited-4.9.0/lib/audited/sweeper.rb:14:in `around'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:139:in `run_callbacks'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/abstract_controller/callbacks.rb:41:in `process_action'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_controller/metal/rescue.rb:22:in `process_action'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_controller/metal/instrumentation.rb:33:in `block in process_action'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/notifications.rb:180:in `block in instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/notifications.rb:180:in `instrument'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.1/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/abstract_controller/base.rb:136:in `process'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.1/lib/action_view/rendering.rb:39:in `process'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_controller/metal.rb:190:in `dispatch'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_controller/metal.rb:254:in `dispatch'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/routing/route_set.rb:33:in `serve'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/journey/router.rb:49:in `block in serve'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/journey/router.rb:32:in `each'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/journey/router.rb:32:in `serve'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/routing/route_set.rb:834:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.17.0.rc2.2/lib/katello/middleware/event_daemon.rb:10:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/static.rb:126:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/static.rb:126:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-dsl-2.2.9/lib/apipie_dsl/static_dispatcher.rb:67:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.17/lib/apipie/static_dispatcher.rb:66:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.17/lib/apipie/extractor/recorder.rb:137:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/static.rb:126:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/static.rb:126:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/static.rb:126:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/static.rb:126:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/static.rb:126:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/static.rb:126:in `call'
 6238cfd7 | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.17/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
 6238cfd7 | /usr/share/foreman/lib/foreman/middleware/catch_json_parse_errors.rb:9:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/etag.rb:27:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/conditional_get.rb:27:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/http/content_security_policy.rb:18:in `call'
 6238cfd7 | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/cookies.rb:648:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:101:in `run_callbacks'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/actionable_exceptions.rb:17:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/debug_exceptions.rb:32:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.1/lib/rails/rack/logger.rb:37:in `call_app'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.1/lib/rails/rack/logger.rb:28:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'
 6238cfd7 | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/request_id.rb:27:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.17.0.rc2.2/lib/katello/prevent_json_parsing.rb:12:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/executor.rb:14:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/static.rb:126:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/host_authorization.rb:76:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/secure_headers-6.3.0/lib/secure_headers/middleware.rb:11:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.1/lib/rails/engine.rb:527:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.1/lib/rails/railtie.rb:190:in `public_send'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.1/lib/rails/railtie.rb:190:in `method_missing'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/urlmap.rb:74:in `block in call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/urlmap.rb:58:in `each'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/urlmap.rb:58:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/puma-4.3.3/lib/puma/configuration.rb:228:in `call'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/puma-4.3.3/lib/puma/server.rb:682:in `handle_request'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/puma-4.3.3/lib/puma/server.rb:472:in `process_client'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/puma-4.3.3/lib/puma/server.rb:328:in `block in run'
 6238cfd7 | /opt/theforeman/tfm/root/usr/share/gems/gems/puma-4.3.3/lib/puma/thread_pool.rb:134:in `block in spawn_thread'
 6238cfd7 | /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'
2020-11-02T11:05:36 [I|app|6238cfd7]   Rendering common/500.html.erb within layouts/application
2020-11-02T11:05:36 [I|app|6238cfd7]   Rendered common/500.html.erb within layouts/application (Duration: 5.8ms | Allocations: 7059)
2020-11-02T11:05:36 [I|app|6238cfd7]   Rendered layouts/_application_content.html.erb (Duration: 4.7ms | Allocations: 6174)
2020-11-02T11:05:36 [I|app|6238cfd7]   Rendering layouts/base.html.erb
2020-11-02T11:05:36 [I|app|6238cfd7]   Rendered layouts/base.html.erb (Duration: 6.3ms | Allocations: 7426)
2020-11-02T11:05:36 [I|app|6238cfd7] Completed 500 Internal Server Error in 209ms (Views: 21.9ms | ActiveRecord: 26.1ms | Allocations: 128968)

Foreman version: 2.2.0
Plugins:
 - foreman-tasks 3.0.0
 - foreman_ansible 6.0.0
 - foreman_bootdisk 17.0.2
 - foreman_openscap 4.0.2
 - foreman_remote_execution 4.1.0
 - foreman_snapshot_management 1.7.1
 - katello 3.17.0.rc2.2

Thanks, looks like you are hitting Bug #31186: Edit Host GUI broken with openscap_plugin installed on Foreman 2.2RC4, Katello 3.17RC2 - OpenSCAP - Foreman

1 Like

I think so. What is strange is that the problem is intermittent, however once the Host_group is corrupted you cannot get back except for delete/recreate.

Thanks for all your help !! :slight_smile:

The fix has been merged, until an openscap plugin release containing it is done, you can manually patch your instance with the changes in https://github.com/theforeman/foreman_openscap/pull/453/files to get it working again (don’t forget to restart the server after patching the files)

Update: foreman_openscap version 4.0.4 has been released with this fix and should hit the 2.2 repos shortly.

1 Like