06-10-2020 10:27 AM
I have a problem in NSO 5.3; after installing new NEDs for IOS-XR and IOS-XE. Those NEDs wehere downloaded from https://developer.cisco.com/docs/nso/#!getting-nso/downloads (those NEDs should work with the downloaded NSO).
This is a print when I try to reload the packages in de NSO environment
06-10-2020 11:03 AM
06-10-2020 11:46 AM
Hi Imanor! Thanks for your replay.
Here is the captured log after doing a package reload
2020-06-10 15:41:35.900 ART SAEVT_LICENSE_USAGE entitlementTag="regid.2015-10.com.cisco.NSO-platform-production,1.0_d1445dab-9d96-4593-99f2-6f633b8a759c" count="1" type="total"
2020-06-10 15:41:35.900 ART SAEVT_TAG_EVAL entitlementTag="regid.2015-10.com.cisco.NSO-platform-production,1.0_d1445dab-9d96-4593-99f2-6f633b8a759c" count="1"
2020-06-10 15:41:35.900 ART SAEVT_STATE_EVAL
2020-06-10 15:41:37.415 ART SAEVT_LICENSE_USAGE entitlementTag="regid.2015-10.com.cisco.NSO-network-element,1.0_5d641fa0-757d-43b0-a926-166cb6e3cfdd" count="3" type="total"
2020-06-10 15:41:37.415 ART SAEVT_TAG_EVAL entitlementTag="regid.2015-10.com.cisco.NSO-network-element,1.0_5d641fa0-757d-43b0-a926-166cb6e3cfdd" count="3"
2020-06-10 15:41:37.415 ART SAEVT_STATE_EVAL
2020-06-10 15:41:38.782 ART SAEVT_LICENSE_USAGE entitlementTag="regid.2015-10.com.cisco.cisco-ios-NED,1.0_d9eca34d-1f6a-4595-ad74-9c0c57e03c27" count="1" type="total"
2020-06-10 15:41:38.782 ART SAEVT_TAG_EVAL entitlementTag="regid.2015-10.com.cisco.cisco-ios-NED,1.0_d9eca34d-1f6a-4595-ad74-9c0c57e03c27" count="1"
2020-06-10 15:41:38.782 ART SAEVT_STATE_EVAL
2020-06-10 15:41:40.162 ART SAEVT_LICENSE_USAGE entitlementTag="regid.2015-10.com.cisco.cisco-iosxr-NED,1.0_9956fc34-cbed-4d13-a1ea-6a36f4e40a99" count="1" type="total"
2020-06-10 15:41:40.163 ART SAEVT_TAG_EVAL entitlementTag="regid.2015-10.com.cisco.cisco-iosxr-NED,1.0_9956fc34-cbed-4d13-a1ea-6a36f4e40a99" count="1"
2020-06-10 15:41:40.163 ART SAEVT_STATE_EVAL
Thanks in advance!
06-11-2020 10:55 AM
So, looks like what show here is maybe from the syslog?
NSO logs in <nso-run>/logs for local-install.
if you 'tail -f *.log' in this directory you should see these logs like these for the package reload:
==> audit.log <==
<INFO> 10-Jun-2020::15:10:26.951 HOST-M-24MR ncs[2221]: audit user: admin/282 CLI 'request packages reload'
==> ncs.log <==
<DEBUG> 10-Jun-2020::15:10:26.990 LMANOR-M-24MR ncs[2221]: - Loading file ./packages/cisco-iosxr-cli-7.23/package-meta-data.xml
==> ncs-java-vm.log <==
<INFO> 10-Jun-2020::15:10:42.905 NcsMain JVM-Launcher: - LOADING PACKAGE ["cisco-iosxr-cli-7.23"] -->
<INFO> 10-Jun-2020::15:10:46.022 NcsMain JVM-Launcher: - LOADING PACKAGE ["cisco-iosxr-cli-7.23"] --> LOADED
...
06-11-2020 02:15 PM
Thanks for your replay, here is the snapshot for logs
<INFO> 11-Jun-2020::18:07:33.783 NcsMain JVM-Launcher: - LOADING PACKAGE ["cisco-ios-cli-6.42"] -->
<ERROR> 11-Jun-2020::18:07:33.791 DpMuxManager JVM-Launcher: - Exception while executing an LOAD_PACKAGE transition
com.tailf.ncs.NcsException: com.tailf.packages.ned.ios.IOSDp
at com.tailf.ncs.ctrl.AbstractPDEntry.load(AbstractPDEntry.java:256) ~[ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.AbstractPDEntry$1.execute(AbstractPDEntry.java:85) ~[ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.fsm.FSM$Transition.execute(FSM.java:287) ~[ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.fsm.FSM.event(FSM.java:175) ~[ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.DpMuxManager.loadPackageEvent(DpMuxManager.java:103) [ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain.loadPackage(NcsMain.java:954) [ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain.access$1000(NcsMain.java:89) [ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain$8.execute(NcsMain.java:303) [ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.fsm.FSM$Transition.execute(FSM.java:287) [ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.fsm.FSM.event(FSM.java:175) [ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain.mainLoop(NcsMain.java:694) [ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain.run(NcsMain.java:490) [ncs-5.3.jar:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
Caused by: java.lang.ClassNotFoundException: com.tailf.packages.ned.ios.IOSDp
at javax.management.loading.MLet.findClass(MLet.java:967) ~[?:?]
at javax.management.loading.MLet.findClass(MLet.java:907) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:589) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
at com.tailf.ncs.ctrl.AbstractPDEntry.load(AbstractPDEntry.java:246) ~[ncs-5.3.jar:?]
... 12 more
<ERROR> 11-Jun-2020::18:07:33.842 NedMuxManager JVM-Launcher: - Exception while executing an LOAD_PACKAGE transition
com.tailf.ncs.NcsException: com.tailf.packages.ned.ios.IOSNedCli
at com.tailf.ncs.ctrl.AbstractPDEntry.load(AbstractPDEntry.java:256) ~[ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.AbstractPDEntry$1.execute(AbstractPDEntry.java:85) ~[ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.fsm.FSM$Transition.execute(FSM.java:287) ~[ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.fsm.FSM.event(FSM.java:175) ~[ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.NedMuxManager.loadPackageEvent(NedMuxManager.java:168) [ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain.loadPackage(NcsMain.java:956) [ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain.access$1000(NcsMain.java:89) [ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain$8.execute(NcsMain.java:303) [ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.fsm.FSM$Transition.execute(FSM.java:287) [ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.fsm.FSM.event(FSM.java:175) [ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain.mainLoop(NcsMain.java:694) [ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain.run(NcsMain.java:490) [ncs-5.3.jar:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
Caused by: java.lang.ClassNotFoundException: com.tailf.packages.ned.ios.IOSNedCli
at javax.management.loading.MLet.findClass(MLet.java:967) ~[?:?]
at javax.management.loading.MLet.findClass(MLet.java:907) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:589) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
at com.tailf.ncs.ctrl.AbstractPDEntry.load(AbstractPDEntry.java:246) ~[ncs-5.3.jar:?]
... 12 more
<ERROR> 11-Jun-2020::18:07:33.850 NedMuxManager JVM-Launcher: - Exception while executing an EXCEPTION transition for exception com.tailf.packages.ned.ios.IOSNedCli
com.tailf.ncs.NcsException: com.tailf.packages.ned.ios.IOSNedCli
at com.tailf.ncs.ctrl.AbstractPDEntry.load(AbstractPDEntry.java:256) ~[ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.AbstractPDEntry$1.execute(AbstractPDEntry.java:85) ~[ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.fsm.FSM$Transition.execute(FSM.java:287) ~[ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.fsm.FSM.event(FSM.java:175) ~[ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.NedMuxManager.loadPackageEvent(NedMuxManager.java:168) [ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain.loadPackage(NcsMain.java:956) [ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain.access$1000(NcsMain.java:89) [ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain$8.execute(NcsMain.java:303) [ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.fsm.FSM$Transition.execute(FSM.java:287) [ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.fsm.FSM.event(FSM.java:175) [ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain.mainLoop(NcsMain.java:694) [ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain.run(NcsMain.java:490) [ncs-5.3.jar:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
Caused by: java.lang.ClassNotFoundException: com.tailf.packages.ned.ios.IOSNedCli
at javax.management.loading.MLet.findClass(MLet.java:967) ~[?:?]
at javax.management.loading.MLet.findClass(MLet.java:907) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:589) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
at com.tailf.ncs.ctrl.AbstractPDEntry.load(AbstractPDEntry.java:246) ~[ncs-5.3.jar:?]
... 12 more
<ERROR> 11-Jun-2020::18:07:33.850 NcsMain JVM-Launcher: - Error in LOAD_PACKAGE
com.tailf.ncs.ctrl.NcsCtrlException: LOAD_PACKAGE[com.tailf.packages.ned.ios.IOSDp][com.tailf.packages.ned.ios.IOSNedCli]
at com.tailf.ncs.ctrl.MuxManager.addToDeployException(MuxManager.java:37) ~[ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain.loadPackage(NcsMain.java:966) [ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain.access$1000(NcsMain.java:89) [ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain$8.execute(NcsMain.java:303) [ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.fsm.FSM$Transition.execute(FSM.java:287) [ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.fsm.FSM.event(FSM.java:175) [ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain.mainLoop(NcsMain.java:694) [ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain.run(NcsMain.java:490) [ncs-5.3.jar:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
<ERROR> 11-Jun-2020::18:07:33.851 NcsMain JVM-Launcher: - catched exception in mainLoop
com.tailf.ncs.ctrl.NcsCtrlException: LOAD_PACKAGE[com.tailf.packages.ned.ios.IOSDp][com.tailf.packages.ned.ios.IOSNedCli]
at com.tailf.ncs.ctrl.MuxManager.addToDeployException(MuxManager.java:37) ~[ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain.loadPackage(NcsMain.java:966) ~[ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain.access$1000(NcsMain.java:89) ~[ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain$8.execute(NcsMain.java:303) ~[ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.fsm.FSM$Transition.execute(FSM.java:287) ~[ncs-5.3.jar:?]
at com.tailf.ncs.ctrl.fsm.FSM.event(FSM.java:175) ~[ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain.mainLoop(NcsMain.java:694) [ncs-5.3.jar:?]
at com.tailf.ncs.NcsMain.run(NcsMain.java:490) [ncs-5.3.jar:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
<INFO> 11-Jun-2020::18:07:33.851 NcsMain JVM-Launcher: - READ SOCKET =>
<INFO> 11-Jun-2020::18:07:33.852 NcsMain JVM-Launcher: - <= GOT LOAD_PACKAGE
<INFO> 11-Jun-2020::18:07:33.852 NcsMain JVM-Launcher: - FOUND TYPE: upgrade
<INFO> 11-Jun-2020::18:07:33.852 NcsMain JVM-Launcher: - FOUND TYPE: ned
It seems to be some problem with java?
06-12-2020 10:03 AM
Right, something weird going on...
Just real quick... do you have the pre-requisite tools installed:
Java:
Java JDK-8.0 or higher is installed. When JDK is properly installed the command java -version should indicate a java version of “1.8” or higher
Python:
Python 3.4 or higher is required.
Ant:
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide