[CONTROLLER-878] Get operation for netconf-state subtree failed Created: 22/Sep/14 Updated: 25/Jul/23 Resolved: 20/Oct/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | netconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | RichardHill | Assignee: | Maros Marsalek |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| External issue ID: | 2017 |
| Description |
|
When starting Helium-RC1-6-v201409220013 netconf sessions were not successfully established so that info was shared between odl and remote devices. 0.2.5.Helium-RC1-6-v201409220013 | Get operation for netconf-state subtree failed |
| Comments |
| Comment by RichardHill [ 22/Sep/14 ] |
|
Attachment karaf.log has been added with description: opendaylight log |
| Comment by RichardHill [ 22/Sep/14 ] |
|
Fix for similar exception https://git.opendaylight.org/gerrit/#/c/11431/ pointed out by Maros. |
| Comment by RichardHill [ 22/Sep/14 ] |
|
Steps: /restconf/operational/opendaylight-inventory:nodes/ Actual Result "nodes": { ] |
| Comment by RichardHill [ 22/Sep/14 ] |
|
Partial fix made by changing the order of loading the features from FEATURES="odl-mdsal-broker odl-restconf odl-bgpcep-all odl-netconf-all odl-netconf-connector-all odl-openflowplugin-all odl-openflowplugin-drop-test odl-sfcofl2 odl-sfc-test-consumer" to FEATURES="odl-mdsal-broker odl-restconf odl-bgpcep-all odl-openflowplugin-all odl-openflowplugin-drop-test odl-sfcofl2 odl-sfc-test-consumer odl-netconf-all odl-netconf-connector-all" I can now see the odl loopback mounted but not the xrvr device |
| Comment by Maros Marsalek [ 23/Sep/14 ] |
|
Yes, the odl-netconf-connector-all feature should be installed last to ensure that config file 99-controller-config.xml is loaded last. If it is loaded before any other features, netconf server might not see all available yang modules(at the time netconf connector connects) and report just a subset, this subset will be loaded into netconf connector and might result in failures when parsing data from the server later. However concurrent modification exception should not occur in this case, fix: |