[NETCONF-928] Discover mountpoint RPC operation through RESTCONF is failing with response 500 Created: 12/Dec/22  Updated: 24/May/23  Resolved: 24/May/23

Status: Resolved
Project: netconf
Component/s: restconf-nb
Affects Version/s: None
Fix Version/s: 6.0.0, 4.0.7, 5.0.7

Type: Bug Priority: Medium
Reporter: Ivan Hrasko Assignee: Yaroslav Lastivka
Resolution: Done Votes: 0
Labels: pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File karaf.log    
Issue Links:
Blocks
is blocked by NETCONF-929 Cannot retrieve operation resource Resolved

 Description   

Request:

GET: rests/operations/network-topology:network-topology/topology=topology-netconf/node=netconf-test-device/yang-ext:mount

Fails with:

<html><head>
    <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" />
    <title>Error 500 Request failed.</title>
</head><body>
    <h2>HTTP ERROR 500 Request failed.</h2>
    <table>
        <tr>
            <th>URI:</th>
            <td>/rests/operations/network-topology:network-topology/topology=topology-netconf/node=netconf-test-device/yang-ext:mount
            </td>
        </tr>
        <tr>
            <th>STATUS:</th>
            <td>500</td>
        </tr>
        <tr>
            <th>MESSAGE:</th>
            <td>Request failed.</td>
        </tr>
        <tr>
            <th>SERVLET:</th>
            <td>org.glassfish.jersey.servlet.ServletContainer</td>
        </tr>
    </table></body></html> 

and karaf.log

Its similar issue like NETCONF-822, the difference is that this is request to get operations list from mounted device.



 Comments   
Comment by Ivan Hrasko [ 18/Jan/23 ]

yaroslav.lastivka when fixed try also to "get" particular RPC with:

GET http://<ADDRESS>:8181/rests/operations/network-topology:network-topology/topology=topology-netconf/node=<DEVICE>/yang-ext:mount/toaster:restock-toaster
Generated at Wed Feb 07 20:16:15 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.