[NETCONF-128] Cannot detect netconf up and running when odl-netconf-connector-* is not used Created: 19/Jan/16 Updated: 05/Dec/22 Resolved: 22/Jan/16 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | netconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Jozef Behran | Assignee: | Tomas Cere |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||
| External issue ID: | 5014 | ||||||||
| Description |
|
When odl-netconf-connector-* feature is not installed (example: Netconf clustered CRUD tests [1], [2], [3], [4]), then there is no way to remotely detect whether Netconf is ready or not (and when that happens). Locally it is possible to grep logs for "<some netconf related component> is up/initialized successfully/whatever" message but when no ssh access is provided, this can't help much. This currently breaks "netconf readiness" suite as it was intended to detect exactly when Netconf is ready. Investigation revealed that the problem is caused by bizzare behavior of Netconf. All Netconf related Restconf URLs will return "404 Not Found" until a Netconf device is configured, then they mysteriously start to report "200 Ok". Tested on Netconf topology. The correct behavior (at least for topology) is to start returning "200 Ok" as soon as devices can be configured. [1] https://jenkins.opendaylight.org/releng/view/netconf/job/netconf-csit-3node-clustering-only-beryllium/ |
| Comments |
| Comment by Jozef Behran [ 19/Jan/16 ] |
|
This change is reportedly fixing this problem: https://git.opendaylight.org/gerrit/#/c/32936/ |
| Comment by Jozef Behran [ 19/Jan/16 ] |
|
It appears the patch above was merged but is still not in the artifacts in Nexus. So a multipatch-sandbox-build job is due to be done to make sure this bug is not there. Changing to "waiting for review". |
| Comment by Jozef Behran [ 20/Jan/16 ] |
|
Just completed testing on a Beryllium snapshot (had to build it locally as the build server(s) are broken; build was made from stable/beryllium sources as they were yesterday evening). This bug is still present. |
| Comment by Jozef Behran [ 20/Jan/16 ] |
|
(changed to "CONFIRMED" as the bug is confirmed to survive the patches) |
| Comment by Jozef Behran [ 21/Jan/16 ] |
|
Another change that contributes to fixing this bug: https://git.opendaylight.org/gerrit/32939/ |
| Comment by Jozef Behran [ 21/Jan/16 ] |
|
Results of discussion with developers: 1. The fixes add the topology into the operational datastore. Going to retest with the latest image of netconf. Right now leaving at "confirmed" as the bug is still there (the netconf may be invisible to components which search for topology in config datastore only). |
| Comment by Tomas Cere [ 21/Jan/16 ] |