Bug 2161529

Summary: Controller should clear unknown feature flags
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Ales Musil <amusil>
Component: ovn22.12Assignee: Ales Musil <amusil>
Status: CLOSED UPSTREAM QA Contact: Ehsan Elahi <eelahi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: FDP 22.ECC: ctrautma, dcbw, jiji, jishi, mmichels
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-01 13:17:28 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 Ales Musil 2023-01-17 08:18:33 UTC
Description of problem:
We store available features for particular controller in other_config of chassis
table. If we install a controller version that has new feature it gets added into other_config. However the flag is not cleared when user decides to downgrade below that feature. Northd still assumes that the controller supports the feature and generates logical flows accordingly, which might not work on the downgraded controller. 


Solution would be to keep list of known features and remove anything that is not part of that list.

Comment 1 Ales Musil 2023-01-25 11:46:49 UTC
Patches posted u/s: https://patchwork.ozlabs.org/project/ovn/list/?series=338416

Comment 2 OVN Bot 2023-05-11 04:10:28 UTC
ovn23.06 fast-datapath-rhel-8 clone created at https://bugzilla.redhat.com/show_bug.cgi?id=2203014
ovn23.06 fast-datapath-rhel-9 clone created at https://bugzilla.redhat.com/show_bug.cgi?id=2203015

Comment 7 Mark Michelson 2023-08-01 13:17:28 UTC
This issue is being closed as "UPSTREAM" since it is fixed upstream and is not being backported to ovn22.12.