#9047 Add automation for ipa-replica-conncheck in upstream tests
Closed: fixed by frenaud. Opened by myusuf.

We need to add automation for ipa-replica-conncheck . For this we can refer the below mail thread snippet for test cases and we can add additional.
Lets create tasks needed for this effort in this user story.

Snippet from mail thread

and would like to make sure that we have an associated test. The test would need to make sure that the tool ipa-replica-conncheck --auto-master-check is successful in the following use cases:

when called with --principal (it should then prompt for a password)
when called with --principal / --password
when called without principal and password but with a kerberos TGT (kinit admin done before calling ipa-replica-conncheck)
when called without principal and password, and without any kerberos TGT (it should default to principal=admin and prompt for a password).

ipa-replica-conncheck should check the RPC connection to the master and not fallback to SSH.


Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/6092
- Issue assigned to myusuf

master:

  • 265f2618746134bb7804e569ffe18f491dc879be Test cases for ipa-replica-conncheck command
  • df03dd9bfe855a65468da88a859e4fc52021053b PEP8 Fixes

ipa-4-9:

  • 1d19b860d4cd3bd65a4b143b588425d9a64237fd Test cases for ipa-replica-conncheck command
  • 5444da016edc416c0c9481c660c013053dbb93b5 PEP8 Fixes

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

Metadata