[CONTROLLER-1393] Controller config ReST call now reports non-existent mount point. Created: 16/Jul/15  Updated: 19/Oct/17  Resolved: 09/Nov/15

Status: Resolved
Project: controller
Component/s: netconf
Affects Version/s: Beryllium
Fix Version/s: None

Type: Bug
Reporter: Phillip Shea 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


Issue Links:
Duplicate
is duplicated by CONTROLLER-1392 http://localhost:8181/restconf/config... Resolved
External issue ID: 4010

 Description   

This URL is being used in system tests to determine that all necessary modules are up.

http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/controller-config/yang-ext:mount/config:module

The tests are now failing because this is being returned:

{
"errors": {
"error": [

{ "error-type": "protocol", "error-tag": "data-missing", "error-message": "Mount point does not exist." }

]
}
}

The failure occurs on the master branch with controllers in single node and clustered configurations. The failure does not occur on the Lithium branch.



 Comments   
Comment by Tomas Cere [ 17/Jul/15 ]

This is fixed in: https://git.opendaylight.org/gerrit/#/c/24092/

But it probably won't be merged until we finalize the move of netconf out of the controller project. In the meantime workaround is to install odl-aaa-netconf-plugin feature.

Comment by Vratko Polak [ 05/Aug/15 ]

I was under impression that netconf mounts (including controller-config) will cease to be present in opendaylight-inventory in Beryllium?

Even if that is not case, I recommend to use this URL instead for Beryllium tests (also works for Lithium, but not for Helium).
http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/controller-config/yang-ext:mount/config:modules

Comment by Phillip Shea [ 31/Aug/15 ]

I'm bumping it back to confirmed. https://git.opendaylight.org/gerrit/#/c/24092/ did not fix the issue.

Comment by Tomas Cere [ 10/Sep/15 ]

Inventory code is now reintroduced in sal-netconf-connector(netconf repository).
The classes are still deprecated so they will probably be removed after Beryllium release so it would be a good time to start migrating towards the topology model as Vratko suggested.

https://git.opendaylight.org/gerrit/#/c/26710/

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