Description of problem: Installing metrics using playbook fails if python2-passlib is installed. It always checks for python-passlib and makes the installer fails. Yum install python-passlib fails Package python-passlib-1.6.2-2.el7.noarch is obsoleted by python2-passlib-1.6.5-1.el7.noarch which is already installed Commenting the validation makes playbook successfully install metrics. Version-Release number of selected component (if applicable): Latest opensift-ansible How reproducible: Run latest metrics install playbook Actual results: Installer fails Expected results: Installer should check for python2-passlib or python-passlib Additional info:
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