Bug 1455310
| Summary: | Metrics installer fails if python2-passlib is installed | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Vikas Laad <vlaad> |
| Component: | Installer | Assignee: | ewolinet |
| Status: | CLOSED ERRATA | QA Contact: | Junqi Zhao <juzhao> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.6.0 | CC: | aos-bugs, jokerman, juzhao, mifiedle, mmccomas, wsun |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: Incorrect check for python libs used for metrics role
Consequence: Playbook would fail when checking for python2-passlib is installed
Fix: Update the query for checking availability of library
Result: Playbook will not incorrectly fail out when python2-passlib is installed
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-08-10 05:25:32 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
Vikas Laad
2017-05-24 18:16:28 UTC
Here is the actual error i got from playbook
TASK [openshift_metrics : Check that python-passlib is available on the control host] ****************************************
fatal: [192.1.0.7]: FAILED! => {
"assertion": "'not installed' not in passlib_result.stdout",
"changed": false,
"evaluated_to": false,
"failed": true,
"msg": "python-passlib rpm must be installed on control host"
}
to retry, use: --limit @/root/openshift-ansible/playbooks/byo/openshift-cluster/openshift-metrics.retry
PLAY RECAP *******************************************************************************************************************
192.1.0.7 : ok=13 changed=1 unreachable=0 failed=1
localhost : ok=2 changed=0 unreachable=0 failed=0
*** Bug 1455417 has been marked as a duplicate of this bug. *** python2-passlib was installed on ansible control node now, and it did not throw out error after Metrics was deployed. # rpm -qa | grep python2-passlib python2-passlib-1.6.5-1.el7.noarch Environment info: # rpm -qa | grep openshift-ansible openshift-ansible-filter-plugins-3.6.94-1.git.0.fff177b.el7.noarch openshift-ansible-playbooks-3.6.94-1.git.0.fff177b.el7.noarch openshift-ansible-docs-3.6.94-1.git.0.fff177b.el7.noarch openshift-ansible-callback-plugins-3.6.94-1.git.0.fff177b.el7.noarch openshift-ansible-roles-3.6.94-1.git.0.fff177b.el7.noarch openshift-ansible-3.6.94-1.git.0.fff177b.el7.noarch openshift-ansible-lookup-plugins-3.6.94-1.git.0.fff177b.el7.noarch # openshift version openshift v3.6.85 kubernetes v1.6.1+5115d708d7 etcd 3.1.0 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/RHEA-2017:1716 |