Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1497168 - Upgrade should be blocked if etcd3 is not currently in use
Upgrade should be blocked if etcd3 is not currently in use
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: Jan Chaloupka
liujia
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-29 07:03 EDT by liujia
Modified: 2017-11-28 17:13 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:13:46 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-09-29 07:03:21 EDT
Description of problem:
Run pre-upgrade/upgrade against ocp v3.6(upgraded from v3.5), pre-upgrade/upgrade should be blocked for no migration to etcd3. But actually verify_etcd3_backend.yml seems be skipped and upgrade can continue and succeed.

Version-Release number of the following components:
# rpm -qa|grep openshift
openshift-ansible-filter-plugins-3.7.0-0.134.0.git.0.6f43fc3.el7.noarch
openshift-ansible-playbooks-3.7.0-0.134.0.git.0.6f43fc3.el7.noarch
openshift-ansible-3.7.0-0.134.0.git.0.6f43fc3.el7.noarch
openshift-ansible-callback-plugins-3.7.0-0.134.0.git.0.6f43fc3.el7.noarch
openshift-ansible-roles-3.7.0-0.134.0.git.0.6f43fc3.el7.noarch
atomic-openshift-utils-3.7.0-0.134.0.git.0.6f43fc3.el7.noarch
openshift-ansible-docs-3.7.0-0.134.0.git.0.6f43fc3.el7.noarch
openshift-ansible-lookup-plugins-3.7.0-0.134.0.git.0.6f43fc3.el7.noarch
etcd-3.2.5-1.el7.x86_64


How reproducible:
always

Steps to Reproduce:
1. Install ocp v3.5
2. Upgrade ocp v3.5 to v3.6, but without etcd migration. 
# cat /etc/origin/master/master-config.yaml |grep -E 'etcd3|backend|storage'
3. Upgrade ocp v3.6 to v3.7


Actual results:
verify_etcd3_backend.yml was skipped and upgrade could continue and succeed.

Expected results:
Upgrade should be blocked if etcd3 is not currently in use 

Additional info:
inventory file and upgrade log in attachment.
Comment 3 Jan Chaloupka 2017-09-29 09:32:47 EDT
Upstream PR: https://github.com/openshift/openshift-ansible/pull/5520
Comment 4 Jan Chaloupka 2017-09-29 10:58:20 EDT
Upstream PR: https://github.com/openshift/openshift-ansible/pull/5593

The previous PR was checking the backend storage only if the control plane was upgraded. This checks the backend storage during the cluster upgrade.
Comment 5 liujia 2017-10-09 05:08:53 EDT
Version:
openshift-ansible-3.7.0-0.144.2.git.0.da1dd6c.el7.noarch

1. Install ocp v3.5
2. Upgrade ocp v3.5 to v3.6, but without etcd migration. 
# cat /etc/origin/master/master-config.yaml |grep -E 'etcd3|backend|storage'
3. Upgrade ocp v3.6 to v3.7

Upgrade was blocked for etcd3 is not currently in use.
Comment 9 errata-xmlrpc 2017-11-28 17:13:46 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.