Hide Forgot
Description of problem: If user tries to delete middle replica in line topology, then Server removal error is thrown. This error should also advertise about available '--ignore-topology-disconnect' which overrides this check. Version-Release number of selected component (if applicable): ipa-server-4.4.0-12.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. try to delete middle replica in line topology Actual results: Error message is correct, but doesn't suggest anything to override this behavior Expected results: Server removal error should advertise about '--ignore-topology-disconnect' option
AFAIK it was not added there on purpose. Removal of middle replica should not happen in normal circumstances. Advertising the option may lead to blindly copying of it without thinking about consequences. Recovering from such act may not be trivial. If one gets to this situation, he should change topology first. The error should suggest that.
(In reply to Petr Vobornik from comment #2) > AFAIK it was not added there on purpose. > > Removal of middle replica should not happen in normal circumstances. > Advertising the option may lead to blindly copying of it without thinking > about consequences. Recovering from such act may not be trivial. > Agree. > If one gets to this situation, he should change topology first. The error > should suggest that. I am OK for having suggestion related to changing such kind of topology rather than advertising about '--ignore-topology-disconnect' option
Martin/Abhijeet what is the current message?
Error messages are: """ Replication topology in suffix '%(suffix)s' is disconnected: %(errors)s""") (""" Removal of '%(hostname)s' leads to disconnected topology in suffix '%(suffix)s': %(errors)s""") Which is clear enough. Closing per triage on Sep 27.
Right.