Bug 2160762
| Summary: | ovn-controller doesn't create mac binding entries when it is upgraded to latest OVN (22.12) until the central components are upgraded too. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | OVN Bot <ovn-bot> |
| Component: | ovn22.09 | Assignee: | Ales Musil <amusil> |
| Status: | CLOSED ERRATA | QA Contact: | Jianlin Shi <jishi> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | FDP 21.K | CC: | amusil, ctrautma, jiji, mmichels |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovn22.09-22.09.0-31el9fdp | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-02-09 00:24:32 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-01-13 15:40:26 UTC
following steps in https://bugzilla.redhat.com/show_bug.cgi?id=2151066#c5 and https://bugzilla.redhat.com/show_bug.cgi?id=2151066#c7, reproduced on ovn22.09-22.09.0-11.el9: [root@dell-per740-33 ~]# systemctl restart ovn-controller [root@dell-per740-33 ~]# ovn-appctl -t ovn-controller vlog/set jsonrpc DBG [root@dell-per740-33 ~]# ip netns exec ls1p1 ping 192.168.2.100 -c 1 PING 192.168.2.100 (192.168.2.100) 56(84) bytes of data. 64 bytes from 192.168.2.100: icmp_seq=1 ttl=63 time=5.12 ms --- 192.168.2.100 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 5.117/5.117/5.117/0.000 ms [root@dell-per740-33 ~]# grep MAC_Binding /var/log/ovn/ovn-controller.log 2023-01-17T07:21:22.156Z|00010|ovsdb_idl|WARN|MAC_Binding table in OVN_Southbound database lacks timestamp column (database needs upgrade?) 2023-01-17T07:21:51.540Z|00269|jsonrpc|DBG|tcp:127.0.0.1:6642: send request, method="transact", params=["OVN_Southbound",{"row":{"mac":"ea:da:7d:2a:62:9c","datapath":["uuid","47edf893-d6b6-4e93-b61f-41b11f5f28fc"],"ip":"192.168.2.100","timestamp":1673940111540,"logical_port":"lr1-ls2"},"table":"MAC_Binding","op":"insert","uuid-name":"rowca0a00a7_ef9a_4e1e_b3b1_7bc4354aecdb"},{"op":"comment","comment":"ovn-controller"}], id=16 2023-01-17T07:21:51.541Z|00309|jsonrpc|DBG|tcp:127.0.0.1:6642: received reply, result=[{"error":"unknown column","details":"No column timestamp in table MAC_Binding.","syntax":"{\"datapath\":[\"uuid\",\"47edf893-d6b6-4e93-b61f-41b11f5f28fc\"],\"ip\":\"192.168.2.100\",\"logical_port\":\"lr1-ls2\",\"mac\":\"ea:da:7d:2a:62:9c\",\"timestamp\":1673940111540}"},null], id=16 2023-01-17T07:21:51.541Z|00310|ovsdb_idl|WARN|transaction error: {"details":"No column timestamp in table MAC_Binding.","error":"unknown column","syntax":"{\"datapath\":[\"uuid\",\"47edf893-d6b6-4e93-b61f-41b11f5f28fc\"],\"ip\":\"192.168.2.100\",\"logical_port\":\"lr1-ls2\",\"mac\":\"ea:da:7d:2a:62:9c\",\"timestamp\":1673940111540}"} 2023-01-17T07:21:56.715Z|01012|jsonrpc|DBG|tcp:127.0.0.1:6642: send request, method="transact", params=["OVN_Southbound",{"row":{"mac":"ea:da:7d:2a:62:9c","datapath":["uuid","47edf893-d6b6-4e93-b61f-41b11f5f28fc"],"ip":"192.168.2.100","timestamp":1673940116715,"logical_port":"lr1-ls2"},"table":"MAC_Binding","op":"insert","uuid-name":"rowb8254eb2_f64f_4868_82a0_c8d7813e72b4"},{"op":"comment","comment":"ovn-controller"}], id=17 2023-01-17T07:21:56.716Z|01052|jsonrpc|DBG|tcp:127.0.0.1:6642: received reply, result=[{"error":"unknown column","details":"No column timestamp in table MAC_Binding.","syntax":"{\"datapath\":[\"uuid\",\"47edf893-d6b6-4e93-b61f-41b11f5f28fc\"],\"ip\":\"192.168.2.100\",\"logical_port\":\"lr1-ls2\",\"mac\":\"ea:da:7d:2a:62:9c\",\"timestamp\":1673940116715}"},null], id=17 2023-01-17T07:21:56.716Z|01053|ovsdb_idl|WARN|transaction error: {"details":"No column timestamp in table MAC_Binding.","error":"unknown column","syntax":"{\"datapath\":[\"uuid\",\"47edf893-d6b6-4e93-b61f-41b11f5f28fc\"],\"ip\":\"192.168.2.100\",\"logical_port\":\"lr1-ls2\",\"mac\":\"ea:da:7d:2a:62:9c\",\"timestamp\":1673940116715}"} [root@dell-per740-33 ~]# rpm -qa | grep ovn ovn22.06-22.06.0-24.el9fdp.x86_64 ovn22.06-central-22.06.0-24.el9fdp.x86_64 ovn22.06-host-22.06.0-24.el9fdp.x86_64 ovn22.09-22.09.0-11.el9fdp.x86_64 ovn22.09-host-22.09.0-11.el9fdp.x86_64 [root@dell-per740-33 ~]# ovn-sbctl list mac_binding 2023-01-17T07:23:29Z|00001|ovsdb_idl|WARN|MAC_Binding table in OVN_Southbound database lacks timestamp column (database needs upgrade?) Verified on ovn22.09-22.09.0-31.el9: [root@dell-per740-33 ~]# systemctl restart ovn-controller [root@dell-per740-33 ~]# ovn-appctl -t ovn-controller vlog/set jsonrpc DBG [root@dell-per740-33 ~]# ip netns exec ls1p1 ping 192.168.2.100 -c 1 PING 192.168.2.100 (192.168.2.100) 56(84) bytes of data. 64 bytes from 192.168.2.100: icmp_seq=1 ttl=63 time=5.80 ms --- 192.168.2.100 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 5.803/5.803/5.803/0.000 ms [root@dell-per740-33 ~]# grep MAC_Binding /var/log/ovn/ovn-controller.log 2023-01-17T07:25:10.908Z|00010|ovsdb_idl|WARN|MAC_Binding table in OVN_Southbound database lacks timestamp column (database needs upgrade?) 2023-01-17T07:25:15.308Z|00188|jsonrpc|DBG|tcp:127.0.0.1:6642: send request, method="transact", params=["OVN_Southbound",{"row":{"mac":"0a:60:bf:f3:3d:b3","datapath":["uuid","f9047c0c-94c1-444f-8645-b1b14c8244ba"],"ip":"192.168.2.100","logical_port":"lr1-ls2"},"table":"MAC_Binding","op":"insert","uuid-name":"row0ecfa51c_c184_49e9_924d_eacc54c81cba"},{"op":"comment","comment":"ovn-controller"}], id=16 2023-01-17T07:25:15.310Z|00228|jsonrpc|DBG|tcp:127.0.0.1:6642: received notification, method="update3", params=[["monid","OVN_Southbound"],"00000000-0000-0000-0000-000000000000",{"MAC_Binding":{"927935e2-db82-4c44-932b-22f0ea87db6b":{"insert":{"mac":"0a:60:bf:f3:3d:b3","datapath":["uuid","f9047c0c-94c1-444f-8645-b1b14c8244ba"],"ip":"192.168.2.100","logical_port":"lr1-ls2"}}}}] [root@dell-per740-33 ~]# rpm -qa | grep ovn ovn22.06-22.06.0-24.el9fdp.x86_64 ovn22.06-central-22.06.0-24.el9fdp.x86_64 ovn22.06-host-22.06.0-24.el9fdp.x86_64 ovn22.09-22.09.0-31.el9fdp.x86_64 ovn22.09-host-22.09.0-31.el9fdp.x86_64 [root@dell-per740-33 ~]# ovn-sbctl list mac_binding 2023-01-17T07:25:26Z|00001|ovsdb_idl|WARN|MAC_Binding table in OVN_Southbound database lacks timestamp column (database needs upgrade?) _uuid : 927935e2-db82-4c44-932b-22f0ea87db6b datapath : f9047c0c-94c1-444f-8645-b1b14c8244ba ip : "192.168.2.100" logical_port : lr1-ls2 mac : "0a:60:bf:f3:3d:b3" timestamp : 0 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 (ovn22.09 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:0684 |