#2879 [RFE] Take into consideration services when deleting replicas
Closed: Fixed None Opened 11 years ago by rcritten.

We have the list of services on the replicas in cn=masters. We should take this into consideration when deleting a replica to not leave an installation without a CA or without DNS.

For example, if you have multiple IPA instances and only one has a dogtag CA, if you try to delete the IPA server with a CA we should at least warn. The same goes with DNS.


Changing 3.2 priority

Design page link is not relevant and should be removed as their is no design for what was done or steps to verify what was done.

The link is there because all RFEs require a design. In this case the design is so painfully trivial it isn't worthy of writing up, hence the V3 minor design reference.

Ana, I think if you include the bit of samples from the patch discussion on freeipa-devel that will satisfy the reproduction steps. Perhaps include that in the V3 minor page as well.

Here is some more information/context.

Prior to this change, it was possible to delete the replica containing the only CA/DNS from the replication topology. This patch introduces appropriate errors/warnings when this is attempted.

Below are the steps to verify the change. I have also updated the V3 Minor Enhancements page to include a clearer description of what was done.


Steps to verify:

A. For CA
1. Install IPA server
2. Create a replica without CA
3. Try to delete the server (ipa-replica-manage del server.example.com)

Deletion should abort, as it is not allowed to delete the only CA in the topology.

B. For DNS
1. Install IPA server with DNS
2. Create a replica without DNS
3. Try to delete the server (ipa-replica-manage del server.example.com)

A message should be displayed, warning the user that this is the last DNS in the topology. User confirmation should be required in order to proceed, unless the --force option is specified.

Metadata Update from @rcritten:
- Issue assigned to akrivoka
- Issue set to the milestone: FreeIPA 3.2 - 2013/02

7 years ago

Login to comment on this ticket.

Metadata