This bug is created as a clone of upstream ticket:
A failed client installation, for example for a bad OTP value, will include a lot of extra, incorrect output on the installation.
Joining realm failed: Incorrect password.
Installation failed. Rolling back changes.
Unconfigured automount client failed: CalledProcessError(Command ['/usr/sbin/ipa-client-automount', '--uninstall', '--debug'] returned non-zero exit status 1: '')
Disabling client Kerberos and LDAP configurations
WARNING: Unable to revert to the pre-installation state ('authconfig' tool has been deprecated in favor of 'authselect'). The default sssd profile will be used instead.
The authconfig arguments would have been: authconfig --disableldap --disablekrb5 --disablesssdauth --disablemkhomedir
An error occurred while removing SSSD's cache.Please remove the cache manually by executing sssctl cache-remove -o.
Redundant SSSD configuration file /etc/sssd/sssd.conf was moved to /etc/sssd/sssd.conf.deleted
This is the 4-7 backport:
[Backport][ipa-4-7] Fix misleading errors during client install rollback #2493
Based on the test result, marking the bug VERIFIED.