Bug 1668649
Summary: | [3.10]upgrade failed due to crio client and server mismatch | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Weihua Meng <wmeng> |
Component: | Cluster Version Operator | Assignee: | Russell Teague <rteague> |
Status: | CLOSED ERRATA | QA Contact: | Weihua Meng <wmeng> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 3.10.0 | CC: | aos-bugs, farandac, jokerman, mmccomas, rteague, vlaad, wmeng |
Target Milestone: | --- | ||
Target Release: | 3.10.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: Due to a breaking change (api endpoint updated) between crio 1.9 and 1.10, crictl 1.10 will not work with older versions of the crio service.
Consequence: During upgrades from openshift-ansible 3.9, the cri-tools package is updated/installed to 1.10 prior to image pre-pull tasks.
Fix: The pre-pull tasks are not critical to the upgrade process and errors from these tasks are now ignored allowing the upgrade to progress. Images are pulled during the upgrade after the crio service is upgraded.
Result: Upgrades from 3.9 to 3.10 complete as expected.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2019-03-14 02:15:34 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
Weihua Meng
2019-01-23 09:02:08 UTC
What version of the installer was used to install 3.9? The upgrade playbooks only assert that cri-tools are installed and they should've been installed when installing 3.9 with cri-o but but in yours it's installed during the upgrade in this task TASK [openshift_control_plane : Ensure cri-tools installed] ******************** OCP v3.9 was installed by openshift-ansible-3.9.65-1.git.0.a14009a.el7.noarch I did not see this task during OCP v3.9 install. TASK [openshift_control_plane : Ensure cri-tools installed] (In reply to Weihua Meng from comment #4) > OCP v3.9 was installed by > openshift-ansible-3.9.65-1.git.0.a14009a.el7.noarch > > I did not see this task during OCP v3.9 install. > TASK [openshift_control_plane : Ensure cri-tools installed] Sorry, I meant that was the task from your upgrade log that installed cri-tools which pulled the latest version because it wasn't previously installed. Taking another look at the 3.9 codebase cri-tools would've only been installed in 3.9 if it were upgraded from a release prior to 3.9 which seems like a problem unto itself. We'll have to look into possibly removing the dependency on cri-tools in the 3.9 to 3.10 upgrade codepath or some other way to make sure that we install a 3.9 version. Workaround would be to install cri-tools while running 3.9 and before enabling the 3.10 repo. The workaround works. The latest released openshift-ansible is openshift-ansible-3.10.89-1.git.0.14ed1cb.el7.noarch It has same issue, so this is not regression bug. Testing 3.9 crio cluster upgrades. Fixed. openshift-ansible-3.10.112-1.git.0.7823ef0.el7.noarch *** Bug 1680278 has been marked as a duplicate of this bug. *** 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:0405 |