Red Hat Bugzilla – Bug 1367572
improve error message in ipa migrate-ds: mention ipa config-mod --enable-migration=TRUE
Last modified: 2017-08-01 05:39:54 EDT
Description of problem: ipa help config-mod doesnt have all options documented While trying to do ipa migrate-ds, It fails with an error. # ipa migrate-ds ldap://rhds9-1.gsslab.pnq.redhat.com:389 Password: ----------- migrate-ds: ----------- Migration mode is disabled. Use 'ipa config-mod' to enable it. but ipa config-mod doesnt have any documentation about Migration option. # ipa help config-mod |grep -i migrate -- No Output -- Below commands works well, but this option should be documented. # ipa config-mod --enable-migration=TRUE Additional info: It is properly documented in https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Linux_Domain_Identity_Authentication_and_Policy_Guide/Migrating_from_a_Directory_Server_to_IPA-Performing_a_Client_based_Migration.html I think it should be documented in help page of ipa config-mod
The grep was incorrect in the first place but we should improve the error message as well: It should mention "ipa config-mod --enable-migration=TRUE".
Upstream ticket: https://fedorahosted.org/freeipa/ticket/6234
Fixed upstream master: https://fedorahosted.org/freeipa/changeset/0f4df2f03df09ebced37ff0dd49d489782b85d73
ipa-version: ipa-server-4.5.0-13.el7.x86_64 Verified that on running following command we can get information for migration task: #ipa help config-mod --enable-migration=BOOL Enable migration mode Thus marking the status of bug to "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-2017:2304