Bug 1425688 - Upgrade failed at Task Wait for node to be ready
Summary: Upgrade failed at Task Wait for node to be ready
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Russell Teague
QA Contact: Anping Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-22 05:58 UTC by Anping Li
Modified: 2017-07-24 14:11 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-08 13:41:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0903 0 normal SHIPPED_LIVE OpenShift Container Platform atomic-openshift-utils bug fix and enhancement 2017-04-12 22:45:42 UTC

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


Note You need to log in before you can comment on or make changes to this bug.