djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
hamburgler3 has quit [Quit: Leaving]
hamburgler has joined #openvswitch
hamburgler has quit [Remote host closed the connection]
hamburgler has joined #openvswitch
hamburgler has quit [Remote host closed the connection]
hamburgler has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
Guest93 has joined #openvswitch
Guest93 has quit [Client Quit]
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
donhw has quit [Read error: Connection reset by peer]
donhw has joined #openvswitch
kuraudo has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
froyo has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
GNUmoon2 has quit [Remote host closed the connection]
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
GNUmoon2 has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
GNUmoon2 has quit [Remote host closed the connection]
GNUmoon2 has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
donhw has quit [Read error: Connection reset by peer]
donhw has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
unixpro1970 has quit [Ping timeout: 240 seconds]
unixpro1970 has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
racosta has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
tpires has joined #openvswitch
donhw has quit [Read error: Connection reset by peer]
donhw has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
cpaelzer_ has joined #openvswitch
cpaelzer_ has quit [Changing host]
cpaelzer_ has joined #openvswitch
cpaelzer has quit [Ping timeout: 240 seconds]
tpires_ has joined #openvswitch
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
tpires has quit [Ping timeout: 240 seconds]
djhankb has quit [Remote host closed the connection]
djhankb has joined #openvswitch
<racosta>
Hi imaximets, how are you?
<racosta>
I found an issue with deleting datapath_binding row but I don't know how to solve it without touching ovn-sb.ovsschema
<imaximets>
Hi
<imaximets>
What's the issue?
<racosta>
Basically, since the tunney_key is updated when we create a transit-switch, the deletion process fail when we have ovsdbapp clients monitoring the Datapath_Binding table
djhankb has quit [Remote host closed the connection]
<racosta>
The tunnel_key is index of this table: "indexes": [["tunnel_key"]],
djhankb has joined #openvswitch
<racosta>
I see something like this in the log of the app connected to SB-DB via ovsdbapp: "2024-05-27 08:31:01.380 13427 ERROR ovsdbapp.backend.ovs_idl.connection [-] Datapath_Binding(uuid=UUID('2c737e09-7b76-4c7f-8855-b25d0096fe10'), tunnel_key=16711682, load_balancers=[], external_ids={}) not in list: ValueError: Datapath_Binding(uuid=UUID('2c737e09-7b76-4c7f-8855-b25d0096fe10'), tunnel_key=16711682, load_balancers=[], external_ids={})
<racosta>
not in list"
<racosta>
I removed the index from the Datapath_Binding table and the error stopped...
<racosta>
Do you have any ideas to solve it without changing the DB schema?
<imaximets>
It sounds like ovsdbapp is trying to remove an element from a local cache that is not there. Doesn't sound like some issue in ovsdbapp rather in a database.
<imaximets>
Do you know what ovsdbapp is doing?
<imaximets>
s/Doesn't sound/Sounds like/ :)
<imaximets>
Schema change might have just forced ovsdbapp to drop and re-create the cache.
<racosta>
I imagine that the problem is not related to the local cache because I restart the process to perform a row sync and it still shows an error when deleting.
<imaximets>
Does this datapath binding exist in the database?
<racosta>
Yes, the row exists and was updated with the UPDATE for the new tunnel_key...
atmark has joined #openvswitch
<imaximets>
Does it complain about the old or a new tunnel key?
<racosta>
The Datapath_binding row 2c737e09-7b76-4c7f-8855-b25d0096fe10 is created, updated with the new tunnel_key... and then deleted when I type the ts-del command...
djhankb has quit [Remote host closed the connection]
<imaximets>
racosta, hmm, I think python-idl is missing the index update when indexed columns change.
<racosta>
yep, it probably expects the table indexes not to change.
<racosta>
This issue affects neutron-server, neutron-ovn-metadata-agent, and everyone using python-idl, when the tunnel_key is updated and then deleted.
<imaximets>
Yeah, it will affect everyone...
<imaximets>
*does
<racosta>
Do you think this should be fixed on the python-idl side or in the OVN SB-DB schma db so as not to index this table by tunnel_key?
<imaximets>
It must be fixed in python-idl. Database and the schema are correct.