-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 2.3.0, 2.2.2
-
Component/s: None
-
Labels:None
-
Story Points:2
While running onos in cluster (3 node), when 1 ONOS instance goes down and the devicefor which it is master is disconnected from this node and other nodes gets its mastership then when I try to push configuration on that device using netconf, below error is receievd :
Netconf exception at device :
org.onosproject.netconf.NetconfException: org.onosproject.netconf.NetconfException: Ssh session not present
at org.onosproject.netconf.ctl.impl.NetconfSessionProxyImpl.executeAtMaster(NetconfSessionProxyImpl.java:74) ~[?:?]
at org.onosproject.netconf.ctl.impl.NetconfSessionProxyImpl.requestSync(NetconfSessionProxyImpl.java:112) ~[?:?]
at org.onosproject.netconf.ctl.impl.NetconfSessionProxyImpl.requestSync(NetconfSessionProxyImpl.java:119) ~[?:?]
at org.onosproject.drivers.netopeer.NetconfConfigSetter.setConfiguration(NetconfConfigSetter.java:80) ~[?:?]
at org.onosproject.srv6.Srv6Manager.internalCreateTunnelAndPushConfiguration(Srv6Manager.java:633) ~[?:?]
at org.onosproject.srv6.Srv6Manager.createTunnelAndPushConfiguration(Srv6Manager.java:673) ~[?:?]
at org.onosproject.srv6.Srv6Manager.lambda$createBiDirectionalPath$6(Srv6Manager.java:528) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: org.onosproject.netconf.NetconfException: Ssh session not present
at org.onosproject.netconf.ctl.impl.NetconfControllerImpl$NetconfProxyMessageHandlerImpl.handleIncomingMessage(NetconfControllerImpl.java:642) ~[?:?]
at org.onosproject.netconf.ctl.impl.NetconfControllerImpl.handleProxyMessage(NetconfControllerImpl.java:599) ~[?:?]
at org.onosproject.netconf.ctl.impl.NetconfControllerImpl.executeAtMaster(NetconfControllerImpl.java:555) ~[?:?]
at org.onosproject.netconf.ctl.impl.NetconfSessionProxyImpl.executeAtMasterCompletableFuture(NetconfSessionProxyImpl.java:58) ~[?:?]
at org.onosproject.netconf.ctl.impl.NetconfSessionProxyImpl.executeAtMaster(NetconfSessionProxyImpl.java:67) ~[?:?]
... 10 more