Bug 1513041
Summary: | ipa-restore does not enable/start oddjobd | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Florence Blanc-Renaud <frenaud> |
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: | cheimes, cobrown, ndehadra, pasik, pvoborni, rcritten, sumenon, tscherf |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ipa-4.6.4-1.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-30 10:57:10 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
Florence Blanc-Renaud
2017-11-14 16:10:18 UTC
Fixed upstream master: https://pagure.io/freeipa/c/93b7c40158313b9f0f125706265ea0ac07fb4c0e ipa-4-6: https://pagure.io/freeipa/c/d150e75a869adff19ab35d3b9ac6e8858cc76018 Fixed upstream ipa-4-5: 97938e9 Enable and start oddjobd after ipa-restore 1. Replica install doesn't fail 2. oddjobd service is up and running as well. Verified on Red Hat Enterprise Linux Server release 7.6 Beta (Maipo) using [root@master ~]# rpm -q ipa-server sssd samba krb5-server pki-server selinux-policy 389-ds-base ipa-server-4.6.4-6.el7.x86_64 sssd-1.16.2-12.el7.x86_64 samba-4.8.3-4.el7.x86_64 krb5-server-1.15.1-34.el7.x86_64 pki-server-10.5.9-6.el7.noarch selinux-policy-3.13.1-219.el7.noarch 389-ds-base-1.3.8.4-11.el7.x86_64 [root@master ~]# ipa-backup Preparing backup on master.apollo.test Stopping IPA services Backing up ipaca in APOLLO-TEST to LDIF Backing up userRoot in APOLLO-TEST to LDIF Backing up APOLLO-TEST Backing up files Backed up to /var/lib/ipa/backup/ipa-full-2018-08-24-17-24-59 Starting IPA service The ipa-backup command was successful [root@master ~]# ipa-server-install --uninstall -U ...... ..... Client uninstall complete. The ipa-client-install command was successful [root@master ~]# ipa-restore /var/lib/ipa/backup/ipa-full-2018-08-24-17-24-59/ Preparing restore from /var/lib/ipa/backup/ipa-full-2018-08-24-17-24-59/ on master.apollo.test Performing FULL restore from FULL backup Temporary setting umask to 022 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 APOLLO-TEST Restoring from ipaca in APOLLO-TEST Restarting GSS-proxy Starting IPA services Restarting SSSD Restarting oddjobd Restoring umask to 18 The ipa-restore command was successful [root@master ~]# ipactl status Directory Service: RUNNING krb5kdc Service: RUNNING kadmin Service: RUNNING named Service: RUNNING httpd Service: RUNNING ipa-custodia Service: RUNNING ntpd Service: RUNNING pki-tomcatd Service: RUNNING ipa-otpd Service: RUNNING ipa-dnskeysyncd Service: RUNNING ipa: INFO: The ipactl command was successful [root@client ~]# ipa-replica-install --principal admin --admin-password Secret123 Run connection check to master Connection check OK .... ..... Starting replication, please wait until this has completed. Update in progress, 16 seconds elapsed Update succeeded ...... .......... Done. Finalize replication settings Restarting the KDC ===replica-install log file=== 2018-08-24T14:01:56Z DEBUG stderr= 2018-08-24T14:01:56Z DEBUG Restart of ipa.service complete 2018-08-24T14:01:56Z INFO The ipa-replica-install command was successful [root@client ~]# systemctl status oddjobd ● oddjobd.service - privileged operations for unprivileged applications Loaded: loaded (/usr/lib/systemd/system/oddjobd.service; enabled; vendor preset: disabled) Active: active (running) since Fri 2018-08-24 09:59:06 EDT; 6min ago Note that there is upstream automation for this issue: ipatests/test_integration/test_backup_and_restore.py::TestBackupAndRestoreWithReplica::test_full_backup_and_restore_with_replica 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:3187 |