[CONTROLLER-1030] Clustering : bgpcep.pcep-topology-provider failed to update internal state for session Created: 19/Nov/14  Updated: 19/Oct/17  Resolved: 25/Nov/14

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: Post-Helium
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 pcc-mock.zip    
External issue ID: 2409

 Description   

I used - 0.3.2.Helium-SR1, 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"

On a separate machine at 10.25.2.12 I created PCEP session with the tool 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 --pcc 1 --lsp 100

Result
Only 55 LSPs were displayed in the operational datastore at 10.25.2.9.

localhost/restconf/operational/network-topology:network-topology/topology/pcep-topology-1

This error was seen in logs

2014-11-19 09:20:29,990 | ERROR | CommitFutures-3 | AbstractTopologySessionListener | 281 - org.opendaylight.bgpcep.pcep-topology-provider - 0.3.2.Helium-SR1 | Failed to update internal state for session PCEPSessionImpl

{channel=[id: 0xfb5648f6, /10.25.2.12:40601 :> /10.25.2.9:4189], localOpen=Open [_deadTimer=120, _keepalive=30, _sessionId=0, _tlvs=Tlvs [augmentation=[Tlvs1 [_stateful=Stateful [_lspUpdateCapability=true, augmentation=[Stateful1 [_initiation=true]]]]]], augmentation=[]], remoteOpen=Open [_deadTimer=120, _keepalive=30, _sessionId=0, _tlvs=Tlvs [augmentation=[]], _version=ProtocolVersion [_value=1], _ignore=false, _processingRule=false, augmentation=[]]}

, closing it
TransactionCommitFailedException

{message=preCommit encountered an unexpected failure, errorList=[RpcError [message=preCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=akka.pattern.AskTimeoutException: Ask timed out on [ActorSelection[Anchor(akka://opendaylight-cluster-data/), Path(/user/shardmanager-operational/member-1-shard-topology-operational)]] after [5000 ms]]]}

 Comments   
Comment by RichardHill [ 19/Nov/14 ]

Attachment pcc-mock.zip has been added with description: karaf log and RESTCONF PCEP toplogy

Comment by RichardHill [ 20/Nov/14 ]

retested on

https://jenkins.opendaylight.org/integration/job/integration-master-project-centralized-integration/2759/

Revision: 6c2498ed5e23c7ff0f6f5d9e243f450c7e37c817

refs/remotes/origin/master

Build #2758 (Nov 20, 2014 11:24:10 AM)

Problem did not occur.

Comment by Moiz Raja [ 25/Nov/14 ]

Looks like this is no longer an issue. Nothing was fixed in clustering for this.

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