3.16 Hosts Page - Deletion works but displays error message

Problem: Deleting Host causes 500 Error message, but does delete

Expected outcome: No Error

Foreman and Proxy versions: 3.16.0

Foreman and Proxy plugin versions: foreman-tasks 11.0.3, foreman_ansible 17.0.1, foreman_puppet 9.0.0, foreman_remote_execution 16.2.0

Distribution and version: RHEL 9.6

Other relevant data: Not a major issue, since it’s doing what it’s supposed to, but the red error message is a jump scare :smile: Go to hosts page, select a host via the checkbox, click the 3 dots next to “Manage Columns”, select Delete, check the confirmation box and click Delete. It gives a red error message saying Error 500, but when you reload/refresh the page the selected host(s) disappear from the list. If you just click the 3 dots at the end of the row for the host and do the delete from there, there is no error.

Also, side note, it would be great if we could manually resize the columns on the table on this new Hosts page.

In /var/log/foreman/production.log there should be a backtrace with more information about the 500 Internal Server Error.