> * ovsdb-tool -mm show-log /etc/openvswitch/conf.db > after a reboot. Are you seeing no history? Or do you see commands that > delete the bridges?
Commands deleting the bridges. I checked another system which used the Ubuntu native build and didn't see the same behavior. The commands recorded in the database look like they come from ifupdown.sh. (See http://pastebin.com/C9zbNuia for full transaction history.) > * Are you configuring/creating your bridges using the 'interfaces' > file? If so, copy paste its contents. # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet dhcp # The virtualization network interface auto eth1 allow-ovsbr0 eth1 iface eth1 inet manual ovs_bridge ovsbr0 ovs_type OVSPort pre-up ifconfig $IFACE up post-down ifconfig $IFACE down auto ovsbr0 allow-ovs ovsbr0 iface ovsbr0 inet manual ovs_type OVSBridge ovs_ports ovsbr0 pre-up ifconfig $IFACE up post-down ifconfig $IFACE down auto ovsbr1 allow-ovs ovsbr1 iface ovsbr1 inet manual ovs_type OVSBridge ovs_ports ovsbr1 pre-up ifconfig $IFACE up post-down ifconfig $IFACE down > * Looks like your are using the OVS master branch, which is a > development branch and it is possible that there is a bug. Can you try > using 2.3 the branch instead (.90 indicates master branch) to make > sure that this is something else and I can more easily track it down. Ok, will try shortly. Dave
record 0: "Open_vSwitch" schema, version="8.0.0", cksum="867114045 21497" record 1: 2014-10-08 00:33:26.489 "ovs-vsctl: ovs-vsctl --no-wait init" table Open_vSwitch insert row 0fe4851d: record 2: 2014-10-08 00:33:53.730 "ovs-vsctl: ovs-vsctl add-br ovsbr0" table Port insert row "ovsbr0" (81bad440): table Interface insert row "ovsbr0" (3b15da5f): table Bridge insert row "ovsbr0" (88ee43cb): table Open_vSwitch row 0fe4851d (0fe4851d): record 3: 2014-10-08 00:34:23.585 table Interface row "ovsbr0" (3b15da5f): table Open_vSwitch row 0fe4851d (0fe4851d): record 4: 2014-10-08 00:34:51.154 "ovs-vsctl: ovs-vsctl add-port ovsbr0 eth1" table Interface insert row "eth1" (919c78db): table Port insert row "eth1" (a33f2a95): table Bridge row "ovsbr0" (88ee43cb): table Open_vSwitch row 0fe4851d (0fe4851d): record 5: 2014-10-08 00:34:51.159 table Interface row "eth1" (919c78db): table Open_vSwitch row 0fe4851d (0fe4851d): record 6: 2014-10-08 00:35:02.750 "ovs-vsctl: ovs-vsctl add-br ovsbr1" table Port insert row "ovsbr1" (ecb0020d): table Interface insert row "ovsbr1" (132ba131): table Bridge insert row "ovsbr1" (d8e421f9): table Open_vSwitch row 0fe4851d (0fe4851d): record 7: 2014-10-08 00:35:02.769 table Interface row "ovsbr1" (132ba131): table Open_vSwitch row 0fe4851d (0fe4851d): record 8: 2014-10-08 00:35:40.457 "ovs-vsctl: ovs-vsctl --no-wait -- init -- set Open_vSwitch . db-version=8.0.0" table Open_vSwitch row 0fe4851d (0fe4851d): record 9: 2014-10-08 00:35:40.491 "ovs-vsctl: ovs-vsctl --no-wait set Open_vSwitch . ovs-version=2.3.90 "external-ids:system-id=\"f0a450a7-5773-4287-af9e-b586a087b661\"" "system-type=\"Ubuntu\"" "system-version=\"14.04-trusty\""" table Open_vSwitch row 0fe4851d (0fe4851d): record 10: 2014-10-08 00:35:41.107 "ovs-vsctl: ovs-vsctl --timeout=5 -- --if-exists del-br ovsbr1" table Interface row "ovsbr1" (132ba131): delete row table Port row "ovsbr1" (ecb0020d): delete row table Bridge row "ovsbr1" (d8e421f9): delete row table Open_vSwitch row 0fe4851d (0fe4851d): record 11: 2014-10-08 00:35:41.150 table Open_vSwitch row 0fe4851d (0fe4851d): record 12: 2014-10-08 00:35:41.631 "ovs-vsctl: ovs-vsctl --timeout=5 -- --if-exists del-br ovsbr0" table Interface row "ovsbr0" (3b15da5f): delete row table Interface row "eth1" (919c78db): delete row table Port row "ovsbr0" (81bad440): delete row table Port row "eth1" (a33f2a95): delete row table Bridge row "ovsbr0" (88ee43cb): delete row table Open_vSwitch row 0fe4851d (0fe4851d): record 13: 2014-10-08 00:35:41.701 table Open_vSwitch row 0fe4851d (0fe4851d): record 14: 2014-10-08 00:39:29.574 "ovs-vsctl: ovs-vsctl add-br ovsbr0" table Port insert row "ovsbr0" (ea1882cd): table Interface insert row "ovsbr0" (731a86ab): table Bridge insert row "ovsbr0" (bed2a3cb): table Open_vSwitch row 0fe4851d (0fe4851d): record 15: 2014-10-08 00:39:29.692 table Interface row "ovsbr0" (731a86ab): table Open_vSwitch row 0fe4851d (0fe4851d): record 16: 2014-10-08 00:39:40.406 "ovs-vsctl: ovs-vsctl add-port ovsbr0 eth1" table Port insert row "eth1" (61cc8062): table Interface insert row "eth1" (49eba324): table Bridge row "ovsbr0" (bed2a3cb): table Open_vSwitch row 0fe4851d (0fe4851d): record 17: 2014-10-08 00:39:40.410 table Interface row "eth1" (49eba324): table Open_vSwitch row 0fe4851d (0fe4851d): record 18: 2014-10-08 00:40:03.778 "ovs-vsctl: ovs-vsctl add-br ovsbr1" table Interface insert row "ovsbr1" (0d3bf1b5): table Port insert row "ovsbr1" (fde594ca): table Bridge insert row "ovsbr1" (5c1c5ba7): table Open_vSwitch row 0fe4851d (0fe4851d): record 19: 2014-10-08 00:40:03.813 table Interface row "ovsbr1" (0d3bf1b5): table Open_vSwitch row 0fe4851d (0fe4851d): record 20: 2014-10-08 00:41:51.638 "ovs-vsctl: ovs-vsctl --timeout=5 -- --if-exists del-br ovsbr1" table Interface row "ovsbr1" (0d3bf1b5): delete row table Port row "ovsbr1" (fde594ca): delete row table Bridge row "ovsbr1" (5c1c5ba7): delete row table Open_vSwitch row 0fe4851d (0fe4851d): record 21: 2014-10-08 00:41:51.686 table Open_vSwitch row 0fe4851d (0fe4851d): record 22: 2014-10-08 00:41:52.141 "ovs-vsctl: ovs-vsctl --timeout=5 -- --if-exists del-br ovsbr0" table Interface row "ovsbr0" (731a86ab): delete row table Interface row "eth1" (49eba324): delete row table Port row "ovsbr0" (ea1882cd): delete row table Port row "eth1" (61cc8062): delete row table Bridge row "ovsbr0" (bed2a3cb): delete row table Open_vSwitch row 0fe4851d (0fe4851d): record 23: 2014-10-08 00:41:52.213 table Open_vSwitch row 0fe4851d (0fe4851d): record 24: 2014-10-08 01:23:44.317 "ovs-vsctl: ovs-vsctl add-br ovsbr0" table Interface insert row "ovsbr0" (d57f6e50): table Port insert row "ovsbr0" (5519a60c): table Bridge insert row "ovsbr0" (e1d444d3): table Open_vSwitch row 0fe4851d (0fe4851d): record 25: 2014-10-08 01:23:44.426 table Interface row "ovsbr0" (d57f6e50): table Open_vSwitch row 0fe4851d (0fe4851d): record 26: 2014-10-08 02:03:21.255 "ovs-vsctl: ovs-vsctl --timeout=5 -- --if-exists del-br ovsbr0" table Interface row "ovsbr0" (d57f6e50): delete row table Port row "ovsbr0" (5519a60c): delete row table Bridge row "ovsbr0" (e1d444d3): delete row table Open_vSwitch row 0fe4851d (0fe4851d): record 27: 2014-10-08 02:03:21.325 table Open_vSwitch row 0fe4851d (0fe4851d): record 28: 2014-10-08 03:27:21.793 "ovs-vsctl: ovs-vsctl add-br ovsbr0" table Interface insert row "ovsbr0" (3b091211): table Port insert row "ovsbr0" (e853c810): table Bridge insert row "ovsbr0" (e60be204): table Open_vSwitch row 0fe4851d (0fe4851d): record 29: 2014-10-08 03:27:21.947 table Interface row "ovsbr0" (3b091211): table Open_vSwitch row 0fe4851d (0fe4851d): record 30: 2014-10-08 03:29:54.388 "ovs-vsctl: ovs-vsctl --timeout=5 -- --if-exists del-br ovsbr0" table Interface row "ovsbr0" (3b091211): delete row table Port row "ovsbr0" (e853c810): delete row table Bridge row "ovsbr0" (e60be204): delete row table Open_vSwitch row 0fe4851d (0fe4851d): record 31: 2014-10-08 03:29:54.474 table Open_vSwitch row 0fe4851d (0fe4851d): record 32: 2014-10-08 04:19:31.903 "ovs-vsctl: ovs-vsctl add-br ovsbr0" table Port insert row "ovsbr0" (ab481083): table Interface insert row "ovsbr0" (8de83459): table Bridge insert row "ovsbr0" (874d2950): table Open_vSwitch row 0fe4851d (0fe4851d): record 33: 2014-10-08 04:19:32.025 table Interface row "ovsbr0" (8de83459): table Open_vSwitch row 0fe4851d (0fe4851d): record 34: 2014-10-08 04:19:47.731 "ovs-vsctl: ovs-vsctl add-port ovsbr0 eth1" table Interface insert row "eth1" (c08d0a6b): table Port insert row "eth1" (b8a5d923): table Bridge row "ovsbr0" (874d2950): table Open_vSwitch row 0fe4851d (0fe4851d): record 35: 2014-10-08 04:19:47.735 table Interface row "eth1" (c08d0a6b): table Open_vSwitch row 0fe4851d (0fe4851d): record 36: 2014-10-08 04:19:50.811 "ovs-vsctl: ovs-vsctl add-br ovsbr1" table Port insert row "ovsbr1" (1aa309c1): table Interface insert row "ovsbr1" (e0f23c36): table Bridge insert row "ovsbr1" (6f2a0770): table Open_vSwitch row 0fe4851d (0fe4851d): record 37: 2014-10-08 04:19:50.841 table Interface row "ovsbr1" (e0f23c36): table Open_vSwitch row 0fe4851d (0fe4851d):
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
