Bug 1425688

Summary: Upgrade failed at Task Wait for node to be ready
Product: OpenShift Container Platform Reporter: Anping Li <anli>
Component: Cluster Version OperatorAssignee: Russell Teague <rteague>
Status: CLOSED CURRENTRELEASE QA Contact: Anping Li <anli>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: aos-bugs, jokerman, mifiedle, mmccomas, vlaad
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-03-08 13:41:12 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 Anping Li 2017-02-22 05:58:20 UTC
Description of problem:
The upgrade failed at TASK [openshift_node_upgrade : Wait for node to be ready] 

TASK [openshift_node_upgrade : Wait for node to be ready] **********************
fatal: [openshift-181.lab.eng.nay.redhat.com]: FAILED! => {
    "failed": true
}

MSG:
The conditional check 'node_output.results.results[0].status.conditions | selectattr('type', 'equalto', 'Ready') | map(attribute='status') | join | bool == True' failed. The error was: no test named 'equalto'




Version-Release number of selected component (if applicable):
openshift-ansible-3.5.13-1.git.0.562e91d.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. install v3.4
2. Upgrade to v3.5
ansible-playbook -i /root/workdir/hosts /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_5/upgrade_control_plane.yml -v



Actual results:
Upgrade failed for the following message:

MSG:
The conditional check 'node_output.results.results[0].status.conditions | selectattr('type', 'equalto', 'Ready') | map(attribute='status') | join | bool == True' failed. The error was: no test named 'equalto'
NO MORE HOSTS LEFT *************************************************************
        to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_5/upgrade_control_plane.retry



Expected results:


Additional info:

Comment 3 Russell Teague 2017-02-23 14:13:40 UTC
I'll open a PR to switch the test to 'match'.

Comment 6 Anping Li 2017-02-27 02:51:41 UTC
Upgrade pass with atomic-openshift-utils-3.5.15-1.git.0.8d2a456.el7.noarch