[CONTROLLER-219] RPC providers are not cleaned up on bundle stop, causing bundle restart to fail Created: 20/Mar/14 Updated: 25/Jul/23 Resolved: 28/Mar/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Zoltan Lajos Kis | Assignee: | Kamal Rameshan |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| Attachments: |
|
| External issue ID: | 553 |
| Description |
|
At bundle start, RpcProviderRegistryImpl creates a proxy for the RPC provider class and adds it into publicProxies map. This entry does not get cleaned up when bundle stops. Hence, at subsequent start, RpcProviderRegistryImpl complains that the entry already exists. I've attached a bundle that can be used to reproduce the problem. Once started, just stop and start it in the console. Also see the following threads on controller-dev list: |
| Comments |
| Comment by Zoltan Lajos Kis [ 20/Mar/14 ] |
|
Attachment rpcclosetest.tar.gz has been added with description: bundle to reproduce the bug |
| Comment by Kamal Rameshan [ 26/Mar/14 ] |
|
https://git.opendaylight.org/gerrit/#/c/5782/ Submitted a patch for review. |