Error while retrieving state container of power-supply container


nitesh shet
 

Can you please look into this?

---------- Forwarded message ---------
From: nitesh shet <niteshshet3@...>
Date: Fri, Oct 29, 2021 at 3:10 PM
Subject: Error while retrieving state container of power-supply container
To: <discuss@...>


Hi,

As per the “power supply” container of openconfig-platform yang (/oc-platform:components/oc-platform:component/"oc-platform:power-supply/oc-platform:state) augmented its attribute from openconfig-platform-psu.yang whose state container retrieval via ODL, postman is throwing a generic error as below:-

<html>

 

<head>

    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

    <title>Error 500 Request failed.</title>

</head>

 

<body>

    <h2>HTTP ERROR 500</h2>

    <p>Problem accessing

        /restconf/operational/network-topology:network-topology/topology/topology-netconf/node/gxnode/yang-ext:mount/openconfig-platform:components/component/card-1-PEM-1/power-supply/state.

        Reason:

        <pre>    Request failed.</pre>

    </p>

</body>

 

</html>

 

 

But when I saw the debug logs from ODL, it is failing while parsing the response which is weird because the same response will be appearing for config container of power-supply as well but it won’t thrown any such error.

 

Logs are attached, please help me to resolve this.


nitesh shet
 

Hi,
Please help me on this.

Thanks,
Nitesh

On Fri, Oct 29, 2021 at 10:23 PM nitesh shet via lists.opendaylight.org <niteshshet3=gmail.com@...> wrote:
Can you please look into this?

---------- Forwarded message ---------
From: nitesh shet <niteshshet3@...>
Date: Fri, Oct 29, 2021 at 3:10 PM
Subject: Error while retrieving state container of power-supply container
To: <discuss@...>


Hi,

As per the “power supply” container of openconfig-platform yang (/oc-platform:components/oc-platform:component/"oc-platform:power-supply/oc-platform:state) augmented its attribute from openconfig-platform-psu.yang whose state container retrieval via ODL, postman is throwing a generic error as below:-

<html>

 

<head>

    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

    <title>Error 500 Request failed.</title>

</head>

 

<body>

    <h2>HTTP ERROR 500</h2>

    <p>Problem accessing

        /restconf/operational/network-topology:network-topology/topology/topology-netconf/node/gxnode/yang-ext:mount/openconfig-platform:components/component/card-1-PEM-1/power-supply/state.

        Reason:

        <pre>    Request failed.</pre>

    </p>

</body>

 

</html>

 

 

But when I saw the debug logs from ODL, it is failing while parsing the response which is weird because the same response will be appearing for config container of power-supply as well but it won’t thrown any such error.

 

Logs are attached, please help me to resolve this.