#7669 Hide domain level 0 specific options from tools and commands
Closed: fixed Opened by abbra.

Domain Level 0 support is going to be removed eventually.

This is the first step of the DL0 removal: Hide domain level 0 specific options and programs:

  • Remove ipa-replica-prepare (script and man page) from freeipa.spec.in and Makefile.am in install/tools and install/tools/man
  • Remove replica_file support from ipa-ca-install and ipa-kra-install (script and man page)
  • Add new error "Domain level 0 is not supported anymore" for remainaing args after parsing
  • Remove all "DOMAIN LEVEL 0" and "DOMAIN LEVEL 1" prefixes form the man pages.
  • Add new error "Domain level 0 is not supported anymore" to ipaserver/install/server/init.py if not promotion mode to ServerInstallInterface.init and to ServerReplicaInstall.main if replica_file is set.
  • Deprecate replica_file Knob in ipalib/install/service.py
  • Increase MIN_DOMAIN_LEVEL to DOMAIN_LEVEL_1 in ipalib/constants.py

I'm sure there are more actions to be done.


Metadata Update from @twoerner:
- Issue assigned to twoerner

Here is the pull request: https://github.com/freeipa/freeipa/pull/2223

Metadata Update from @mkosek:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1613879

Issue linked to Bugzilla: Bug 1613879

master:

  • f6fa2e94e40874cd8ffaaa1614e9f7e7633098b0 Do not install ipa-replica-prepare
  • 38936817d28bfd0076a3a71f084bb8056c9eb0e1 Increase MIN_DOMAIN_LEVEL to DOMAIN_LEVEL_1
  • 0ce79ec6f51083efe7dce724503ef502481b3f65 Mark replica_file option as deprecated
  • 0377645747ee0fef4cbbd6630be1e66a8786c8e4 Raise error if DL is set to 0 or DL0 options are used
  • a170b284c494703c1b3a60cd16fd93b3f0098164 Remove support for replica_file option from ipa-ca-install
  • 5f5180b8254d93592eefbaf96ccf87715af43528 Remove support for replica_file option from ipa-kra-install
  • 9c2b0ce77b8c7c0491bf8e2d0dbec098dc3292e8 Remove DL0 specific sections from ipa-replica-install man page
  • 7e172e3b77ea08fb740ec6a2c8ffe332940e841d Remove "at DL1" from ipa-replica-manage man page
  • 0eb140ea73bff9c20bc21f983dadcfe83a617d58 Remove "at DL1" from ipa-server-install man page
  • b99dc46a9c9977e67641783a7b5cd69385627875 Move DL0 raises outside if existing conditionals to calm down pylint
  • 2a788f1a608370bf22dcc786202c936365725a5b ipatests: Drop test_password_option_DL0
  • 3b8c38ec8b5ce74fe253193c36d33cedb2107f45 ipatests/test_ipaserver/test_install/test_installer.py: Drop tempfile import
  • c33cbe13fbeed3969fe1dee9074413e150ebdcc7 ipaserver/install/adtrust.py: Do not use DOMAIN_LEVEL_0 for minimum
  • 94159bbe13fa25f70247ebc5373d8ab0d87ce5cc ipatests/test_xmlrpc/tracker/server_plugin.py: Increase hard coded mindomainlevel
  • cb7f6b7be273618902b22ce8b1e24f5d30d777ff replicainstall: Make sure that domain fulfills minimal domain level requirement

master:

  • 13000e2f19401549ec3797b071671087d7fc37e6 Disable DL0 specific tests

Metadata Update from @twoerner:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

ipa-4-7:

  • 83a8fad019789bd939135e97390d767614efc6bf Do not install ipa-replica-prepare
  • 416b3f179f6c9cadabf9005fb409c0b66f3471f4 Increase MIN_DOMAIN_LEVEL to DOMAIN_LEVEL_1
  • 0b81aeb80359f8ff2cb15f5be4e982072f6263af Mark replica_file option as deprecated
  • aafd2dbe47dc695efccafbcc799f912039aa56de Raise error if DL is set to 0 or DL0 options are used
  • 9001cfabd4e02f6d99c5f9d9a6eaec5307621fa1 Remove support for replica_file option from ipa-ca-install
  • 800c8c5904344335f49ce101170c6e366dcb1a1b Remove support for replica_file option from ipa-kra-install
  • 67bbc9bd1f794b224f8e5592865ece82b8ec2d1f Remove DL0 specific sections from ipa-replica-install man page
  • b4a37c5aaa7e0714f4b9c598fa46fa5af6e2cbef Remove "at DL1" from ipa-replica-manage man page
  • f7516be12bcac377f152536e75a79d36243d3123 Remove "at DL1" from ipa-server-install man page
  • a3e179bd76c1431a2f0d3a12dd33a74424a834b2 Move DL0 raises outside if existing conditionals to calm down pylint
  • a442040085883567b0ac5a48d8e7d5cc116170ab ipatests: Drop test_password_option_DL0
  • c4982dcc1d7f9b28f3645f32926d48e9ed2865b6 ipatests/test_ipaserver/test_install/test_installer.py: Drop tempfile import
  • 2c393ab641ee96892093e3a5952828827077e76e ipaserver/install/adtrust.py: Do not use DOMAIN_LEVEL_0 for minimum
  • d8cb4260a88944e15784b177ef10de2e2f375f02 ipatests/test_xmlrpc/tracker/server_plugin.py: Increase hard coded mindomainlevel
  • ddacf9eb1ae4ca3ad13ed6a9783a341c4ca4fef3 replicainstall: Make sure that domain fulfills minimal domain level requirement

ipa-4-7:

  • 6dd586c77301c12732d74dfcf416622114b875c3 Disable DL0 specific tests
  • 93502c9dda5ff6192a601680c1334c940375dbb8 Remove ipa-replica-prepare script and man page
  • 9dcf1dc64ac51b41c0509b99127aefc6c4de5952 Remove DL0 specific code from ipa-ca-install
  • 30d0fc07e6251b8c2b05204e8d7acc9886178132 Remove DL0 specific code from cainstance and ca in ipaserver/install
  • ff75a9f7583412aee6a5af7395f4344cea1db63d Remove DL0 specific code from ipa_kra_install in ipaserver/install
  • 474acad4c20332436f0bde0fb490ea73f533a8f3 Remove DL0 specific code from dsinstance ipaserver/install
  • 232643156df76885a26d41274306591684514b90 Remove DL0 specific code from kra in ipaserver/install
  • fe6258732e82c7eaa9ac4c9d8203a571b74d4af4 Remove unused promote arg in krbinstance.create_replica in ipaserver/install
  • 3c959134da502d5f43be9e3f9698b7911af9ae2f Remove DL0 specific code from ipa_replica_install in ipaserver/install
  • 7e17d73b76eb38b5db9d186dec03cf750e67310a Remove DL0 specific code from init in ipaserver/install/server
  • bacef44632ff056538fa8977e41f0a4bb6fc23b6 Remove DL0 specific code from replicainstall in ipaserver/install/server
  • 7e7dfcd415cc265877ac8ea9390e3fb8e791caf5 Remove create_replica_config from installutils in ipaserver/install
  • fc62c73568d8fe517dd66344b92f030a855f8931 Remove DL0 specific code from custodiainstance in ipaserver/install
  • 31cdb978032a7e13a5669d7ce96c0d80c05da84a Rename CustodiaModes.STANDALONE to CustodiaModes.FIRST_MASTER
  • e0a07717e91118035c714088f754af09901479b7 Remove options.promote from install in ipaserver/install/server/install
  • 8eefa92be4d7d1c0e5c29ce952173a3505489ca8 Remove replica_file from ClientInstall class in ipaclient/install/client.py
  • 84204473171d279acf9a34a0a2eed9c1a0778e5e Remove replica_file knob from ipalib/install/service.py
  • 6ee7c437e18b70b29ffcbcdef4f384492e4485ce Remove DL0 specific tests from ipatests/test_integration/test_replica_promotion.py
  • ec993c9082cbd685c3768ff6818f2547a999e05a Remove DL0 specific code from ipatests/pytest_ipa/integration/tasks.py
  • a7b2487fbec1c799d70b770e5f9ef1dbaf13bbee Remove DL0 specific code from ipatests/test_integration/test_caless.py
Metadata