[CONTROLLER-156] Netconf client not working Created: 12/Feb/14 Updated: 25/Jul/23 Resolved: 17/Feb/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | netconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Reinaldo Penno | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Mac OS |
||
| External issue ID: | 416 |
| Description |
|
Netconf client on ODL had been working fine, but after downloading the most recent distribution (today) it has stopped working and at the same time I started get the messages below and wireshark shows not Netconf packets in the network. For reference: http://blog.leon-rosenberg.net/2012/08/oracle-kills-getlocalhost-on-macos-x-in.html 23:53:52,429 |-ERROR in ch.qos.logback.core.util.ContextUtil@4b636311 - Failed to get local hostname java.net.UnknownHostException: repenno-mac: repenno-mac: nodename nor servname provided, or not known |
| Comments |
| Comment by Reinaldo Penno [ 12/Feb/14 ] |
|
How to repeat: Copy to configuration example from https://wiki.opendaylight.org/view/OpenDaylight_Controller:Config:Examples:Netconf:Example_Configuration to controller.currentconfig.xml and restart ODL. No Netconf connections will be attempted. |
| Comment by Tomas Olvecky [ 17/Feb/14 ] |
|
After I left the server running for ~3 minutes I saw: This is because odl-sal-dom-clustered-store-cfg was referenced in the XML but was not found in any running bundle. The providing bundle clustered-datastore-implementation has been disabled before hydrogen release (4e4fdfd). Since this commit the configuration is no longer valid. It is not a blocker though, because no other config module has defined dependency on dom-clustered-store-impl. When I commented out all .cluster. nodes, configuration was loaded successfuly. Note that this might happen in future as well: when a module is removed/refactored, the current configuration reused from previous version might no longer be valid. The preferred way is to store any additional configuration snippets in the initial folder, as separate files. |