Bug #31850
closedGlobal Registration: Registration fails when Remote execution interface specified for non-rhel system
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1921522
Description of problem:
Registering a non-rhel(Ubuntu,Fedora) client with remote execution interface (ens33), failing with below error:
-----
ERROR: not_found
Interface with the 'ens33' identifier was specified as a remote execution interface, however the interface was not found on the host. If the interface exists, it needs to be created in Foreman during the registration.
-----
Same interface accepted for RHEL. I tried with Fedora and Ubuntu.
Version-Release number of selected component (if applicable):
6.9
How reproducible:
Always
Steps to Reproduce:
1. Create command with Remote Execution YES and give interface "ens33"
2. Generate command
3. Use command for registration
Actual results:
For RHEL, it registered correctly.
For Fedora: It gives error
---
ERROR: not_found
Interface with the 'ens33' identifier was specified as a remote execution interface, however the interface was not found on the host. If the interface exists, it needs to be created in Foreman during the registration.
----
For Ubuntu : Same error.
Expected results:
Subscribed properly
Additional info:
Details logs in case comment