If host accidentally logs in before addHost is called, user is already created and addHost will fail. addHost could be more tolerant (--force) and reuse that user, if it has correct type.
addHost
--force
PR #2042
Metadata Update from @tkopecek: - Custom field Size adjusted to None
Metadata Update from @tkopecek: - Issue tagged with: testing-ready
Metadata Update from @jcupova: - Issue tagged with: testing-done
Commit 934b3c95 fixes this issue
Commit 5eafede6 fixes this issue
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/1874
Please continue any further discussion there.