Bug 1476890
| Summary: | Running health check playbooks can have unexpected side effects | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Luke Meyer <lmeyer> |
| Component: | Installer | Assignee: | Luke Meyer <lmeyer> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Wenkai Shi <weshi> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.6.0 | CC: | aos-bugs, bleanhar, gpei, jokerman, mgugino, mmccomas, myllynen, smunilla |
| Target Milestone: | --- | ||
| Target Release: | 3.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openshift-ansible-3.9.0-0.20.0.git.0.dce44f0.el7 | Doc Type: | Bug Fix |
| Doc Text: |
Cause:
Health check dependencies performed Ansible actions as part of their operation.
Consequence:
Running health checks could result in changes to the cluster hosts, e.g.: Docker reconfigured and restarted, yum repos modified, firewall reconfigured
Fix:
With v3.9 the installer has been refactored such that the changes mentioned only happen in the prerequisites.yml playbook.
Result:
Running the health checks no longer makes these changes. The related warning under https://docs.openshift.com/container-platform/3.7/admin_guide/diagnostics_tool.html#ansible-based-tooling-health-checks can be removed for 3.9.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-06-13 14:51:07 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Luke Meyer
2017-07-31 17:53:10 UTC
The roles in question are docker, os_firewall, and openshift_repos. We are investigating ways to make these take no action under this usage. In fact, something seems to have changed since discovering this issue such that docker no longer re-configures/restarts before the health checks, so that part may already be solved. Some work to refactor docker roll has started: https://github.com/openshift/openshift-ansible/pull/5165 This refactor will remove docker from dependency chains of other roles. I believe with the changes made for 3.9 to pull out prerequisites.yml that this is no longer an issue. I would appreciate QE confirming that running the health.yml playbook no longer carries any apparent risk of reconfiguring hosts or restarting services. The only change expected at all might be installing RPM(s) to support the checks. Verified with version openshift-ansible-3.9.0-0.20.0.git.0.dce44f0.el7, disable repo and health check failed. Health check will not performing configuration tasks, as expect. |