[CONTROLLER-1049] Clustering : Operation is timeout when invoking remote routed rpc Created: 28/Nov/14  Updated: 19/Oct/17  Resolved: 30/Dec/14

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

Type: Bug
Reporter: Xin Chang 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: Text File karaf.log     Text File karaf_Nov_29.log    
External issue ID: 2449

 Description   

When routed rpc in model bundle loaded after odl-mdsal-clustering, remotely invoking such routed rpc always causes timeout exception.

From debug level loggings, it shows that RpcBroker fails in transforming input composite node to xml due to absent of scheme context for this rpc.

In RpcBroker, the property schemaContext is defined as final and initialized via RpcManager, which is further initialized via RemoteRpcProvider. It is obvious that all model bundles loaded after sal-remoterpc-connector can not push schemes to RpcBroker.



 Comments   
Comment by Xin Chang [ 28/Nov/14 ]

Attachment karaf.log has been added with description: The logging file for reported bug

Comment by Xin Chang [ 28/Nov/14 ]
  • General Info: *
    controller: latest stable/helium
  • Steps to reproduce: *
    1. create a yang model, and define a global rpc and a routed rpc
    2. create a module to implement both of global rpc and routed rpc, and in global rpc will create a dom node and register routed rpc implementation to bind it.
    3. deploy above bundles on maven repository
    4. start karaf (step 4~6 should be done on all clustering nodes)
    5. install odl-mdsal-clustering
    6. install yang model bundle and implementation module bundle
    7. invoke global rpc to create node and bind routed rpc
    8. invoke the routed rpc on same clustering node, this operation will be successful
    9. invoke the routed rpc on other clustering node, this operation will be failed and throws timeout exception
Comment by Xin Chang [ 29/Nov/14 ]

Attachment karaf_Nov_29.log has been added with description: The latest log (29th Nov) for reported bug

Comment by George Zhao [ 04/Dec/14 ]

fix in this change
https://git.opendaylight.org/gerrit/#/c/13218/

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