[CONTROLLER-956] Cannot handle context-instance with namespaces Created: 27/Oct/14  Updated: 25/Jul/23  Resolved: 07/Nov/14

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

Type: Bug
Reporter: Milos Fabian Assignee: Maros Marsalek
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


External issue ID: 2254

 Description   

2014-10-27 09:25:23.053 CET [http-bio-8080-exec-6] TRACE o.o.c.s.c.n.l.NetconfDeviceCommunicator - RemoteDevice

{controller-config}: Sending message <rpc message-id="m-10" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<reset-stats xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider">
<context-instance>/(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)modules/module[{(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)name=pcep-topology}]/(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)listener-state[{(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)peer-id=127.0.1.0}]</context-instance>
</reset-stats>
</rpc>

2014-10-27 09:25:23.057 CET [nettyThreadgroupModule$NioEventLoopGroupCloseable-7-1] TRACE o.o.c.s.c.n.l.NetconfDeviceCommunicator - Finished sending request org.opendaylight.controller.netconf.api.NetconfMessage@4bd4b8
2014-10-27 09:25:23.066 CET [nioEventLoopGroup-4-2] WARN o.o.c.n.i.o.NetconfOperationRouterImpl - Unable to handle rpc <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-10">
<reset-stats xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider">
<context-instance>/(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)modules/module[{(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)name=pcep-topology}]/(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)listener-state[{(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)peer-id=127.0.1.0}]</context-instance>
</reset-stats>
</rpc>
on session NetconfServerSession{sessionId=1}
java.lang.IllegalStateException: Node context-instance with value '/(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)modules/module[{(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)name=pcep-topology}]/(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)listener-state[{(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)peer-id=127.0.1.0}]' not in required form on rpc element reset-stats, required format is /modules/module[(?<key1>type|name)='(?<value1>[^'])'( and |][)(?<key2>type|name)='(?<value2>[^'])'](?<additional>.*)
at com.google.common.base.Preconditions.checkState(Preconditions.java:176) ~[na:na]
at org.opendaylight.controller.netconf.confignetconfconnector.operations.runtimerpc.RuntimeRpcElementResolved.fromXpath(RuntimeRpcElementResolved.java:93) ~[na:na]
at org.opendaylight.controller.netconf.confignetconfconnector.operations.runtimerpc.RuntimeRpc.canHandle(RuntimeRpc.java:147) ~[na:na]
at org.opendaylight.controller.netconf.impl.osgi.NetconfOperationRouterImpl.getSortedNetconfOperationsWithCanHandle(NetconfOperationRouterImpl.java:175) ~[na:na]
at org.opendaylight.controller.netconf.impl.osgi.NetconfOperationRouterImpl.getNetconfOperationWithHighestPriority(NetconfOperationRouterImpl.java:160) ~[na:na]
at org.opendaylight.controller.netconf.impl.osgi.NetconfOperationRouterImpl.onNetconfMessage(NetconfOperationRouterImpl.java:105) ~[na:na]
at org.opendaylight.controller.netconf.impl.NetconfServerSessionListener.processDocument(NetconfServerSessionListener.java:127) ~[na:na]
at org.opendaylight.controller.netconf.impl.NetconfServerSessionListener.onMessage(NetconfServerSessionListener.java:87) ~[na:na]
at org.opendaylight.controller.netconf.impl.NetconfServerSessionListener.onMessage(NetconfServerSessionListener.java:32) ~[na:na]
at org.opendaylight.controller.netconf.nettyutil.AbstractNetconfSession.handleMessage(AbstractNetconfSession.java:57) ~[na:na]
at org.opendaylight.controller.netconf.nettyutil.AbstractNetconfSession.handleMessage(AbstractNetconfSession.java:28) ~[na:na]
at org.opendaylight.protocol.framework.AbstractProtocolSession.channelRead0(AbstractProtocolSession.java:46) ~[na:na]
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) ~[na:na]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) ~[na:na]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) ~[na:na]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) ~[na:na]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) ~[na:na]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) ~[na:na]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) ~[na:na]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) ~[na:na]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) ~[na:na]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787) ~[na:na]
at io.netty.channel.local.LocalChannel.finishPeerRead(LocalChannel.java:326) ~[na:na]
at io.netty.channel.local.LocalChannel.access$400(LocalChannel.java:45) ~[na:na]
at io.netty.channel.local.LocalChannel$5.run(LocalChannel.java:312) ~[na:na]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380) ~[na:na]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357) ~[na:na]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) ~[na:na]
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) ~[na:na]
at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25]
2014-10-27 09:25:23.076 CET [nettyThreadgroupModule$NioEventLoopGroupCloseable-7-1] DEBUG o.o.c.s.c.n.l.NetconfDeviceCommunicator - RemoteDevice{controller-config}

: Message received org.opendaylight.controller.netconf.api.NetconfMessage@38f57c
2014-10-27 09:25:23.077 CET [nettyThreadgroupModule$NioEventLoopGroupCloseable-7-1] TRACE o.o.c.s.c.n.l.NetconfDeviceCommunicator - RemoteDevice

{controller-config}: Matched request: <rpc message-id="m-10" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<reset-stats xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider">
<context-instance>/(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)modules/module[{(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)name=pcep-topology}]/(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)listener-state[{(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)peer-id=127.0.1.0}]</context-instance>
</reset-stats>
</rpc>
to response: <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-10">
<rpc-error>
<error-type>application</error-type>
<error-tag>operation-failed</error-tag>
<error-severity>error</error-severity>
<error-message>Unable to handle rpc <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-10">
<reset-stats xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider">
<context-instance>/(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)modules/module[{(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)name=pcep-topology}]/(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)listener-state[{(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)peer-id=127.0.1.0}]</context-instance>
</reset-stats>
</rpc>
on session NetconfServerSession{sessionId=1}</error-message>
<error-info>
<operation_failed>Node context-instance with value '/(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)modules/module[{(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)name=pcep-topology}]/(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)listener-state[{(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)peer-id=127.0.1.0}]' not in required form on rpc element reset-stats, required format is /modules/module[(?<key1>type|name)='(?<value1>[^'])'( and |][)(?<key2>type|name)='(?<value2>[^'])'](?<additional>.*)</operation_failed>
</error-info>
</rpc-error>
</rpc-reply>

2014-10-27 09:25:23.080 CET [nettyThreadgroupModule$NioEventLoopGroupCloseable-7-1] WARN o.o.c.s.c.n.l.NetconfDeviceCommunicator - RemoteDevice{controller-config}

: Error reply from remote device, request: <rpc message-id="m-10" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<reset-stats xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider">
<context-instance>/(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)modules/module[

{(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)name=pcep-topology}

]/(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)listener-state[

{(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)peer-id=127.0.1.0}

]</context-instance>
</reset-stats>
</rpc>
, response: <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-10">
<rpc-error>
<error-type>application</error-type>
<error-tag>operation-failed</error-tag>
<error-severity>error</error-severity>
<error-message>Unable to handle rpc <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-10">
<reset-stats xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider">
<context-instance>/(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)modules/module[

{(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)name=pcep-topology}

]/(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)listener-state[

{(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)peer-id=127.0.1.0}

]</context-instance>
</reset-stats>
</rpc>
on session NetconfServerSession

{sessionId=1}</error-message>
<error-info>
<operation_failed>Node context-instance with value '/(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)modules/module[{(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)name=pcep-topology}]/(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)listener-state[{(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)peer-id=127.0.1.0}]' not in required form on rpc element reset-stats, required format is /modules/module[(?<key1>type|name)='(?<value1>[^'])'( and |][)(?<key2>type|name)='(?<value2>[^'])'](?<additional>.*)</operation_failed>
</error-info>
</rpc-error>
</rpc-reply>

org.opendaylight.controller.netconf.api.NetconfDocumentedException: Unable to handle rpc <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-10">
<reset-stats xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider">
<context-instance>/(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)modules/module[{(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)name=pcep-topology}]/(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)listener-state[{(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)peer-id=127.0.1.0}]</context-instance>
</reset-stats>
</rpc>
on session NetconfServerSession{sessionId=1}

at org.opendaylight.controller.netconf.api.NetconfDocumentedException.fromXMLDocument(NetconfDocumentedException.java:236) ~[bundlefile:na]
at org.opendaylight.controller.sal.connect.netconf.util.NetconfMessageTransformUtil.checkSuccessReply(NetconfMessageTransformUtil.java:148) ~[bundlefile:na]
at org.opendaylight.controller.sal.connect.netconf.listener.NetconfDeviceCommunicator.processMessage(NetconfDeviceCommunicator.java:240) [bundlefile:na]
at org.opendaylight.controller.sal.connect.netconf.listener.NetconfDeviceCommunicator.onMessage(NetconfDeviceCommunicator.java:197) [bundlefile:na]
at org.opendaylight.controller.sal.connect.netconf.listener.NetconfDeviceCommunicator.onMessage(NetconfDeviceCommunicator.java:45) [bundlefile:na]
at org.opendaylight.controller.netconf.nettyutil.AbstractNetconfSession.handleMessage(AbstractNetconfSession.java:57) ~[na:na]
at org.opendaylight.controller.netconf.nettyutil.AbstractNetconfSession.handleMessage(AbstractNetconfSession.java:28) ~[na:na]
at org.opendaylight.protocol.framework.AbstractProtocolSession.channelRead0(AbstractProtocolSession.java:46) ~[bundlefile:na]
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) ~[bundlefile:4.0.23.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) ~[bundlefile:4.0.23.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) ~[bundlefile:4.0.23.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) ~[na:na]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) ~[bundlefile:4.0.23.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) ~[bundlefile:4.0.23.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) ~[na:na]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) ~[bundlefile:4.0.23.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) ~[bundlefile:4.0.23.Final]
at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86) ~[bundlefile:4.0.23.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) ~[bundlefile:4.0.23.Final]
at io.netty.channel.AbstractChannelHandlerContext.access$700(AbstractChannelHandlerContext.java:32) ~[bundlefile:4.0.23.Final]
at io.netty.channel.AbstractChannelHandlerContext$8.run(AbstractChannelHandlerContext.java:324) ~[bundlefile:4.0.23.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380) ~[bundlefile:4.0.23.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357) ~[na:na]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) ~[bundlefile:4.0.23.Final]
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) ~[bundlefile:4.0.23.Final]
at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25]
[Fatal Error] :1:714: The element type "additional" must be terminated by the matching end-tag "</additional>".
2014-10-27 09:25:23.090 CET [http-bio-8080-exec-6] WARN o.o.c.s.r.i.RestconfDocumentedExceptionMapper - Error parsing restconf error-info, "<operation_failed>Node context-instance with value '/(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)modules/module[

{(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)name=pcep-topology}

]/(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)listener-state[

{(urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider?revision=2013-11-15)peer-id=127.0.1.0}

]' not in required form on rpc element reset-stats, required format is /modules/module[(?<key1>type|name)='(?<value1>[^'])'( and |][)(?<key2>type|name)='(?<value2>[^'])'](?<additional>.*)</operation_failed>", as XML
org.xml.sax.SAXParseException: The element type "additional" must be terminated by the matching end-tag "</additional>".
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:251) ~[na:1.7.0_25]
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:300) ~[na:1.7.0_25]
at org.opendaylight.controller.sal.rest.impl.RestconfDocumentedExceptionMapper.parseErrorInfo(RestconfDocumentedExceptionMapper.java:229) [bundlefile:na]
at org.opendaylight.controller.sal.rest.impl.RestconfDocumentedExceptionMapper.toDomNode(RestconfDocumentedExceptionMapper.java:201) [bundlefile:na]
at org.opendaylight.controller.sal.rest.impl.RestconfDocumentedExceptionMapper.toResponse(RestconfDocumentedExceptionMapper.java:118) [bundlefile:na]
at org.opendaylight.controller.sal.rest.impl.RestconfDocumentedExceptionMapper.toResponse(RestconfDocumentedExceptionMapper.java:68) [bundlefile:na]
at com.sun.jersey.spi.container.ContainerResponse.mapException(ContainerResponse.java:463) ~[na:na]
at com.sun.jersey.spi.container.ContainerResponse.mapWebApplicationException(ContainerResponse.java:427) ~[na:na]
at com.sun.jersey.spi.container.ContainerResponse.mapMappableContainerException(ContainerResponse.java:399) ~[na:na]
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1446) ~[na:na]
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391) ~[na:na]
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381) ~[na:na]
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) ~[bundlefile:na]
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538) ~[bundlefile:na]
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716) ~[bundlefile:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) ~[bundlefile:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) ~[bundlefile:na]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) ~[bundlefile:na]
at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:247) ~[bundlefile:8.1.14.v20131031]
at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:210) ~[bundlefile:8.1.14.v20131031]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) ~[bundlefile:na]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) ~[bundlefile:na]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) ~[bundlefile:na]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) ~[bundlefile:na]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610) ~[bundlefile:na]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) ~[bundlefile:na]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) ~[bundlefile:na]
at org.opendaylight.controller.filtervalve.cors.FilterValve$1.doFilter(FilterValve.java:53) ~[na:na]
at org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:439) ~[bundlefile:na]
at org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:178) ~[bundlefile:na]
at org.opendaylight.controller.filtervalve.cors.model.FilterProcessor$1.doFilter(FilterProcessor.java:61) ~[na:na]
at org.opendaylight.controller.filtervalve.cors.model.FilterProcessor.process(FilterProcessor.java:66) ~[na:na]
at org.opendaylight.controller.filtervalve.cors.FilterValve.invoke(FilterValve.java:56) ~[na:na]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) ~[bundlefile:na]
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:339) ~[bundlefile:na]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) ~[bundlefile:na]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) ~[bundlefile:na]
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) ~[bundlefile:na]
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) ~[bundlefile:na]
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313) ~[bundlefile:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_25]
at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25]



 Comments   
Comment by Milos Fabian [ 27/Oct/14 ]

POST
http://localhost:8080/restconf/operations/opendaylight-inventory:nodes/node/controller-config/yang-ext:mount/odl-pcep-topology-provider-cfg:reset-stats

<input xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider">
<context-instance xmlns:a="urn:opendaylight:params:xml:ns:yang:controller:config" xmlns:b="urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider">/a:modules/a:module[a:name='pcep-topology']/b:listener-state[b:peer-id='127.0.1.0']</context-instance>
</input>

Comment by Maros Marsalek [ 03/Nov/14 ]

Fix in yangtools:
https://git.opendaylight.org/gerrit/#/c/12454/ - Fixing format of serialized instance identifier with multiple keys.
Fix in controller:
https://git.opendaylight.org/gerrit/#/c/12286/ - Fixing runtime Rpc in config subsystem to expect namespaces

Comment by Maros Marsalek [ 05/Nov/14 ]

Reworked:
https://git.opendaylight.org/gerrit/#/c/12286/

With this patch I was able to invoke the reset-stats rpc using POST with payload:

<input xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider">
<context-instance xmlns:a="urn:opendaylight:params:xml:ns:yang:controller:config" xmlns:b="urn:opendaylight:params:xml:ns:yang:controller:pcep:topology:provider">
/a:modules/a:module[a:type='pcep-topology-provider'][a:name='pcep-topology']/b:listener-state[b:peer-id='127.0.0.1']</context-instance>
</input>

on

http://localhost:8181/restconf/operations/opendaylight-inventory:nodes/node/controller-config/yang-ext:mount/odl-pcep-topology-provider-cfg:reset-stats

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