Bug 1655674
Summary: | Node label `type=upgrade` is ignored when upgrading OCP | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Michael Gugino <mgugino> |
Component: | Cluster Version Operator | Assignee: | Michael Gugino <mgugino> |
Status: | CLOSED ERRATA | QA Contact: | Gaoyun Pei <gpei> |
Severity: | urgent | Docs Contact: | |
Priority: | high | ||
Version: | 3.10.0 | CC: | aabhishe, aos-bugs, cshereme, gpei, grodrigu, jokerman, mforbush, mgugino, mmccomas, wmeng |
Target Milestone: | --- | ||
Target Release: | 3.10.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1649074 | Environment: | |
Last Closed: | 2019-01-10 09:27: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: | |||
Bug Depends On: | 1649074 | ||
Bug Blocks: |
Comment 1
Michael Gugino
2018-12-03 16:38:19 UTC
Verified this bug with openshift-ansible-3.10.89-1.git.0.14ed1cb.el7.noarch. [root@qe-gpei-392node-registry-router-2 ~]# hostname -f qe-gpei-392node-registry-router-2.int.1219-2wr.qe.rhcloud.com Add label "type=upgrade" to node 'qe-gpei-392node-registry-router-2' [root@qe-gpei-392master-etcd-1 ~]# oc label node qe-gpei-392node-registry-router-2 type=upgrade node "qe-gpei-392node-registry-router-2" labeled ansible-playbook -i 392 /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_10/upgrade.yml -e openshift_upgrade_nodes_label="type=upgrade" <-snip-> TASK [Retrieve list of openshift nodes matching upgrade label] ************************************************************************************************************** ok: [host-8-252-51.host.centralci.eng.rdu2.redhat.com] TASK [Fail if no nodes match openshift_upgrade_nodes_label] ***************************************************************************************************************** skipping: [host-8-252-51.host.centralci.eng.rdu2.redhat.com] TASK [Map labelled nodes to inventory hosts] ******************************************************************************************************************************** skipping: [host-8-252-51.host.centralci.eng.rdu2.redhat.com] => (item=host-8-252-51.host.centralci.eng.rdu2.redhat.com) skipping: [host-8-252-51.host.centralci.eng.rdu2.redhat.com] => (item=host-8-252-78.host.centralci.eng.rdu2.redhat.com) ok: [host-8-252-51.host.centralci.eng.rdu2.redhat.com] => (item=host-8-247-160.host.centralci.eng.rdu2.redhat.com) <-snip-> [root@qe-gpei-392master-etcd-1 ~]# oc get node NAME STATUS ROLES AGE VERSION qe-gpei-392master-etcd-1 Ready master 2h v1.10.0+b81c8f8 qe-gpei-392node-registry-router-1 Ready compute 2h v1.9.1+a0ce1bc657 qe-gpei-392node-registry-router-2 Ready compute 2h v1.10.0+b81c8f8 Only qe-gpei-392node-registry-router-2 node got upgraded. 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/RHBA-2019:0026 Created attachment 1527862 [details]
cisco inventory file
|