#8384 Provide reliable way to know if a server installation is complete
Closed: fixed 3 years ago by frenaud. Opened 3 years ago by sumenon.

Request for enhancement

ipa-healthcheck tool should skip for an incomplete IPA installation

Issue

Steps to Reproduce

  1. Setup IPA server with --external-ca with only Step1 installation completed
  2. Run ipa-healtcheck tool

Actual behavior

ipa-healthcheck tool runs

Expected behavior

ipa-healthcheck tool should rather skip saying that IPA installation is not completed since only
Step-1 of the two step installation is completed.

Version/Release/Distribution

$ rpm -q freeipa-server freeipa-client ipa-server ipa-client 389-ds-base pki-ca krb5-server

Additional info:

Any additional information, configuration, data or log snippets that is needed for reproduction or investigation of the issue.

Log file locations: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Linux_Domain_Identity_Authentication_and_Policy_Guide/config-files-logs.html
Troubleshooting guide: https://www.freeipa.org/page/Troubleshooting


Or we may need to change how we detect that IPA is configured in general. Typically we use the existence of /etc/ipa/default.conf and/or files/state in sysrestore. Both are likely satisfied in the interim between stage 1 and stage 2 of an external CA installation and in a blow install.

Metadata Update from @rcritten:
- Issue assigned to rcritten

3 years ago

master:

  • 0fa8686 Simplify determining if an IPA server installation is complete
  • 4758db1 Simplify determining if IPA client configuration is complete
  • d7a4756 Create a common place to retrieve facts about an IPA installation
  • 5e02713 Don't use the has_files() to know if client/server is configured
  • 2c3a042 Update check_client_configuration to use new client fact

ipa-4-8:

  • 1a47748 Simplify determining if an IPA server installation is complete
  • 80a7e34 Simplify determining if IPA client configuration is complete
  • ee755a5 Create a common place to retrieve facts about an IPA installation
  • cb6c48b Don't use the has_files() to know if client/server is configured
  • b9e4c68 Update check_client_configuration to use new client fact
  • 4454af4 Address legacy pylint issues in sysrestore.py

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

3 years ago

master:

  • 0dc084a Address legacy pylint issues in sysrestore.py

Login to comment on this ticket.

Metadata