#7620 client uninstall fails when installed using non-existing hostname
Closed: fixed Opened by frenaud.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1598117

Description of problem:
client install fails when installed using non-existing hostname
Version-Release number of selected component (if applicable):
ipa-client-4.6.4-2.el7.x86_64
ipa-client-common-4.6.4-2.el7.noarch
[root@machine ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 Beta (Maipo)
How reproducible:
always
Steps to Reproduce:
1. install IPA master
2. ipa-client-install --hostname=`hostname`.nonexistent --server=<server-name>
--domain=<domain> -p admin -w <passwd> -U
3. ipa-client-install -U --uninstall
Actual results:
client uninstall fails
Expected results:
client uninstall success
Additional info:
After uninstall fails, subsequent client installation passes but
uninsntallation fails

Metadata Update from @frenaud:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1598117

Metadata Update from @frenaud:
- Issue assigned to frenaud

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/2113

master:

  • e32cfd14a9559a126e29f8c0215e3e80bf3924f6 ipa client uninstall: clean the state store when restoring hostname

ipa-4-6:

  • 8151b69ba40277fe54370f53b05fcf2a55988cab ipa client uninstall: clean the state store when restoring hostname

Metadata Update from @cheimes:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

master:

  • 6a1409ec9d112d3ef78a834864242ec40cf17425 test: client uninstall fails when installed using non-existing hostname

ipa-4-6:

  • 711f7e698213ed35572bb597cf673e4ba4a474fb test: client uninstall fails when installed using non-existing hostname

ipa-4-7:

  • b6f3996803c09123349735a98a79f16f18ec9204 test: client uninstall fails when installed using non-existing hostname
Metadata