CiscoDevNet / learning-labs-issues

Defects and bugs in learning lab content and project management
4 stars 0 forks source link

NSO Sandbox Instance not working #341

Open lhalliburton opened 1 year ago

lhalliburton commented 1 year ago

Yesterday, I attempted to do a lab on the NSO Reservable Sandbox. I had issues as listed below and was unable to complete the initial setup. I need to be able to get this lab working so I can go on to "DevNet Associate Prep" videos.

My original post during the lab reservation: "

I'm currently in an NSO Sandbox reservation. The vpn setup great. Using putty to ssh to 10.10.20.50. Directories seem to be in place, but the very first command in the lab "ncs-setup" is not working. Please advise."

I'm following "Learn NSO: The Easy Way"

I've done this lab before and not had these issues.

I solved the initial problem by adding "$HOME/nso/ncsrc" it seems that this variable didn't get loaded this time.

Now I'm stuck trying to get cli to accept the ned-id of edge-sw01. I keep getting "syntax error: unknown element".

I've attempted to add a variable to the ncs-setup --dest with "ncs-setup --dest ${NCS_DIR}/nso/packages/" command (and several variation of the same, but not having any luck.

Is this typical behavior and I should keep on keepin on? Is there a smarter path? Is there a better way to get on-the-fly sandbox support? I've not found a way to get help with my lab issues while in the lab.

I appreciate anyone's time and I'm hoping with additional direction I can do a little more than get out of the gate next time.

Larry Halliburton, CCNP

richbibby commented 1 year ago

having the same issue. even when I try to add "$HOME/nso/ncsrc"

developer@devbox:~$ export PATH="$HOME/nso/ncsrc"
developer@devbox:~$ ncs-setup --package nso/packages/neds/cisco-ios-cli-6.91/ --package nso/packages/neds/cisco-nx-cli-5.23/ --package nso/packages/neds/cisco-iosxr-cli-7.45/ --package nso/packages/neds/cisco-asa-cli-6.18/ --dest nso-instance
ncs-setup: command not found
josemtnzjmnz commented 1 year ago

Same issue here, I don't know what to do! I am only learning but ncs-setup command is not working

bigevilbeard commented 1 year ago

A response was posted by a member today in the community, run the following command first

source ~/nso/ncsrc

The source ~/nso/ncsrc command in NSO sources the ncsrc file, which is a shell script that contains environment variables and aliases that are used by NSO. This command is typically used to set up the NSO environment before you start working with NSO.