adamant-kite-43734
06/07/2024, 3:22 PMmany-tiger-3407
06/10/2024, 8:33 PMMachineInventory associated to the host. It is picked up at the first registration and is set to the MachineRegistration machineName field (or to a "m-$UUID" default name if not specified).
In the MachineRegistration below, the machineName is set to "${System Data/Runtime/Hostname}", i.e., it will pick the hostname of the host at registration time.
So, at the very first registration of the host, a new MachineInventory is created with a name equal to the machineName.
The MachineInventory name is set as the static hostname at k3s/RKE2 provisioning time.
Now, the label hostname you added, which is again equal to "${System Data/Runtime/Hostname}", i.e., it takes the current hostname of the host, is updated and re-evaluated every time the registration happens.
Having a "m" there means that the host had an empty hostname at the last registration time. Could it be an unfortunate clash in the emulated TPM seed from another host? 🤔 And why did the hostnamctl command didn't worked? Could it be that the vmtoolsd returned nothing? 🤔 I cannot really see how it could have ended up like that.
It may be worth a bug if you saw it more than once, please share also the elemental version (besides sharing the MachineRegistration and the SeedImage as you already did, quite important).quaint-airline-20784
06/11/2024, 1:54 PMmany-tiger-3407
06/11/2024, 5:33 PMquaint-airline-20784
06/12/2024, 11:50 AMquaint-airline-20784
06/12/2024, 11:54 AMquaint-airline-20784
06/12/2024, 11:55 AMquaint-airline-20784
06/12/2024, 12:34 PM