Bug 1414625
| Summary: | [IntService_public_295] add mandatory check 'httpd-tools' is installed on master | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Peng Li <penli> |
| Component: | Installer | Assignee: | Jeff Cantrill <jcantril> |
| Status: | CLOSED ERRATA | QA Contact: | Peng Li <penli> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.5.0 | CC: | aos-bugs, jcantril, jokerman, mmccomas |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: |
undefined
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-04-12 18:48:57 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: | |||
| Bug Depends On: | 1418911 | ||
| Bug Blocks: | |||
|
Description
Peng Li
2017-01-19 03:26:35 UTC
Provided check in https://github.com/openshift/openshift-ansible/pull/3151 @jcantril, I tried on a env which both master and ansible control node(not the master) don't have httpd-tools installed, and run ansible, it generate below error[1]. Then I installed httpd-tools on ansible control node, it passed this task but return the same error what I report at https://bugzilla.redhat.com/show_bug.cgi?id=1414625#c0 So things come back to https://bugzilla.redhat.com/show_bug.cgi?id=1414477#c6, will we restrict this ansible task should only be run on master? If this is the design, I can set this bug to 'verified' and document this. Though from QE's test, most our ansible jobs run on control node but not the master. [1] TASK [openshift_metrics : fail] ************************************************ task path: /root/openshift-ansible/roles/openshift_metrics/tasks/install_support.yaml:8 fatal: [ec2-54-90-212-109.compute-1.amazonaws.com]: FAILED! => { "changed": false, "failed": true, "invocation": { "module_args": { "msg": "'htpasswd' is unavailable. Please install httpd-tools on the control node" }, "module_name": "fail" }, "msg": "'htpasswd' is unavailable. Please install httpd-tools on the control node" } to retry, use: --limit @/root/openshift-ansible/playbooks/common/openshift-cluster/openshift_metrics.retry Added another PR to address #3 https://github.com/openshift/openshift-ansible/pull/3195 There is a typo here https://github.com/openshift/openshift-ansible/blob/master/roles/openshift_metrics/tasks/install_support.yaml#L12 should check keytool local_action: command which htpasswd other parts looks good, after install htpasswd and jdk on Ansible control node, the job can proceed. fixed check for keytool in https://github.com/openshift/openshift-ansible/pull/3258 will verify this once https://bugzilla.redhat.com/show_bug.cgi?id=1418911 is fixed. verified with master branch, a hint is there when java is not installed on ansible control node. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:0903 |