Hi,
I was trying to create a clustered ovsdb with three ovsdb-servers.
- *Node 1*: sudo ovsdb-tool create-cluster /etc/trial/cluster.db
/etc/trial/cluster.ovsschema tcp:[ip_1]:6000
- *Node 2*: sudo ovsdb-tool join-cluster /etc/trial/cluster.db cluster
tcp:[ip_2]:6000 tcp:[ip_1]:6000
- *Node 3*: sudo ovsdb-tool join-cluster /etc/trial/cluster.db cluster
tcp:[ip_3]:6000 tcp:[ip_1]:6000
On all nodes,
- sudo ovsdb-server --pidfile --detach --log-file --remote ptcp:6222
/etc/trial/cluster.db
When the ovsdb-client does a transaction on Node 1 using only Node1 IP, it
works fine. However, on another Node, below error is shown:
- sudo ovsdb-client transact
tcp:[ip_3]:6222,tcp:[ip_2]:6222,tcp:[ip_3]:6222 '["cluster",{"op":"insert",
"table":"List", "row":{"name":"Item 1"} }]'
*error: ovsdb-client: transaction returned error:** {"details":"transact
request specifies database cluster which is not yet available because it
has not completed joining its cluster","error":"database not available"}*
Please let me know if I'm missing something.
Thanks,
Regards,
Rutuja
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss