08-01-2024 04:25 AM - edited 08-01-2024 05:59 AM
I am following the NSO Basics for network automation learning module and I'm stuck at once section.
when I follow this step I get "No entries Found"
every other step has worked up until this point.
Solved! Go to Solution.
08-08-2024 03:30 AM - edited 08-08-2024 03:37 AM
Hi @sipho-nangle
I spinned a NSO reservation to tested it and I can see that the devices and authgroups config is missing from the NCS host 49, sorry for the issue. This is something that will be fixed on the new release we are working on.
In the meantime, you can apply this config, which will add the devices to NSO on host 49.
devices authgroups group labadmin
default-map remote-name cisco
default-map remote-password cisco
default-map remote-secondary-password cisco
!
devices device core-rtr01
address 10.10.20.173
ssh host-key-verification none
authgroup labadmin
device-type cli ned-id cisco-iosxr-cli-7.44
device-type cli protocol telnet
state admin-state unlocked
!
devices device core-rtr02
address 10.10.20.174
ssh host-key-verification none
authgroup labadmin
device-type cli ned-id cisco-iosxr-cli-7.44
device-type cli protocol telnet
state admin-state unlocked
!
devices device dist-rtr01
address 10.10.20.175
ssh host-key-verification none
authgroup labadmin
device-type cli ned-id cisco-ios-cli-6.90
device-type cli protocol telnet
state admin-state unlocked
!
devices device dist-rtr02
address 10.10.20.176
ssh host-key-verification none
authgroup labadmin
device-type cli ned-id cisco-ios-cli-6.90
device-type cli protocol telnet
state admin-state unlocked
!
devices device dist-sw01
address 10.10.20.177
ssh host-key-verification none
authgroup labadmin
device-type cli ned-id cisco-nx-cli-5.23
device-type cli protocol telnet
ned-settings cisco-nx behaviours show-interface-all enable
state admin-state unlocked
!
devices device dist-sw02
address 10.10.20.178
ssh host-key-verification none
authgroup labadmin
device-type cli ned-id cisco-nx-cli-5.23
device-type cli protocol telnet
ned-settings cisco-nx behaviours show-interface-all enable
state admin-state unlocked
!
devices device edge-firewall01
address 10.10.20.171
ssh host-key-verification none
authgroup labadmin
device-type cli ned-id cisco-asa-cli-6.17
device-type cli protocol telnet
state admin-state unlocked
!
devices device edge-sw01
address 10.10.20.172
ssh host-key-verification none
authgroup labadmin
device-type cli ned-id cisco-ios-cli-6.90
device-type cli protocol telnet
state admin-state unlocked
!
devices device internet-rtr01
address 10.10.20.181
ssh host-key-verification none
authgroup labadmin
device-type cli ned-id cisco-ios-cli-6.90
device-type cli protocol telnet
state admin-state unlocked
!
To quickly apply the configuration, you can go to configuration mode config then load merge terminal copy paste the config I shared, press enter (it needs to have a new line/carriage character), then ctrl + d to exit the terminal load and commit
I tested it and worked. From there you can connect to the devices and sync-from
EDIT: typos
08-01-2024 09:44 AM - edited 08-01-2024 09:46 AM
DELETED (anwered in wrong thread)
08-02-2024 05:50 AM
@sipho-nangle Maybe there are no devices imported/loaded in your NSO instance: What's the output of show devices brief ?
08-03-2024 06:43 AM
my NSO environment ran out of time, will check once I can reserve it again.
08-07-2024 09:14 AM
Hey, I have tried this and it looks like there is no devices.
developer@10.10.20.49's password:
Last login: Wed Aug 7 08:55:50 2024 from 192.168.254.11
[developer@nso ~]$ ncs_cli -C -u admin
User admin last logged in 2024-08-07T15:56:17.51203+00:00, to nso, from 192.168.254.11 using cli-ssh
admin connected from 192.168.254.11 using ssh on nso
admin@ncs# show devices brief
NAME ADDRESS DESCRIPTION NED ID
----------------------------------
also if i run the command from the lab I get no entries found.
admin@ncs# show running-config devices device
% No entries found.
admin@ncs# show running-config devices device | de-select config
% No entries found.
admin@ncs#
08-02-2024 05:53 AM
If the output is empty you need to configure an authgroup and add devices to NSO - see this link for the required steps:
08-03-2024 02:33 AM
I have done all the steps in that module up this point, multiple times, and still get the same result.
08-05-2024 02:54 AM
Hi @sipho-nangle if you are starting with NSO, you can also try https://developer.cisco.com/learning/labs/learn-nso-with-netsim/introduction/ which is similar to the Learning Lab you are following. The difference is that uses netsim instead of the sandbox and live status is not present.
We are working on upgrading the NSO sandbox to fix some issues, hopefully that will fix the one you have.
08-06-2024 04:10 AM
Hey Jesus,
I have been using netsim recently, its pretty good. I will check that link out too though. Thank you
08-07-2024 01:43 AM
Is this why I am never able to reserve a slot ? is it currently offline until the works is completed ?
08-07-2024 02:11 AM
Hi @sipho-nangle , the work we do on the upgrade is not related to the availability of the sandbox. We work on a separate environment with separated instances.
The reason you find hard to reserve a slot, is due to the number of instances available, you can see that on the "more info" tab of the NSO sandbox, see "Currently Active" and "Active environment limit". I will review with the team if we can increase the number of instances.
08-07-2024 02:59 AM
Ok, Thank you for the info
08-07-2024 02:21 AM
Hi All,
We have increased NSO reservation limit. Please try reserving again.
Thanks
Support
08-07-2024 03:11 AM
Thanks, I have managed to reserve one.
08-08-2024 03:30 AM - edited 08-08-2024 03:37 AM
Hi @sipho-nangle
I spinned a NSO reservation to tested it and I can see that the devices and authgroups config is missing from the NCS host 49, sorry for the issue. This is something that will be fixed on the new release we are working on.
In the meantime, you can apply this config, which will add the devices to NSO on host 49.
devices authgroups group labadmin
default-map remote-name cisco
default-map remote-password cisco
default-map remote-secondary-password cisco
!
devices device core-rtr01
address 10.10.20.173
ssh host-key-verification none
authgroup labadmin
device-type cli ned-id cisco-iosxr-cli-7.44
device-type cli protocol telnet
state admin-state unlocked
!
devices device core-rtr02
address 10.10.20.174
ssh host-key-verification none
authgroup labadmin
device-type cli ned-id cisco-iosxr-cli-7.44
device-type cli protocol telnet
state admin-state unlocked
!
devices device dist-rtr01
address 10.10.20.175
ssh host-key-verification none
authgroup labadmin
device-type cli ned-id cisco-ios-cli-6.90
device-type cli protocol telnet
state admin-state unlocked
!
devices device dist-rtr02
address 10.10.20.176
ssh host-key-verification none
authgroup labadmin
device-type cli ned-id cisco-ios-cli-6.90
device-type cli protocol telnet
state admin-state unlocked
!
devices device dist-sw01
address 10.10.20.177
ssh host-key-verification none
authgroup labadmin
device-type cli ned-id cisco-nx-cli-5.23
device-type cli protocol telnet
ned-settings cisco-nx behaviours show-interface-all enable
state admin-state unlocked
!
devices device dist-sw02
address 10.10.20.178
ssh host-key-verification none
authgroup labadmin
device-type cli ned-id cisco-nx-cli-5.23
device-type cli protocol telnet
ned-settings cisco-nx behaviours show-interface-all enable
state admin-state unlocked
!
devices device edge-firewall01
address 10.10.20.171
ssh host-key-verification none
authgroup labadmin
device-type cli ned-id cisco-asa-cli-6.17
device-type cli protocol telnet
state admin-state unlocked
!
devices device edge-sw01
address 10.10.20.172
ssh host-key-verification none
authgroup labadmin
device-type cli ned-id cisco-ios-cli-6.90
device-type cli protocol telnet
state admin-state unlocked
!
devices device internet-rtr01
address 10.10.20.181
ssh host-key-verification none
authgroup labadmin
device-type cli ned-id cisco-ios-cli-6.90
device-type cli protocol telnet
state admin-state unlocked
!
To quickly apply the configuration, you can go to configuration mode config then load merge terminal copy paste the config I shared, press enter (it needs to have a new line/carriage character), then ctrl + d to exit the terminal load and commit
I tested it and worked. From there you can connect to the devices and sync-from
EDIT: typos
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