Uploaded image for project: 'Network Controller'
  1. Network Controller
  2. SDNC-1159

SDNR is not giving correct error response in ODLUX UI when edit config perfomed

XMLWordPrintable

      ODLUX UI is populating below message , but SDNR got different response from netconf server

      Server Error. Status: [500] RemoteDevice{0005B94238A0}: Commit of transaction failed

       

      Response from NETCONF in Karaf.logs

       

      2020-04-15T06:40:55,963 | WARN  | nioEventLoopGroupCloseable-3-3 | NetconfDeviceCommunicator        | 402 - org.opendaylight.netconf.sal-netconf-connector - 1.9.1 |  -  | RemoteDevice{0005B94238A0}: Error reply from remote device, request: <rpc message-id="m-465" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <edit-config>
      <target>
      <candidate/>
      </target>
      <config>
      <device xmlns="urn:onf:otcc:wireless:yang:radio-access:commscope-onecell">
      <services>
      <fap-service>
      <index>1</index>
      <cell-config>
      <lte>
      <ran>
      <rf xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:operation="replace">
      <ul-bandwidth>100</ul-bandwidth>
      <psch-power-offset>-30</psch-power-offset>
      <ssch-power-offset>-30</ssch-power-offset>
      <pbch-power-offset>0</pbch-power-offset>
      <reference-signal-power>-32</reference-signal-power>
      <phy-cell-id>100</phy-cell-id>
      <earfcndl>850</earfcndl>
      <x-0005b9-max-tx-power>24</x-0005b9-max-tx-power>
      <dl-bandwidth>100</dl-bandwidth>
      <earfcnul>18850</earfcnul>
      </rf>
      </ran>
      </lte>
      </cell-config>
      </fap-service>
      </services>
      </device>
      </config>
      </edit-config>
      </rpc>
      , response: <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-465">
      <rpc-error>
      <error-type>application</error-type>
      <error-tag>operation-not-supported</error-tag>
      <error-severity>error</error-severity>
      <error-message>Request denied</error-message>
      </rpc-error>
      </rpc-reply>

      org.opendaylight.netconf.api.NetconfDocumentedException: Request denied
              at org.opendaylight.netconf.api.NetconfDocumentedException.fromXMLDocument(NetconfDocumentedException.java:53) ~[383:org.opendaylight.netconf.api:1.6.1]
              at org.opendaylight.netconf.sal.connect.netconf.util.NetconfMessageTransformUtil.checkSuccessReply(NetconfMessageTransformUtil.java:260) ~[402:org.opendaylight.netconf.sal-netconf-connector:1.9.1]
              at org.opendaylight.netconf.sal.connect.netconf.listener.NetconfDeviceCommunicator.processMessage(NetconfDeviceCommunicator.java:327) [402:org.opendaylight.netconf.sal-netconf-connector:1.9.1]
              at org.opendaylight.netconf.sal.connect.netconf.listener.NetconfDeviceCommunicator.onMessage(NetconfDeviceCommunicator.java:270) [402:org.opendaylight.netconf.sal-netconf-connector:1.9.1]
              at org.opendaylight.netconf.sal.connect.netconf.listener.NetconfDeviceCommunicator.onMessage(NetconfDeviceCommunicator.java:49) [402:org.opendaylight.netconf.sal-netconf-connector:1.9.1]
              at org.opendaylight.netconf.nettyutil.AbstractNetconfSession.handleMessage(AbstractNetconfSession.java:64) [395:org.opendaylight.netconf.netty-util:1.6.1]
              at org.opendaylight.netconf.nettyutil.AbstractNetconfSession.channelRead0(AbstractNetconfSession.java:187) [395:org.opendaylight.netconf.netty-util:1.6.1]
              at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [73:io.netty.transport:4.1.34.Final]
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) [73:io.netty.transport:4.1.34.Final]
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) [73:io.netty.transport:4.1.34.Final]
              at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:337) [73:io.netty.transport:4.1.34.Final]
              at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323) [68:io.netty.codec:4.1.34.Final]
              at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:297) [68:io.netty.codec:4.1.34.Final]
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) [73:io.netty.transport:4.1.34.Final]
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) [73:io.netty.transport:4.1.34.Final]
              at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:337) [73:io.netty.transport:4.1.34.Final]
              at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323) [68:io.netty.codec:4.1.34.Final]
              at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:297) [68:io.netty.codec:4.1.34.Final]
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) [73:io.netty.transport:4.1.34.Final]
              at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:38) [73:io.netty.transport:4.1.34.Final]
              at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:350) [73:io.netty.transport:4.1.34.Final]
              at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [70:io.netty.common:4.1.34.Final]
              at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404) [70:io.netty.common:4.1.34.Final]
              at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:495) [73:io.netty.transport:4.1.34.Final]
              at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905) [70:io.netty.common:4.1.34.Final]
              at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [70:io.netty.common:4.1.34.Final]
              at java.lang.Thread.run(Thread.java:748) [?:?]
      2020-04-15T06:40:55,964 | WARN  | nioEventLoopGroupCloseable-3-3 | NetconfRpcFutureCallback         | 402 - org.opendaylight.netconf.sal-netconf-connector - 1.9.1 |  -  | RemoteDevice{0005B94238A0}: Edit candidate invoked unsuccessfully: [RpcError [message=Request denied, severity=ERROR, errorType=APPLICATION, tag=operation-not-supported, applicationTag=null, info=, cause=null]]
      2020-04-15T06:40:55,970 | WARN  | nioEventLoopGroupCloseable-3-3 | NetconfDeviceCommunicator        | 402 - org.opendaylight.netconf.sal-netconf-connector - 1.9.1 |  -  | RemoteDevice{0005B94238A0}: Error reply from remote device, request: <rpc message-id="m-467" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <discard-changes/>
      </rpc>
      , response: <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-467">
      <rpc-error>
      <error-type>application</error-type>
      <error-tag>operation-not-supported</error-tag>
      <error-severity>error</error-severity>
      <error-message>Mapping not found <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-467">
      <discard-changes/>
      </rpc>
      </error-message>
      </rpc-error>
      </rpc-reply>

      org.opendaylight.netconf.api.NetconfDocumentedException: Mapping not found <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-467">
      <discard-changes/>
      </rpc>

              at org.opendaylight.netconf.api.NetconfDocumentedException.fromXMLDocument(NetconfDocumentedException.java:53) ~[383:org.opendaylight.netconf.api:1.6.1]
              at org.opendaylight.netconf.sal.connect.netconf.util.NetconfMessageTransformUtil.checkSuccessReply(NetconfMessageTransformUtil.java:260) ~[402:org.opendaylight.netconf.sal-netconf-connector:1.9.1]
              at org.opendaylight.netconf.sal.connect.netconf.listener.NetconfDeviceCommunicator.processMessage(NetconfDeviceCommunicator.java:327) [402:org.opendaylight.netconf.sal-netconf-connector:1.9.1]
              at org.opendaylight.netconf.sal.connect.netconf.listener.NetconfDeviceCommunicator.onMessage(NetconfDeviceCommunicator.java:270) [402:org.opendaylight.netconf.sal-netconf-connector:1.9.1]
              at org.opendaylight.netconf.sal.connect.netconf.listener.NetconfDeviceCommunicator.onMessage(NetconfDeviceCommunicator.java:49) [402:org.opendaylight.netconf.sal-netconf-connector:1.9.1]
              at org.opendaylight.netconf.nettyutil.AbstractNetconfSession.handleMessage(AbstractNetconfSession.java:64) [395:org.opendaylight.netconf.netty-util:1.6.1]
              at org.opendaylight.netconf.nettyutil.AbstractNetconfSession.channelRead0(AbstractNetconfSession.java:187) [395:org.opendaylight.netconf.netty-util:1.6.1]
              at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [73:io.netty.transport:4.1.34.Final]
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) [73:io.netty.transport:4.1.34.Final]
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) [73:io.netty.transport:4.1.34.Final]
              at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:337) [73:io.netty.transport:4.1.34.Final]
              at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323) [68:io.netty.codec:4.1.34.Final]
              at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:297) [68:io.netty.codec:4.1.34.Final]
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) [73:io.netty.transport:4.1.34.Final]
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:345) [73:io.netty.transport:4.1.34.Final]
              at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:337) [73:io.netty.transport:4.1.34.Final]
              at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323) [68:io.netty.codec:4.1.34.Final]
              at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:297) [68:io.netty.codec:4.1.34.Final]
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) [73:io.netty.transport:4.1.34.Final]
              at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:38) [73:io.netty.transport:4.1.34.Final]
              at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:350) [73:io.netty.transport:4.1.34.Final]
              at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [70:io.netty.common:4.1.34.Final]
              at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404) [70:io.netty.common:4.1.34.Final]
              at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:495) [73:io.netty.transport:4.1.34.Final]
              at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905) [70:io.netty.common:4.1.34.Final]
              at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [70:io.netty.common:4.1.34.Final]
              at java.lang.Thread.run(Thread.java:748) [?:?]
      2020-04-15T06:40:55,971 | WARN  | nioEventLoopGroupCloseable-3-3 | NetconfRpcFutureCallback         | 402 - org.opendaylight.netconf.sal-netconf-connector - 1.9.1 |  -  | RemoteDevice{0005B94238A0}: Discarding candidate invoked unsuccessfully: [RpcError [message=Mapping not found <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-467">
      <discard-changes/>
      </rpc>
      , severity=ERROR, errorType=APPLICATION, tag=operation-not-supported, applicationTag=null, info=, cause=null]]

       

            demx8as6 demx8as6
            eswaraiah eswaraiah
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: