Bug 2203015

Summary: Controller should clear unknown feature flags
Product: Red Hat Enterprise Linux Fast Datapath Reporter: OVN Bot <ovn-bot>
Component: ovn23.06Assignee: Ales Musil <amusil>
Status: CLOSED ERRATA 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: ovn23.06-23.06.0-beta.118.el9fdp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-20 01:19:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OVN Bot 2023-05-11 04:09:59 UTC
This is an automatically-generated clone of issue https://bugzilla.redhat.com/show_bug.cgi?id=2161529

Comment 3 Ehsan Elahi 2023-08-22 11:37:56 UTC
Verified on:

[root@hp-dl388g10-01 bz_2203015]# rpm -qa | grep -E 'ovn|openvswitch'
openvswitch-selinux-extra-policy-1.0-34.el9fdp.noarch
openvswitch2.17-2.17.0-95.el9fdp.x86_64
ovn23.06-23.06.0-36.el9fdp.x86_64
ovn23.06-host-23.06.0-36.el9fdp.x86_64
ovn23.06-central-23.06.0-36.el9fdp.x86_64


Here is the reproducer


systemctl start ovn-northd
ovn-nbctl set-connection ptcp:6641
ovn-sbctl set-connection ptcp:6642
systemctl start openvswitch
ovs-vsctl set open . external_ids:system-id=hv1
ovs-vsctl set open . external_ids:ovn-remote=tcp:42.42.42.1:6642
ovs-vsctl set open . external_ids:ovn-encap-type=geneve
ovs-vsctl set open . external_ids:ovn-encap-ip=42.42.42.1
systemctl restart ovn-controller

ovs-vsctl add-br br-phys
ovn-nbctl --wait=sb sync

chassis_id=$(ovn-sbctl --columns _uuid --bare find chassis name=hv1)
ovn-sbctl set chassis $chassis_id other_config:unsupported="dummy"

[root@hp-dl388g10-01 bz_2203015]# ovn-sbctl find chassis
_uuid               : 88af4702-5a6b-4e42-9e7e-e4427f25f085
encaps              : [548ce531-5635-4f33-a0bf-6cc1ee3b79c7]
external_ids        : {}
hostname            : hp-dl388g10-01.rhts.eng.pek2.redhat.com
name                : hv1
nb_cfg              : 0
other_config        : {ct-no-masked-label="true", datapath-type=system, iface-types="bareudp,erspan,geneve,gre,gtpu,internal,ip6erspan,ip6gre,lisp,patch,stt,system,tap,vxlan", is-interconn="false", mac-binding-timestamp="true", ovn-bridge-mappings="", ovn-chassis-mac-mappings="", ovn-cms-options="", ovn-ct-lb-related="true", ovn-enable-lflow-cache="true", ovn-limit-lflow-cache="", ovn-memlimit-lflow-cache-kb="", ovn-monitor-all="false", ovn-trim-limit-lflow-cache="", ovn-trim-timeout-ms="", ovn-trim-wmark-perc-lflow-cache="", port-up-notif="true"}
transport_zones     : []
vtep_logical_switches: []

<=========== no "unsupported" feature present in the chassis table

[root@hp-dl388g10-01 bz_2203015]# cat /var/log/ovn/ovn-controller.log |grep "Removing unsupported key \"unsupported\" from chassis record."
2023-08-22T11:14:06.550Z|00027|chassis|WARN|Removing unsupported key "unsupported" from chassis record.

<============== "unsupported" key removed

Comment 5 errata-xmlrpc 2023-09-20 01:19:42 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 (ovn23.06 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/RHBA-2023:5306