-
Bug
-
Resolution: Done-Errata
-
Normal
-
6.14.1
-
False
-
-
False
-
CLOSED
-
Release Notes
-
950
-
Added link to SAT-23034
-
Bug Fix
-
Rejected
-
Rocket
-
-
-
Moderate
-
No
Description of problem:
Provisioning a RHEL9 system with a dedicated nic for provisioning and another as primary results in a duplicated host created on satellite, with the name defined on the provisioning interface.
This happens because we're using the rhsm component of anaconda to register the system. At that point of the installation, the host is using the hostname that it got from the dhcp. Then it registers into Satellite with that name.
Later, anaconda will update the name for the name of the primary interface, but at that point the extra host already exists on Satellite.
Version-Release number of selected component (if applicable):
Satellite 6.14
How reproducible:
Steps to Reproduce:
1. Create a host with 2 nics. Define one as primary and other as provisioning
2. Provision the host with RHEL9 and default templates
3. Observe that you'll have 2 hosts created: one with the primary hostname and one with the provisioning hostname
Actual results:
Two hosts created on Satellite
Expected results:
Single host created on Satellite
Additional info:
A workaround is to add a %pre script that set the primary hostname into anaconda at an early stage, before rhsm step is executed:
~~~
%pre
hostnamectl set-hostname --static <%= @host.name %>
%end
~~~
- is cloned by
-
SAT-28693 Provisioning rhel9 with a dedicated provisioning interface results in an extra host created on Satellite
- Release Pending
- external trackers
- links to
-
RHBA-2024:140284 Important: Satellite 6.16.0 release