Details
-
Bug
-
Status: Resolved
-
Resolution: Won't Do
-
unspecified
-
None
-
None
-
Operating System: All
Platform: All
-
5321
Description
I test ovsdb 3 node cluster
Following are the steps which i tried in csit
1. Create a 3 nodes cluster sessions
2. I made the owner instance down and with two nodes i verified the data sharding, it works well
3. I restarted the killed owner, now with the 3 nodes tests works fine.
4. I made the non owner instance down and with the existing two nodes tests works fine.
5. I restarted the killed non owner, now with the 3 nodes tests works fine.
6. I deleted the ovsdb node and deleted all the sessions.
First time execution of test cases works well.
I re run the above steps, where i could not find the entity owners when all the three nodes are up.
In the log there is an unexpected response for entity owner get request /restconf/operational/entity-owners:entity-owners.
The response is ,
[ '{"entity-owners":{"entity-type":[{"type":"ovsdb","entity":[
{"id":"/network-topology:network-topology/network-topology:topology[network-topology:topology-id=\'ovsdb:1\']/network-topology:node[network-topology:node-id=\'ovsdb://uuid/a96ec4e2-c457-4a2c-963c-1e6300210032\']","owner":""},{"id":"/network-topology:network-topology/network-topology:topology[network-topology:topology-id=\'ovsdb:1\']/network-topology:node[network-topology:node-id=\'ovsdb://uuid/d8a057af-9317-46dc-a017-99c7e1c6ef1c\']","owner":"member-3",
"candidate":[
]}]},
{"type":"ovsdb-southbound-provider","entity":[{"id":"/general-entity:entity[general-entity:name=\'ovsdb-southbound-provider\']","owner":"member-2","candidate":[
,
{"name":"member-1"},
{"name":"member-3"}]}]}]}}' ]
In the Candidate attribute for entity type "ovsdb" the two nodes which i made down and up are not there in the candidate list.
Here goes the sandbox links for full trace of karaf logs:
https://jenkins.opendaylight.org/sandbox/job/ovsdb-csit-3node-clustering-only-beryllium/27/
Please let us know if any more details needed.