Bug 1430231
Summary: | Failed to upgrade ocp3.4 to 3.5 when enabled excluders in the cluster | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | liujia <jiajliu> |
Component: | Cluster Version Operator | Assignee: | Jan Chaloupka <jchaloup> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Anping Li <anli> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 3.5.0 | CC: | aos-bugs, jokerman, mmccomas, xtian |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openshift-ansible-3.5.27-1.git.0.08cda99.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-03-13 12:03:47 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
liujia
2017-03-08 06:07:33 UTC
Based on https://docs.openshift.com/container-platform/3.4/install_config/upgrading/automated_upgrades.html#upgrading-using-the-installation-utility-to-upgrade, the openshift excluder needs to be unexcluded if installed by running: # atomic-openshift-excluder unexclude before the upgrade. What I could do is to test if the enable_openshift_excluder is not set and if the atomic-openshift-excluder is installed. If it is I could call the unexclude command so the OCP version is retrieved. But then without running the exclude command at the end of the upgrade. Or state that if the openshift excluder is installed and it is excluding, user need to unexclude it (as a fail message in the ansible). But running the unexclude command is exactly what is described in the docs. fixed in openshift-ansible-3.5.27-1.git.0.08cda99.el7 by defaulting to managing the excluders Version: atomic-openshift-utils-3.5.28-1.git.0.103513e.el7.noarch Steps: 1. Install OCP3.4 2. Install atomic-openshift-excluder and atomic-openshift-docker-excluder(enabled by default) 3. Prepare 3.5 repo and upgrade 3.4 to 3.5 Result: Upgrade successfully. |