freeipa/ipatests/test_integration
Christian Heimes 3c98187988 Consider configured servers as valid
Under some conditions, ipa config-show and several other commands were
failing with error message:

  ERROR: invalid 'PKINIT enabled server': all masters must have IPA master role enabled

Amongst others the issue can be caused by a broken installation, when
some services are left in state 'configuredServices'. The problem even
block uninstallation or removal of replicas. Now configured servers are
also consider valid providers for associated roles.

A new test verifies that config-show works with hidden and configured HTTP
service.

Remark: The original intent of the sanity check is no longer clear to me. I
think it was used to very that all services can be started by ipactl.
Since ipactl starts hidden, configured, and enabled services, the new
logic reflect the fact, too.

Fixes: https://pagure.io/freeipa/issue/7929
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2019-04-29 16:51:40 +02:00
..
__init__.py Add marker needs_ipaapi and option to skip tests 2017-12-11 20:40:06 +01:00
base.py ipatests: adapt test_trust.py for changes in multihost fixture 2019-04-01 10:24:46 -04:00
test_advise.py Test smart card advise scripts 2018-12-11 13:46:52 +01:00
test_authselect.py Remove unused tests 2019-01-17 14:36:27 +01:00
test_backup_and_restore.py Add ldapmodify/search helper functions 2019-02-05 08:39:13 -05:00
test_caless.py Remove obsolete tests from test_caless.py 2019-01-29 14:42:13 -05:00
test_commands.py Consider configured servers as valid 2019-04-29 16:51:40 +02:00
test_crlgen_manage.py Test: add new tests for ipa-crlgen-manage 2019-03-14 09:39:55 +01:00
test_customized_ds_config_install.py Speed up test_customized_ds_config_install 2018-11-08 17:46:38 +01:00
test_dns_locations.py Py3: Replace six.text_type with str 2018-09-27 16:11:18 +02:00
test_dnssec.py Use Network Manager to configure resolv.conf 2019-04-16 10:45:59 +02:00
test_external_ca.py Verify external CA's basic constraint pathlen 2019-04-04 10:05:10 +02:00
test_forced_client_reenrollment.py ipatests/test_integration/test_forced_client_reenrollment.py: Use unshare 2018-12-03 11:26:08 +01:00
test_http_kdc_proxy.py ipatests/test_integration/test_http_kdc_proxy.py: Use new firewall import 2018-12-03 11:26:08 +01:00
test_idviews.py Add integration tests for idviews 2018-12-07 11:39:23 +01:00
test_installation.py Check for SELinux AVCs after installation 2019-04-26 09:50:23 +02:00
test_kerberos_flags.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_legacy_clients.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
test_netgroup.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_nfs.py ipatests: add nfs tests 2019-04-16 16:58:54 +02:00
test_ntp_options.py Fix test_ntp_options to use tasks' methods 2019-03-29 18:56:40 +01:00
test_ordering.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
test_pki_config_override.py Fix and extend pki config override test 2019-04-24 17:08:24 +02:00
test_pkinit_manage.py test: add non-reg test checking pkinit after server install 2019-02-20 09:18:38 +01:00
test_replica_promotion.py Fix unnecessary usrmerge assumptions 2019-04-17 13:56:05 +02:00
test_replication_layouts.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_server_del.py ipatests/test_integration/test_server_del.py: Enable dns in fw for dnssec 2018-12-07 17:29:59 +01:00
test_service_permissions.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_simple_replication.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_sudo.py Fix unnecessary usrmerge assumptions 2019-04-17 13:56:05 +02:00
test_testconfig.py ipatests: allow AD hosts to be placed in separate domain config objects 2019-04-01 10:24:46 -04:00
test_topologies.py Fix comparison-with-callable 2018-11-13 13:37:58 +01:00
test_topology.py tests: fix failure in test_topology_TestTopologyOptions:test_add_remove_segment 2019-02-19 14:51:56 +01:00
test_trust.py ipatests: refactor test_trust.py 2019-04-01 10:24:46 -04:00
test_uninstallation.py Fix unnecessary usrmerge assumptions 2019-04-17 13:56:05 +02:00
test_upgrade.py ipatests: fix TestUpgrade::test_double_encoded_cacert 2018-12-05 11:09:23 +01:00
test_user_permissions.py ipatests: remove all occurrences of osinfo.version_id 2019-03-01 08:38:11 +01:00
test_vault.py Add a shared-vault-retrieve test 2018-11-21 15:41:00 +01:00
test_winsyncmigrate.py ipatests: new tests for ipa-winsync-migrate utility 2019-04-25 14:46:11 +02:00