Network Interface Misconfigurations Error

Hello Foreman Community,

I’m reaching out for assistance with an issue I’ve been facing related to network interfaces while managing hosts in Foreman.

Error- I’m receiving an “Invalid network interface” error when trying to create or modify a host in Foreman.

My Configuration-

Foreman Version: 3.5
Host OS: CentOS 8
Network Setup: We have a mix of static and dynamic IP assignments across multiple subnets.

When I was searching about this, I came across these resources uipath Installation Detection of changes in host network configuration by foreman and as per them I have followed these steps for troubleshooting-

Checked Network Configuration
Template Verification
Interface Details
Logs Review- Went through Foreman logs but couldn’t pinpoint the exact cause of the issue. Below is a snippet of the log when the error occurs

2024-06-25T12:34:56 [E] NoMethodError: undefined method `[]' for nil:NilClass
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_app-3.5.0/app/models/concerns/foreman/sti.rb:8:in `get_constant'

I’m looking for guidance on how to resolve this “Invalid network interface” error. Has anyone else experienced similar issues? Are there any specific configurations or settings I should check?

Any help or pointers would be greatly appreciated!

Thank you in advance for your support.