Bug 1377541 - Server Removal Error should advertise '--ignore-topology-disconnect'
Summary: Server Removal Error should advertise '--ignore-topology-disconnect'
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: IPA Maintainers
QA Contact: Kaleem
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-20 05:04 UTC by Abhijeet Kasurde
Modified: 2016-10-24 11:21 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-30 12:51:13 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Abhijeet Kasurde 2016-09-20 05:04:38 UTC
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

Comment 2 Petr Vobornik 2016-09-20 08:13:58 UTC
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.

Comment 3 Abhijeet Kasurde 2016-09-20 09:14:10 UTC
(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

Comment 4 Petr Vobornik 2016-09-27 11:47:58 UTC
Martin/Abhijeet what is the current message?

Comment 5 Petr Vobornik 2016-09-30 12:51:13 UTC
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.

Comment 6 Martin Babinsky 2016-10-24 11:21:49 UTC
Right.


Note You need to log in before you can comment on or make changes to this bug.