Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1508755 - Failed to upgrade nodes for non-ha containerized env
Failed to upgrade nodes for non-ha containerized env
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Upgrade (Show other bugs)
3.7.0
Unspecified Unspecified
high Severity high
: ---
: 3.7.0
Assigned To: Michael Gugino
liujia
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-11-02 03:05 EDT by liujia
Modified: 2017-11-28 17:20 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-11-28 17:20:57 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-28 21:34:54 EST

  None (edit)
Description liujia 2017-11-02 03:05:24 EDT
Description of problem:
Upgrade nodes failed if ocp containerized deployed with non-ha. 

PLAY [Verify masters are already upgraded] **********************************************************************************************************************************

TASK [Gathering Facts] ******************************************************************************************************************************************************
ok: [x.x.x.x]

TASK [fail] *****************************************************************************************************************************************************************
fatal: [x.x.x.x]: FAILED! => {"changed": false, "failed": true, "msg": "Master running 3.6.173.0.63 must be upgraded to 3.7.0 before node upgrade can be run."}
	to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_7/upgrade_nodes.retry

================Debug info
When upgrade masters, master has been spitted into master-api and master-controllers. Only IMAGE_VERSION in api&controller service has been set to "v3.7.0" but not master service. And it seems that openshift.common.version came from /etc/sysconfig/atomic-openshift-master.

# cat atomic-openshift-master|grep IMAGE
IMAGE_VERSION=v3.6.173.0.63
# cat atomic-openshift-master-api|grep IMAGE
IMAGE_VERSION=v3.7.0

Version-Release number of the following components:
openshift-ansible-3.7.0-0.189.0.git.0.d497c5e.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. Install ocp v3.6(containerized with non-ha deployed)
2. Upgrade masters
3. Upgrade nodes
# ansible-playbook -i hosts /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_7/upgrade_nodes.yml

Actual results:
Upgrade nodes failed.

Expected results:
Upgrade nodes succeed.

Additional info:
Inventory file and log in attachment.
Comment 3 Michael Gugino 2017-11-03 12:10:16 EDT
PR Created: https://github.com/openshift/openshift-ansible/pull/6005
Comment 5 liujia 2017-11-06 21:04:33 EST
Verified on openshift-ansible-3.7.0-0.196.0.git.0.27cd7ec.el7.noarch
Comment 8 errata-xmlrpc 2017-11-28 17:20:57 EST
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/RHSA-2017:3188

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