#2871 Improve error messages during ipa-replica-manage del
Closed: Fixed None Opened 11 years ago by pspacek.

I tried to delete a dead replica:

[root@e631 ~]# ipa-replica-manage del e632.local
Unable to delete replica e632.local: {'desc': "Can't contact LDAP server"}

It would be nice to see which replica/LDAP server can't be contacted. --verbose option doesn't help.

Basically, error message can be same as for --force option:

[root@e631 ~]# ipa-replica-manage -f del e632.local
Unable to connect to replica e632.local, forcing removal
Failed to get data from 'e632.local': {'desc': "Can't contact LDAP server"}

This error message can point to --force option. "If you are trying to remove a dead replica, please use --force option."


This ticket needs a now owner.

I tested in these scenarios:

  • ipa-replica-manage del with remote server up
  • ipa-replica-manage-del with remote server down
  • ipa-replica-manage-del --force with remote server down
  • kinit user w/o privs, try ipa-replica-manage anything

Metadata Update from @pspacek:
- Issue assigned to rcritten
- Issue set to the milestone: FreeIPA 3.0.1 (bug fixing)

7 years ago

Login to comment on this ticket.

Metadata