Project

General

Profile

Actions

Bug #37744

open

Global Registration fails on Katello with REX interface selected for new hosts

Added by Sebastian Bublitz 5 months ago. Updated 5 months ago.

Status:
Ready For Testing
Priority:
Normal
Assignee:
-
Category:
Host registration
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

When trying to register a new host via global registration with the default template to a Katello instance, registration fails if a REX interface is included in the request.
I could not directly verify this, but from my analysis this only affects Katello instances and not plain Foreman due to differences between the register_host() and register_katello_host() functions in the default registration template.

The error message is:
Interface with the '<interfacename>' 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.

How to reproduce:
  • Have a host currently not registered within Katello
  • Generate a registration command with "Remote Execution Interface" set to the name of an interface on the host
  • Try to register the host with that command
Actions #1

Updated by The Foreman Bot 5 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/10282 added
Actions #2

Updated by Sebastian Bublitz 5 months ago

After some discussion in the PR, we found that this is most likely caused by disabling interface information being updated from facts via settings.

Actions

Also available in: Atom PDF