Bug 1511019
Summary: | ipa-restore broken with python2 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Petr Vobornik <pvoborni> |
Component: | ipa | Assignee: | IPA Maintainers <ipa-maint> |
Status: | CLOSED ERRATA | QA Contact: | ipa-qe <ipa-qe> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.4 | CC: | enewland, frenaud, ksiddiqu, myusuf, pasik, pvoborni, rcritten, tscherf |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ipa-4.5.4-7.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-10 16:48:21 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
Petr Vobornik
2017-11-08 14:30:48 UTC
Upstream ticket: https://pagure.io/freeipa/issue/7231 Fixed upstream master: https://pagure.io/freeipa/c/f4a208311aa6618336e1ba6ae277243c727ec1fc Fixed upstream ipa-4-6: https://pagure.io/freeipa/c/71c54ef03cabd598ff1c0032529793dbbcd59a9e Fixed upstream ipa-4-5: https://pagure.io/freeipa/c/229c84e9e6bf5db259e7768fc4da38d016b17069 version: ipa-server-4.5.4-7.el7.x86_64 Steps: 1. Install ipa master 2. $ ipa-backup 3. $ ipa-server-install --uninstall -U 4. $ python2 /usr/sbin/ipa-restore /path/to/full/backup/ Actual result: [root@master ~]# ipa-backup Preparing backup on master.testrelm.test Stopping IPA services Backing up ipaca in TESTRELM-TEST to LDIF Backing up userRoot in TESTRELM-TEST to LDIF Backing up TESTRELM-TEST Backing up files Backed up to /var/lib/ipa/backup/ipa-full-2018-01-10-08-04-34 Starting IPA service The ipa-backup command was successful [root@master ~]# [root@master ~]# ipa-server-install -U --uninstall Updating DNS system records ipa : ERROR unable to resolve host name master.testrelm.test. to IP address, ipa-ca DNS record will be incomplete ----------------------------------------- Deleted IPA server "master.testrelm.test" ----------------------------------------- Shutting down all IPA services Unconfiguring ntpd Configuring certmonger to stop tracking system certificates for KRA Configuring certmonger to stop tracking system certificates for CA Unconfiguring CA Unconfiguring named Unconfiguring ipa-dnskeysyncd Unconfiguring web server Unconfiguring krb5kdc Unconfiguring kadmin Unconfiguring directory server Unconfiguring ipa-custodia Unconfiguring ipa-otpd Removing IPA client configuration Removing Kerberos service principals from /etc/krb5.keytab Disabling client Kerberos and LDAP configurations Redundant SSSD configuration file /etc/sssd/sssd.conf was moved to /etc/sssd/sssd.conf.deleted Restoring client configuration files Unconfiguring the NIS domain. nscd daemon is not installed, skip configuration nslcd daemon is not installed, skip configuration Systemwide CA database updated. Client uninstall complete. The ipa-client-install command was successful [root@master ~]# [root@master ~]# python2 /usr/sbin/ipa-restore /var/lib/ipa/backup/ipa-full-2018-01-10-08-04-34 Directory Manager (existing master) password: Preparing restore from /var/lib/ipa/backup/ipa-full-2018-01-10-08-04-34 on master.testrelm.test Performing FULL restore from FULL backup Restoring data will overwrite existing live data. Continue to restore? [no]: yes Each master will individually need to be re-initialized or re-created from this one. The replication agreements on masters running IPA 3.1 or earlier will need to be manually re-enabled. See the man page for details. Disabling all replication. Unable to get connection, skipping disabling agreements: directory server instance is not running/configured Stopping IPA services Configuring certmonger to stop tracking system certificates for CA Restoring files Systemwide CA database updated. Restoring from userRoot in TESTRELM-TEST Restoring from ipaca in TESTRELM-TEST Restarting GSS-proxy Starting IPA services Restarting SSSD The ipa-restore command was successful [root@master ~]# tail -1 /var/log/iparestore.log 2018-01-10T13:10:08Z INFO The ipa-restore command was successful [root@master ~]# ipa-restore succeed with python2. Thus based on above observation marking bug as verified. 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, 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/RHBA-2018:0918 |