Problem:
I am trying to re-provision existing RHEL9 system. System was running before. Before I start I un-register it similar to what I did for RHEL8. However, I am still getting error during installation:
An error occurred during registration attempt triggered by the rhsm kickstart
command. This could have happened due to incorrect rhsm command arguments or
subscription infrastructure issues. Would you like to ignore this and continue
with installation?
Error detail: Name has already been taken
Please respond 'yes' or 'no':
If I answer ‘yes’, installation continues and I can register node manually.
Similar process works well on RHEL 8 if I un-register host before rebuild, so this seems to be specific to RHEL 9 only.
Expected outcome:
Ecpected automatic provisioning including registration
Foreman and Proxy versions:
Foreman 3.6.2, Katello 4.8.4
Distribution and version:
Rocky 8