Bug 1455417

Summary: Deploy Metrics 3.6.0 is failed, it is required to install python-passlib rpm packages on the control host
Product: OpenShift Container Platform Reporter: Junqi Zhao <juzhao>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED DUPLICATE QA Contact: Johnny Liu <jialiu>
Severity: high Docs Contact:
Priority: high    
Version: 3.6.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-25 17:31:20 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:
Attachments:
Description Flags
ansible running log
none
ansible inventory file none

Description Junqi Zhao 2017-05-25 05:10:51 UTC
Created attachment 1282129 [details]
ansible running log

Description of problem:
Deploy Metrics 3.6.0 via ansible is failed, ansible version is 3.6.84, it is required to install python-passlib rpm packages on the control host

package python-passlib is not installed
not installed
 [WARNING]: Consider using yum, dnf or zypper module rather than running rpm

TASK [openshift_metrics : Check that python-passlib is available on the control host] ***
task path: /usr/share/ansible/openshift-ansible/roles/openshift_metrics/tasks/main.yaml:5
fatal: [host-8-174-246.host.centralci.eng.rdu2.redhat.com]: FAILED! => {
    "assertion": "'not installed' not in passlib_result.stdout", 
    "changed": false, 
    "evaluated_to": false, 
    "failed": true, 
    "invocation": {
        "module_args": {
            "msg": "python-passlib rpm must be installed on control host", 
            "that": [
                "'not installed' not in passlib_result.stdout"
            ]
        }, 
        "module_name": "assert"
    }
}

Version-Release number of selected component (if applicable):
# openshift version
openshift v3.6.76
kubernetes v1.6.1+5115d708d7
etcd 3.1.0

# rpm -qa | grep openshift-ansible
openshift-ansible-lookup-plugins-3.6.84-1.git.0.72b2d74.el7.noarch
openshift-ansible-playbooks-3.6.84-1.git.0.72b2d74.el7.noarch
openshift-ansible-3.6.84-1.git.0.72b2d74.el7.noarch
openshift-ansible-callback-plugins-3.6.84-1.git.0.72b2d74.el7.noarch
openshift-ansible-roles-3.6.84-1.git.0.72b2d74.el7.noarch
openshift-ansible-docs-3.6.84-1.git.0.72b2d74.el7.noarch
openshift-ansible-filter-plugins-3.6.84-1.git.0.72b2d74.el7.noarch


How reproducible:
Always

Steps to Reproduce:
1.Deploy Metrics 3.6.0 via ansible.
2.
3.

Actual results:
Deployment is failed, it is required to install python-passlib rpm packages on the control host

Expected results:
Deployment should be successfully.

Additional info:
Attached ansible inventory file and running log.

Comment 1 Junqi Zhao 2017-05-25 05:13:53 UTC
Created attachment 1282131 [details]
ansible inventory file

Comment 2 Matt Wringe 2017-05-25 13:33:02 UTC
Re-assigning to the installer team.

Comment 3 Scott Dodson 2017-05-25 17:31:20 UTC

*** This bug has been marked as a duplicate of bug 1455310 ***