[CONTROLLER-1029] Clustering : Killing a PCEP PCC-mock session does not result in the Operational datastore losing the PCEP topology Created: 19/Nov/14  Updated: 25/Jul/23  Resolved: 25/Nov/14

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: RichardHill Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Zip Archive karaf.zip    
External issue ID: 2408

 Description   

I am using a build you provided on 14th Friday Nov for clustering testing. distribution-karaf-0.2.1-Helium-SR1 I’ve deployed a 3 node cluster with

  1. system:property shard.persistent ${PERSISTENCE}
    PERSISTENT="false"
  1. module-shards.conf, Possible values: "all", every other value will result in single replica
    REPLICA="single"

I am creating PCEP sessions using the pcep-pcc-mock tool described here.

https://wiki.opendaylight.org/view/BGP_LS_PCEP:Testing_components#pcep-pcc-mock

java -jar pcep-pcc-mock-0.3.2-SNAPSHOT-executable.jar --log-level DE --local-address 10.25.2.12 --remote-address 10.25.2.9

This creates 1 pcep session.

When I access the REST API at

10.194.126.205:8181/restconf/operational/network-topology:network-topology/topology/pcep-topology-1

I see

{
"topology": [
{
"topology-id": "pcep-topology-1",
"topology-types": {
"network-topology-pcep:topology-pcep": {}
},
"node": [
{
"node-id": "pcc://10.25.2.12",
"network-topology-pcep:path-computation-client": {
"reported-lsp": [
{
"name": "pcc_10.25.2.12_tunnel_1",
"path": [
{
"lsp-id": 1,
"odl-pcep-ietf-stateful07:lsp": {
"plsp-id": 1,
"odl-pcep-ietf-initiated00:create": false,
"remove": false,
"administrative": true,
"delegate": true,
"sync": true,
"operational": "up",
"processing-rule": false,
"tlvs": {
"lsp-identifiers": {
"ipv4":

{ "ipv4-tunnel-endpoint-address": "10.25.2.12", "ipv4-tunnel-sender-address": "10.25.2.12", "ipv4-extended-tunnel-id": "10.25.2.12" }

,
"lsp-id": 1,
"tunnel-id": 1
},
"symbolic-path-name":

{ "path-name": "cGNjXzEwLjI1LjIuMTJfdHVubmVsXzE=" }

},
"ignore": false
},
"ero":

{ "processing-rule": false, "ignore": false }

}
]
}
],
"ip-address": "10.25.2.12"
}
}
]
}
]
}

I kill the pcep-pcc-mock tool , “ctlr +C” and restart it, I see no changes after 600 seconds.

{
"topology": [
{
"topology-id": "pcep-topology-1",
"topology-types": {
"network-topology-pcep:topology-pcep": {}
},
"node": [
{
"node-id": "pcc://10.25.2.12",
"network-topology-pcep:path-computation-client": {
"reported-lsp": [
{
"name": "pcc_10.25.2.12_tunnel_1",
"path": [
{
"lsp-id": 1,
"odl-pcep-ietf-stateful07:lsp": {
"plsp-id": 1,
"odl-pcep-ietf-initiated00:create": false,
"remove": false,
"administrative": true,
"delegate": true,
"sync": true,
"operational": "up",
"processing-rule": false,
"tlvs": {
"lsp-identifiers": {
"ipv4":

{ "ipv4-tunnel-endpoint-address": "10.25.2.12", "ipv4-tunnel-sender-address": "10.25.2.12", "ipv4-extended-tunnel-id": "10.25.2.12" }

,
"lsp-id": 1,
"tunnel-id": 1
},
"symbolic-path-name":

{ "path-name": "cGNjXzEwLjI1LjIuMTJfdHVubmVsXzE=" }

},
"ignore": false
},
"ero":

{ "processing-rule": false, "ignore": false }

}
]
}
],
"ip-address": "10.25.2.12"
}
}
]
}
]
}



 Comments   
Comment by RichardHill [ 19/Nov/14 ]

Attachment karaf.zip has been added with description: log file

Comment by RichardHill [ 19/Nov/14 ]

I meant kill not restart the PCEP-PCC-MOCK

Comment by RichardHill [ 20/Nov/14 ]

Not seen on https://jenkins.opendaylight.org/integration/job/integration-master-project-centralized-integration/2759/
Revision: 6c2498ed5e23c7ff0f6f5d9e243f450c7e37c817

Deployed as a 3 node cluster on 10.25.2.9 , 10.25.2.10 , 10.25.2.11

  1. system:property shard.persistent ${PERSISTENCE}
    PERSISTENT="false"
  1. module-shards.conf,
    REPLICA="single"
Comment by Moiz Raja [ 20/Nov/14 ]

Note that the system property shard.persistent no longer controls persistence. You need to use the config subsystem to disable persistence.

Please see https://wiki.opendaylight.org/view/Running_and_testing_an_OpenDaylight_Cluster#How_do_we_disable_persistence.3F

Comment by Moiz Raja [ 25/Nov/14 ]

Other fixes have probably resolved this issue.

Generated at Wed Feb 07 19:54:30 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.