Trouble opening host in webgui, foreman hangs with tons of "NIC::Managed destroy event in log

Problem:
I was initially opening the host to check on some reports when foreman webgui became unresponsive.
After some fiddling around (ie. restarting the whole server and trying again) i figured out that this happens every time i open this host in the web gui.
Expected outcome:
Webgui would open normally and i would be able to browse the host
Foreman and Proxy versions:

Foreman and Proxy plugin versions:
2.5.4
Distribution and version:
Ubuntu 18.04.6 LTS
Other relevant data:
I was going to use foreman_rake to destroy the client so i could add it again and be rid of the problem, but as i see from foreman_rake that this client is managed. I dont know what that entails really as provisioning from foreman has been broken (because of network segreation, not foreman) since before i was handed this system.

irb(main):003:0> Host.find_by_name("problem-host")
=> #<Host::Managed id: 479, name: "problem-host", last_compile: nil, last_report: [FILTERED], updated_at: "2022-09-23 11:45:37", created_at: "2018-04-30 20:20:18", root_pass: [FILTERED], architecture_id: 1, operatingsystem_id: 89, environment_id: 1, ptable_id: 110, medium_id: nil, build: false, comment: "", disk: "", installed_at: "2018-04-30 20:27:56", model_id: 15, hostgroup_id: 284, owner_id: 11, owner_type: "User", enabled: true, puppet_ca_proxy_id: 1, managed: true, use_image: nil, image_file: nil, uuid: nil, compute_resource_id: nil, puppet_proxy_id: 1, certname: "problem-host", image_id: nil, organization_id: 2, location_id: 11, type: "Host::Managed", otp: nil, realm_id: nil, compute_profile_id: nil, provision_method: "build", grub_pass: "$5$ZodWEZvl$baew9dSE0uQnVo48LgkCepJJlJ0CbqYckPz4/X...", global_status: 0, lookup_value_matcher: [FILTERED], pxe_loader: "PXELinux BIOS", discovery_rule_id: nil, initiated_at: nil, build_errors: nil>

When i try to open it in webgui i get the following spam in the logs:

2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on mac 38:bc:01:93:a4:8c
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on ip 
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on type Nic::Managed
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on name 
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on host_id 479
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on subnet_id 
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on domain_id 
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on attrs {"mtu"=>1500}
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on provider 
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on username 
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on password [redacted]
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on virtual true
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on link true
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on identifier vmbr0.3136
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on tag 3136
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on attached_to vmbr0
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on managed false
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on mode balance-rr
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on attached_devices 
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on bond_options 
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on primary false
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on provision false
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on compute_attributes {}
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on ip6 
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (239089) destroy event on subnet6_id 
2022-09-23T13:59:50 [I|app|f1fb7d0a]   Rendered nic/_virtual_form.html.erb (Duration: 5.7ms | Allocations: 6206)
2022-09-23T13:59:50 [I|app|f1fb7d0a]   Rendered nic/_provider_specific_form.html.erb (Duration: 3.5ms | Allocations: 5308)
2022-09-23T13:59:50 [I|app|f1fb7d0a]   Rendered nic/manageds/_managed.html.erb (Duration: 56.7ms | Allocations: 49721)
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (217810) destroy event on mac 38:bc:01:93:a4:8c
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (217810) destroy event on ip 
2022-09-23T13:59:50 [I|aud|1245137c] Nic::Managed (217810) destroy event on type Nic::Managed

If anyone could point me in the right direction with troubleshooting this, or just getting rid of the host and all data so i can add it again, that would be great :slight_smile: