Hi folks,
We are running into a issue on node reboot and on restart of network
manager. Post this activity sometime (NOT always) some of the interfaces do
not come up with configured ip address The configuration on OVS looks like
below
Bridge br_data
Port ecfe_cran
tag: 810
Interface ecfe_cran
type: internal
Port ccd_int
tag: 3220
Interface ccd_int
type: internal
Port ccd_backhaul
tag: 822
Interface ccd_backhaul
type: internal
Port ccd_midhaul
tag: 821
Interface ccd_midhaul
type: internal
Port ccd_ecfe_om
tag: 805
Interface ccd_ecfe_om
type: internal
Port ccd_hs_san
tag: 3609
Interface ccd_hs_san
type: internal
Port ccd_hs_repl
tag: 3608
Interface ccd_hs_repl
type: internal
Port ccd_om
tag: 801
Interface ccd_om
type: internal
Port bond_data
Interface bond_data
type: system
ovs_version: "2.14.2"
On further analysis , it seems that the even though network manager(NM)
sends a delete and add of the problematic interface to the OVSDB server ,
the vswitch process does not delete and add it .
2022-09-06T13:01:38.102Z|29503|jsonrpc|DBG|unix:/run/openvswitch/db.sock:
send request, method="transact",
params=["Open_vSwitch",{"lock":"ovs_vswitchd","op":"assert"},{"where":[["_uu
id","==",["uuid","4177a4b7-8d05-4f3d-a5c3-7c6aaf9d4cb6"]]],"row":{"cur_cfg":
4614},"op":"update","table":"Open_vSwitch"}], id=1552
2022-09-06T13:01:38.107Z|29506|jsonrpc|DBG|unix:/run/openvswitch/db.sock:
received notification, method="update3",
params=[["monid","Open_vSwitch"],"00000000-0000-0000-0000-000000000000",{"In
terface":{"a014bb2a-5c26-47e9-9e29-177d299fbf2e":{"delete":null}},"Port":{"4
3b5c9b6-18ca-4a29-997a-2adf2cbb92ac":{"delete":null}},"Bridge":{"f066df83-6e
85-4120-8c6c-7aecb493953d":{"delete":null}},"Open_vSwitch":{"4177a4b7-8d05-4
f3d-a5c3-7c6aaf9d4cb6":{"modify":{"bridges":["uuid","f066df83-6e85-4120-8c6c
-7aecb493953d"],"next_cfg":4615}}}}]
2022-09-06T13:01:38.107Z|29507|jsonrpc|DBG|unix:/run/openvswitch/db.sock:
received notification, method="update3",
params=[["monid","Open_vSwitch"],"00000000-0000-0000-0000-000000000000",{"In
terface":{"742c022b-e8b7-45d1-a738-a3c0107ee852":{"insert":{"name":"bond_dat
a","type":"system"}}},"Port":{"f39baeca-5d84-4716-bbc4-65b1fa574cf2":{"inser
t":{"name":"bond_data","interfaces":["uuid","742c022b-e8b7-45d1-a738-a3c0107
ee852"]}}},"Bridge":{"6e5e7d3d-582a-4a34-9b73-d5558ea4f019":{"insert":{"name
":"br_data","ports":["uuid","f39baeca-5d84-4716-bbc4-65b1fa574cf2"]}}},"Open
_vSwitch":{"4177a4b7-8d05-4f3d-a5c3-7c6aaf9d4cb6":{"modify":{"bridges":["uui
d","6e5e7d3d-582a-4a34-9b73-d5558ea4f019"],"next_cfg":4616}}}}]
2022-09-06T13:01:38.107Z|29508|jsonrpc|DBG|unix:/run/openvswitch/db.sock:
received notification, method="update3",
params=[["monid","Open_vSwitch"],"00000000-0000-0000-0000-000000000000",{"In
terface":{"343c7159-92f1-4eed-9925-3b5369185ae7":{"insert":{"name":"ccd_ecfe
_om","mtu_request":1500,"type":"internal"}}},"Port":{"d1de4f3d-c275-4d7d-8d3
c-69eb70f91618":{"insert":{"name":"ccd_ecfe_om","interfaces":["uuid","343c71
59-92f1-4eed-9925-3b5369185ae7"],"vlan_mode":"access","tag":805}}},"Bridge":
{"6e5e7d3d-582a-4a34-9b73-d5558ea4f019":{"modify":{"ports":["uuid","d1de4f3d
-c275-4d7d-8d3c-69eb70f91618"]}}},"Open_vSwitch":{"4177a4b7-8d05-4f3d-a5c3-7
c6aaf9d4cb6":{"modify":{"next_cfg":4617}}}}]
2022-09-06T13:01:38.107Z|29509|jsonrpc|DBG|unix:/run/openvswitch/db.sock:
received notification, method="update3",
params=[["monid","Open_vSwitch"],"00000000-0000-0000-0000-000000000000",{"In
terface":{"0dc33eae-1dab-4767-a43d-493e050e5bf2":{"insert":{"name":"ccd_hs_r
epl","mtu_request":9000,"type":"internal"}}},"Port":{"3ea58cf4-cac4-4d65-9e0
4-b9279ed2b68c":{"insert":{"name":"ccd_hs_repl","interfaces":["uuid","0dc33e
ae-1dab-4767-a43d-493e050e5bf2"],"vlan_mode":"access","tag":3608}}},"Bridge"
:{"6e5e7d3d-582a-4a34-9b73-d5558ea4f019":{"modify":{"ports":["uuid","3ea58cf
4-cac4-4d65-9e04-b9279ed2b68c"]}}},"Open_vSwitch":{"4177a4b7-8d05-4f3d-a5c3-
7c6aaf9d4cb6":{"modify":{"next_cfg":4618}}}}]
2022-09-06T13:01:38.107Z|29510|jsonrpc|DBG|unix:/run/openvswitch/db.sock:
received notification, method="update3",
params=[["monid","Open_vSwitch"],"00000000-0000-0000-0000-000000000000",{"In
terface":{"bba298eb-0796-41a1-9793-35abc68e67df":{"insert":{"name":"ccd_hs_s
an","mtu_request":9000,"type":"internal"}}},"Port":{"52526bd5-ee2c-4c7c-b4a3
-b2e364f4782f":{"insert":{"name":"ccd_hs_san","interfaces":["uuid","bba298eb
-0796-41a1-9793-35abc68e67df"],"vlan_mode":"access","tag":3609}}},"Bridge":{
"6e5e7d3d-582a-4a34-9b73-d5558ea4f019":{"modify":{"ports":["uuid","52526bd5-
ee2c-4c7c-b4a3-b2e364f4782f"]}}},"Open_vSwitch":{"4177a4b7-8d05-4f3d-a5c3-7c
6aaf9d4cb6":{"modify":{"next_cfg":4619}}}}]
2022-09-06T13:01:38.107Z|29511|jsonrpc|DBG|unix:/run/openvswitch/db.sock:
received notification, method="update3",
params=[["monid","Open_vSwitch"],"00000000-0000-0000-0000-000000000000",{"In
terface":{"4a224ab7-f893-4ed4-bc2d-0ede083536e0":{"insert":{"name":"ccd_int"
,"mtu_request":9000,"type":"internal"}}},"Port":{"4f71d0f5-6ca8-4340-bac2-79
bb8b40c26a":{"insert":{"name":"ccd_int","interfaces":["uuid","4a224ab7-f893-
4ed4-bc2d-0ede083536e0"],"vlan_mode":"access","tag":3220}}},"Bridge":{"6e5e7
d3d-582a-4a34-9b73-d5558ea4f019":{"modify":{"ports":["uuid","4f71d0f5-6ca8-4
340-bac2-79bb8b40c26a"]}}},"Open_vSwitch":{"4177a4b7-8d05-4f3d-a5c3-7c6aaf9d
4cb6":{"modify":{"next_cfg":4620}}}}]
2022-09-06T13:01:38.107Z|29512|jsonrpc|DBG|unix:/run/openvswitch/db.sock:
received notification, method="update3",
params=[["monid","Open_vSwitch"],"00000000-0000-0000-0000-000000000000",{"In
terface":{"7b41d416-f615-465f-8c3e-4c7a87d5390d":{"insert":{"name":"ccd_midh
aul","mtu_request":9000,"type":"internal"}}},"Port":{"bf2e171a-d799-45b5-872
a-00ace39c199e":{"insert":{"name":"ccd_midhaul","interfaces":["uuid","7b41d4
16-f615-465f-8c3e-4c7a87d5390d"],"vlan_mode":"access","tag":821}}},"Bridge":
{"6e5e7d3d-582a-4a34-9b73-d5558ea4f019":{"modify":{"ports":["uuid","bf2e171a
-d799-45b5-872a-00ace39c199e"]}}},"Open_vSwitch":{"4177a4b7-8d05-4f3d-a5c3-7
c6aaf9d4cb6":{"modify":{"next_cfg":4621}}}}]
2022-09-06T13:01:38.107Z|29513|jsonrpc|DBG|unix:/run/openvswitch/db.sock:
received notification, method="update3",
params=[["monid","Open_vSwitch"],"00000000-0000-0000-0000-000000000000",{"In
terface":{"94650ba1-884a-48f4-99d4-8b46a83e3cd6":{"insert":{"name":"ccd_om",
"mtu_request":9000,"type":"internal"}}},"Port":{"37d46211-5311-48e8-b13d-066
7f85d35a3":{"insert":{"name":"ccd_om","interfaces":["uuid","94650ba1-884a-48
f4-99d4-8b46a83e3cd6"],"vlan_mode":"access","tag":801}}},"Bridge":{"6e5e7d3d
-582a-4a34-9b73-d5558ea4f019":{"modify":{"ports":["uuid","37d46211-5311-48e8
-b13d-0667f85d35a3"]}}},"Open_vSwitch":{"4177a4b7-8d05-4f3d-a5c3-7c6aaf9d4cb
6":{"modify":{"next_cfg":4622}}}}]
2022-09-06T13:01:38.107Z|29514|jsonrpc|DBG|unix:/run/openvswitch/db.sock:
received notification, method="update3",
params=[["monid","Open_vSwitch"],"00000000-0000-0000-0000-000000000000",{"In
terface":{"6e16177b-eeae-43b2-b295-ee24dfef1aec":{"insert":{"name":"ecfe_cra
n","mtu_request":1500,"type":"internal"}}},"Port":{"308f9cf5-ab6e-41b6-a848-
2ab671e91359":{"insert":{"name":"ecfe_cran","interfaces":["uuid","6e16177b-e
eae-43b2-b295-ee24dfef1aec"],"vlan_mode":"access","tag":810}}},"Bridge":{"6e
5e7d3d-582a-4a34-9b73-d5558ea4f019":{"modify":{"ports":["uuid","308f9cf5-ab6
e-41b6-a848-2ab671e91359"]}}},"Open_vSwitch":{"4177a4b7-8d05-4f3d-a5c3-7c6aa
f9d4cb6":{"modify":{"next_cfg":4623}}}}]
2022-09-06T13:01:38.107Z|29515|jsonrpc|DBG|unix:/run/openvswitch/db.sock:
received notification, method="update3",
params=[["monid","Open_vSwitch"],"00000000-0000-0000-0000-000000000000",{"In
terface":{"c990e889-1f34-470c-a397-2a3065053535":{"insert":{"name":"ccd_back
haul","mtu_request":9000,"type":"internal"}}},"Port":{"fbf8fb38-225a-4503-ba
d2-b4959b5e6daa":{"insert":{"name":"ccd_backhaul","interfaces":["uuid","c990
e889-1f34-470c-a397-2a3065053535"],"vlan_mode":"access","tag":822}}},"Bridge
":{"6e5e7d3d-582a-4a34-9b73-d5558ea4f019":{"modify":{"ports":["uuid","fbf8fb
38-225a-4503-bad2-b4959b5e6daa"]}}},"Open_vSwitch":{"4177a4b7-8d05-4f3d-a5c3
-7c6aaf9d4cb6":{"modify":{"next_cfg":4624}}}}]
2022-09-06T13:01:38.107Z|29516|jsonrpc|DBG|unix:/run/openvswitch/db.sock:
received notification, method="update3",
params=[["monid","Open_vSwitch"],"00000000-0000-0000-0000-000000000000",{"Op
en_vSwitch":{"4177a4b7-8d05-4f3d-a5c3-7c6aaf9d4cb6":{"modify":{"cur_cfg":461
4}}}}]
2022-09-06T13:01:38.107Z|29517|jsonrpc|DBG|unix:/run/openvswitch/db.sock:
received reply, result=[{},{"count":1}], id=1552
It seems that the delete and add of that port come in a single transact from
the OVSDB server. It seems that delete and add are not propagated to the OF
layer . Is this a design decision and how can clients (Like network manager)
get over that ?
Regards & Thanks
Anju
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev