#5588 [RFE] change `ipa-replica-manage del` into an API method for domain level 1
Closed: Fixed None Opened 8 years ago by pvoborni.

This proposal follows the effort for centralized topology management started in 4.3 release.

ipa-replica-manage del method for domain level 1 nowdays doesn't do any operations which requires directory manager password nor does it require to contact any other replicas like on domain level 0. Therefore this method can be safely moved to API.

The new API method should have the same functionality as the ipa-replica-manage del including the limitation that it can't be run on the server which is removed. The reason is that some changes(like dns cleanup) would not be replicated to other replicas.

It will:

  • reduce the usage of ipa-replica-manage tool which should be used only for winsync management in a future
  • allow ipa-server-install --uninstall to run the method automatically at the beginning of uninstallation so that administrator won't have to call it manually - this fact is often ignored by admins.

Additional requirements

  • it should also work as a cleanup method - should be able to run multiple times if some part of the original removal did no happen from whatever reason.
  • ipa-replica-manage should call this API method for backwards compatibility
  • ipa-server-install --uninstall should work even if the API method was run - for backwards compatibility

Requires also Web UI part, see design.

master:

  • d8ae2b4 ipaserver module for working with managed topology
  • db882ae delegate removal of master DNS record and replica keys to separate functions
  • a6eb87b server-del: perform full master removal in managed topology
  • 081941a CI test suite for server-del
  • 47decc9 ipa-replica-manage: use server_del when removing domain level 1 replica
  • 31ffe1a remove the master from managed topology during uninstallation

master:

  • e65ce4f Add support to change button css class on confirm dialog
  • 7f4de88 Add button for server-del command

Metadata Update from @pvoborni:
- Issue assigned to mbabinsk
- Issue set to the milestone: FreeIPA 4.4

7 years ago

Login to comment on this ticket.

Metadata