Bug 1908914

Summary: CNO: upgrade nodes before masters
Product: OpenShift Container Platform Reporter: Dan Williams <dcbw>
Component: NetworkingAssignee: Casey Callendrello <cdc>
Networking sub component: ovn-kubernetes QA Contact: Anurag saxena <anusaxen>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: aconstan, anbhat, bbennett, cdc
Version: 4.6.z   
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1950094 (view as bug list) Environment:
Last Closed: 2021-02-24 15:46:26 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: 1920445    
Bug Blocks: 1908765, 1950094    

Description Dan Williams 2020-12-17 22:14:34 UTC
OVN has always had a node-before-master upgrade strategy, where ovn-controller is kept compatible with SBDB schema and format changes for a couple versions. The expectation is that all ovn-controllers are updated first, and only when compatible ovn-controllers are running does ovn-northd get upgraded and potentially make incompatible database changes.

If this strategy isn't followed (which is the case with OpenShift which upgrades masters first) then older ovn-controllers may not understand the new changes to SBDB and might not install those flows to OVS, leading to missing flows.

The CNO should be changed to upgrade the ovn-kubernetes node daemonset first, and whne all nodes in the cluster have been updated, then upgrade the master pods.

Comment 1 Dan Williams 2020-12-17 22:18:37 UTC
https://issues.redhat.com/browse/SDN-1373

Comment 7 errata-xmlrpc 2021-02-24 15:46:26 UTC
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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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-2020:5633

Comment 8 Casey Callendrello 2021-04-20 15:17:35 UTC
*** Bug 1915970 has been marked as a duplicate of this bug. ***