Bug 1810179

Summary: ipa-client-install should name authselect backups and restore to that at uninstall time
Product: Red Hat Enterprise Linux 8 Reporter: François Cami <fcami>
Component: ipaAssignee: Thomas Woerner <twoerner>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: frenaud, ksiddiqu, mpolovka, myusuf, pcech, rcritten, tscherf
Target Milestone: rcKeywords: TestCaseProvided
Target Release: 8.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.8.7-8.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 02:50:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description François Cami 2020-03-04 16:40:14 UTC
- enhance ipaplatform/redhat/authconfig.py to save the ID of the backup after ipa-client-install into ipabackup
 ... or name it: " authselect select sssd --force --backup=NAME"
- use authselect backup-restore mechanism at uninstall time, using the above ID / name

Comment 1 François Cami 2020-03-04 16:42:51 UTC
More details in the upstream issue: https://pagure.io/freeipa/issue/8189

Comment 5 Florence Blanc-Renaud 2020-07-30 11:16:48 UTC
Relevant test cases:
test_integration/test_nfs.py::TestIpaClientAutomountFileRestore::test_nsswitch_backup_restore_sssd
test_integration/test_authselect.py::TestClientInstallation::test_install_client_no_preconfigured_profile
test_integration/test_authselect.py::TestClientInstallation::test_uninstall_client_no_preconfigured_profile

Comment 11 Mohammad Rizwan 2020-08-10 06:47:24 UTC
Automation passed,  marking the bug as verified. report.html for both the tests are attached.

Comment 14 errata-xmlrpc 2020-11-04 02:50:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: idm:DL1 and idm:client security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4670