Bug 1176034
Summary: | More validation required on ipa-restore's options | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Martin Kosek <mkosek> |
Component: | ipa | Assignee: | IPA Maintainers <ipa-maint> |
Status: | CLOSED ERRATA | QA Contact: | Namita Soman <nsoman> |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | ksiddiqu, rcritten |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ipa-4.1.0-14.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-03-05 10:19:09 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
Martin Kosek
2014-12-19 08:53:49 UTC
Fixed upstream master: https://fedorahosted.org/freeipa/changeset/10fe918acd8f7428588f2dff52f64070a9328c29 ipa-4-1: https://fedorahosted.org/freeipa/changeset/6950e7b14f87bbe0e922f54b76f2c8319ae6c3fd Note that issue (2) was not addressed upstream as it is benign. Master branch regression fixed: master: * 35c4fa2e36a83ad80c79a21ac8e495985f38dbde Fix IPA_BACKUP_DIR path name No change is needed for the ipa-4-1 branch. Verified. IPA Version: ============ [root@master ~]# rpm -q ipa-server ipa-server-4.1.0-16.el7.x86_64 [root@master ~]# For scenario (1) and (2) of description, now we see that on console it is displayed that what kind of restore from what kind of backup is performed. In this case, following is displayed. "Performing DATA restore from DATA backup" [root@master ~]# ipa-restore -p xxxxxxxx /var/lib/ipa/backup/ipa-data-2015-01-27-21-09-30/ -U Preparing restore from /var/lib/ipa/backup/ipa-data-2015-01-27-21-09-30/ on master.testrelm.test Performing DATA restore from DATA backup 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. Stopping Directory Server Restoring from userRoot in TESTRELM-TEST Restoring from ipaca in TESTRELM-TEST Starting Directory Server The ipa-restore command was successful [root@master ~]# Scenario (3) of description fixed with expected error messages now. [root@master ~]# ipa-restore -p xxxxxxxx --data --instance=TESTRELM-TEST1 /var/lib/ipa/backup/ipa-data-2015-01-27-21-09-30/ -U Preparing restore from /var/lib/ipa/backup/ipa-data-2015-01-27-21-09-30/ on master.testrelm.test Instance TESTRELM-TEST1 does not exist [root@master ~]# ipa-restore -p xxxxxxxx --data --backend=userRoot1 /var/lib/ipa/backup/ipa-data-2015-01-27-21-09-30/ -U Preparing restore from /var/lib/ipa/backup/ipa-data-2015-01-27-21-09-30/ on master.testrelm.test Backend userRoot1 does not exist [root@master ~]# 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://rhn.redhat.com/errata/RHSA-2015-0442.html |