cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4471
Views
0
Helpful
16
Replies

Device does not have NED registered

Allase
Level 1
Level 1

I have a virtual router with IOS XRv iosxrv-k9-demo-6.0.1.

I tried ta add this device with the NED cisco-iosxr-cli-7.18 but I have this error :

#############################################################

admin@ncs(config)# devices device myrouter1 connect
result false
info Device myrouter1 does not have a Network Element Driver registered

#############################################################
Can you help me please ?

Thanks

16 Replies 16

I have a random problem, sometimes it is working and sometimes it is not working because java-vm is not running. when i try to start java vm by the command "ncs-start-java-vm -d" the command never ends.

#######################################################################################

<INFO> 02-mai-2020::18:31:30.759 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-ios-cli-3.0:upgrade-ned-id"] -->
<INFO> 02-mai-2020::18:31:30.761 NcsMain JVM-Launcher: - => Nothing to deploy for component cisco-ios-cli-3.0:upgrade-ned-id
<INFO> 02-mai-2020::18:31:30.763 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-ios-cli-3.0:upgrade-ned-id"] --> DONE
<INFO> 02-mai-2020::18:31:30.771 NcsMain JVM-Launcher: - DONE COMMAND --> INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:30.780 NcsMain JVM-Launcher: - READ SOCKET =>
<INFO> 02-mai-2020::18:31:30.787 NcsMain JVM-Launcher: - <= GOT INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:30.789 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-ios-cli-3.0:cisco-ios"] -->
<INFO> 02-mai-2020::18:31:30.817 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-ios-cli-3.0:cisco-ios"] --> DONE
<INFO> 02-mai-2020::18:31:30.823 NcsMain JVM-Launcher: - DONE COMMAND --> INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:30.827 NcsMain JVM-Launcher: - READ SOCKET =>
<INFO> 02-mai-2020::18:31:30.835 NcsMain JVM-Launcher: - <= GOT INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:30.836 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-ios-cli-3.8:IOSDp2"] -->
<INFO> 02-mai-2020::18:31:31.379 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-ios-cli-3.8:IOSDp2"] --> DONE
<INFO> 02-mai-2020::18:31:31.384 NcsMain JVM-Launcher: - DONE COMMAND --> INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:31.386 NcsMain JVM-Launcher: - READ SOCKET =>
<INFO> 02-mai-2020::18:31:31.391 NcsMain JVM-Launcher: - <= GOT INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:31.398 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-ios-cli-3.8:IOSDp"] -->
<INFO> 02-mai-2020::18:31:31.478 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-ios-cli-3.8:IOSDp"] --> DONE
<INFO> 02-mai-2020::18:31:31.480 NcsMain JVM-Launcher: - DONE COMMAND --> INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:31.483 NcsMain JVM-Launcher: - READ SOCKET =>
<INFO> 02-mai-2020::18:31:31.491 NcsMain JVM-Launcher: - <= GOT INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:31.495 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-ios-cli-3.8:cisco-ios"] -->
<INFO> 02-mai-2020::18:31:31.524 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-ios-cli-3.8:cisco-ios"] --> DONE
<INFO> 02-mai-2020::18:31:31.535 NcsMain JVM-Launcher: - DONE COMMAND --> INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:31.537 NcsMain JVM-Launcher: - READ SOCKET =>
<INFO> 02-mai-2020::18:31:31.539 NcsMain JVM-Launcher: - <= GOT INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:31.547 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-iosxr-cli-3.0:cisco-ios-xr"] -->
<INFO> 02-mai-2020::18:31:31.566 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-iosxr-cli-3.0:cisco-ios-xr"] --> DONE
<INFO> 02-mai-2020::18:31:31.574 NcsMain JVM-Launcher: - DONE COMMAND --> INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:31.577 NcsMain JVM-Launcher: - READ SOCKET =>
<INFO> 02-mai-2020::18:31:31.583 NcsMain JVM-Launcher: - <= GOT INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:31.590 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-iosxr-cli-3.5:cisco-ios-xr"] -->
<INFO> 02-mai-2020::18:31:31.615 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-iosxr-cli-3.5:cisco-ios-xr"] --> DONE
<INFO> 02-mai-2020::18:31:31.623 NcsMain JVM-Launcher: - DONE COMMAND --> INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:31.625 NcsMain JVM-Launcher: - READ SOCKET =>
<INFO> 02-mai-2020::18:31:31.628 NcsMain JVM-Launcher: - <= GOT INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:31.635 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-iosxr-cli-7.18:upgrade-ned-settings"] -->
<INFO> 02-mai-2020::18:31:31.639 NcsMain JVM-Launcher: - => Nothing to deploy for component cisco-iosxr-cli-7.18:upgrade-ned-settings
<INFO> 02-mai-2020::18:31:31.641 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-iosxr-cli-7.18:upgrade-ned-settings"] --> DONE
<INFO> 02-mai-2020::18:31:31.647 NcsMain JVM-Launcher: - DONE COMMAND --> INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:31.654 NcsMain JVM-Launcher: - READ SOCKET =>
<INFO> 02-mai-2020::18:31:31.656 NcsMain JVM-Launcher: - <= GOT INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:31.658 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-iosxr-cli-7.18:cisco-ios-xr"] -->
<INFO> 02-mai-2020::18:31:31.680 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-iosxr-cli-7.18:cisco-ios-xr"] --> DONE
<INFO> 02-mai-2020::18:31:31.686 NcsMain JVM-Launcher: - DONE COMMAND --> INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:31.696 NcsMain JVM-Launcher: - READ SOCKET =>
<INFO> 02-mai-2020::18:31:31.698 NcsMain JVM-Launcher: - <= GOT INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:31.700 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-nx-cli-3.0:cisco-nx"] -->
<INFO> 02-mai-2020::18:31:31.717 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-nx-cli-3.0:cisco-nx"] --> DONE
<INFO> 02-mai-2020::18:31:31.727 NcsMain JVM-Launcher: - DONE COMMAND --> INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:31.735 NcsMain JVM-Launcher: - READ SOCKET =>
<INFO> 02-mai-2020::18:31:31.737 NcsMain JVM-Launcher: - <= GOT INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:31.743 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-nx-cli-5.13:NexusDp"] -->
<INFO> 02-mai-2020::18:31:31.798 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-nx-cli-5.13:NexusDp"] --> DONE
<INFO> 02-mai-2020::18:31:31.800 NcsMain JVM-Launcher: - DONE COMMAND --> INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:31.806 NcsMain JVM-Launcher: - READ SOCKET =>
<INFO> 02-mai-2020::18:31:31.809 NcsMain JVM-Launcher: - <= GOT INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:31.818 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-nx-cli-5.13:cisco-nx"] -->
<INFO> 02-mai-2020::18:31:31.832 NcsMain JVM-Launcher: - INSTANTIATE COMPONENT ["cisco-nx-cli-5.13:cisco-nx"] --> DONE
<INFO> 02-mai-2020::18:31:31.847 NcsMain JVM-Launcher: - DONE COMMAND --> INSTANTIATE_COMPONENT
<INFO> 02-mai-2020::18:31:31.854 NcsMain JVM-Launcher: - READ SOCKET =>
<INFO> 02-mai-2020::18:31:31.859 NcsMain JVM-Launcher: - <= GOT DONE_LOADING
<INFO> 02-mai-2020::18:31:31.866 NcsMain JVM-Launcher: - DONE LOADING -->
<INFO> 02-mai-2020::18:31:32.023 NcsMain JVM-Launcher: - DONE LOADING --> OK
<INFO> 02-mai-2020::18:31:32.025 NcsMain JVM-Launcher: - DONE COMMAND --> DONE_LOADING
<INFO> 02-mai-2020::18:31:32.027 NcsMain JVM-Launcher: - READ SOCKET =>

It seems that I have a java-vm memory problem. I upgrade the memory to 1G in ncsrc file :

NCS_JAVA_VM_OPTIONS=-Xmx1G

and now the ned packages are UP.