[OVSDB-371] In CSIT, Entity Ownership is not reacquired after failover(OWNER node is killed) Created: 01/Sep/16  Updated: 19/Oct/17  Resolved: 04/Jan/17

Status: Resolved
Project: ovsdb
Component/s: Clustering
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Ananthi Palaniswamy Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Text File ODL 1-LOG Entity OWNER Assigned.txt     Text File ODL 2-LOG Entity OWNER Assigned.txt     Text File ODL 3-LOG Entity OWNER Assigned.txt     File odl1_karaf.log.gz     File odl2_karaf.log.gz     File odl3_karaf.log.gz    
External issue ID: 6615
Priority: Normal

 Description   

In a 3-node cluster when owner node is killed, Entity ownership is not reacquired

Steps to reproduce,
1. Bring up a 3 node cluster
2. Set the managers of an OVS device to all 3 nodes in the cluster.
3. Kill the controller process for OWNER node.
5. Leadership assigned ,but Entity ownership is not reacquired.

Ref Test Log
============
https://logs.opendaylight.org/releng/jenkins092/ovsdb-csit-3node-clustering-only-boron/546/archives/log.html.gz

Below is Entity ownership details

After failover( owner node is killed)
=====================================
To JSON using : content={
"entity-owners": {
"entity-type": [
{
"entity": [
{
"candidate": [

{ "name": "member-1" }

,

{ "name": "member-3" }

],
"id": "/general-entity:entity[general-entity:name='ovsdb-southbound-provider",
"owner": "member-1"
}
],
"type": "ovsdb-southbound-provider"
},
{
"entity": [

{ "id": "ovsdb://uuid/26d3ec32-07b8-4865-8a30-46d237c2e756", "owner": "" }

,

{ "id": "ovsdb://uuid/8941bf9a-dfe8-4e64-936b-f544ff1c7a66", "owner": "" }

,

{ "id": "ovsdb://uuid/c6e9e4d3-bf7b-43f5-833f-eab5e7905939", "owner": "" }

],
"type": "ovsdb"
}
]
}
}

Details for Issue not occurred
==============================
To JSON using : content={
"entity-owners": {
"entity-type": [
{
"entity": [
{
"candidate": [

{ "name": "member-2" }

,

{ "name": "member-3" }

],
"id": "/general-entity:entity[general-entity:name='ovsdb-southbound-provider",
"owner": "member-3"
}
],
"type": "ovsdb-southbound-provider"
},
{
"entity": [
{
"candidate": [

{ "name": "member-2" }

,

{ "name": "member-3" }

],
"id": "ovsdb://uuid/15ee22b4-6210-415a-a4e4-8a247e1152db",
"owner": "member-3"
},

{ "id": "ovsdb://uuid/2797a8fe-e038-48c2-a1af-2b0b9cc1539b", "owner": "" }

,

{ "id": "ovsdb://uuid/c6e9e4d3-bf7b-43f5-833f-eab5e7905939", "owner": "" }

],
"type": "ovsdb"
}
]
}
}



 Comments   
Comment by Ananthi Palaniswamy [ 01/Sep/16 ]

Attachment odl1_karaf.log.gz has been added with description: ODL 1 LOG

Comment by Ananthi Palaniswamy [ 01/Sep/16 ]

Attachment odl2_karaf.log.gz has been added with description: ODL 2 LOG

Comment by Ananthi Palaniswamy [ 01/Sep/16 ]

Attachment odl3_karaf.log.gz has been added with description: ODL 3 LOG

Comment by Ananthi Palaniswamy [ 01/Sep/16 ]

Issue was observed in the below CSIT job

https://jenkins.opendaylight.org/releng/view/ovsdb/job/ovsdb-csit-3node-clustering-only-boron/546/

Comment by Ananthi Palaniswamy [ 01/Sep/16 ]

Manually followed the above mentioned steps to reproduce the issue -Problem Not occurred, Repeated the test 3 times.

Triggered the csit job(5 times) and did not observer the issue,

Ref
https://jenkins.opendaylight.org/sandbox/job/ovsdb-csit-3node-clustering-only-boron/1/

Comment by Ananthi Palaniswamy [ 01/Sep/16 ]

Attachment ODL 1-LOG Entity OWNER Assigned.txt has been added with description: ODL 1 Entity Owner Acquired

Comment by Ananthi Palaniswamy [ 01/Sep/16 ]

Attachment ODL 2-LOG Entity OWNER Assigned.txt has been added with description: ODL 2 Entity Owner Acquired

Comment by Ananthi Palaniswamy [ 01/Sep/16 ]

Attachment ODL 3-LOG Entity OWNER Assigned.txt has been added with description: ODL 3 Entity Owner Acquired

Generated at Wed Feb 07 20:36:13 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.