cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1014
Views
5
Helpful
3
Replies

Active with error - Open NX-OS with Nexus 9Kv

basoren
Cisco Employee
Cisco Employee

Output: 

08:50:07 Environment Driver Setup has begun

Beginning sandbox setupPreparing connectivityApps deployment startedError occurred during "Provisioning" stage, see full activity feed for more information.08:50:26 Errors occurred preparing environment. Please use the forum at
https://communities.cisco.com/community/developer/sandbox for assistance


08:50:30 ERROR: OOB Setup script returned errors
Driver:UDC_EnvironmentDriver_B
Function:call_OOB_setup_script

08:50:30 Driver Complete.

1 Accepted Solution

Accepted Solutions

zowu
Cisco Employee
Cisco Employee
We've restarted the backend service and resolved the issue. Please end up your current reservation and spin up a new one.

View solution in original post

3 Replies 3

zowu
Cisco Employee
Cisco Employee
We've restarted the backend service and resolved the issue. Please end up your current reservation and spin up a new one.

basoren
Cisco Employee
Cisco Employee

Hi @ zowu,

I get Request Timed Out when I ping the 172.16.30.101.

 

C:\WINDOWS\system32>ping 172.16.30.101

Pinging 172.16.30.101 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 172.16.30.101:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

 

I've also attached the screenshot of the Dev Box & I got this error:

fatal: unable to access 'https://github.com/DevNetSandbox/sbx_nxos/': Could not resolve host: github.com; Unknown error.

 

Is there an issue with this lab?

Hi - I am sorry to hear you are having an issue with this lab, allow me to help. The sandbox's had a security posture change a few months back, as such tools and repo's were preinstalled. Once you have entered the virtual environment, you can check the installed Ansible

 

 

(venv) [developer@devbox ~]$pip freeze | grep ansible
ansible==2.6.2
(venv) [developer@devbox ~]$which ansible
~/venv/bin/ansible
(venv) [developer@devbox ~]$which ansible-playbook
~/venv/bin/ansible-playbook
(venv) [developer@devbox ~]$

From here, now change your directory to code/sbx_nxos

 

 

 

(venv) [developer@devbox ~]$cd code/sbx_nxos/
(venv) [developer@devbox sbx_nxos]$pwd
/home/developer/code/sbx_nxos

From here you can access the learning labs

 

 

(venv) [developer@devbox sbx_nxos]$cd learning_labs/
(venv) [developer@devbox learning_labs]$ls
LM-1451 intro-ansible  LM-5601 intro-nxos  poap  README.md  telemetry  yang

Bonus tip! Check to see if your switches are online

 

 

 

(venv) [developer@devbox learning_labs]$cd .
(venv) [developer@devbox sbx_nxos]$pwd
/home/developer/code/sbx_nxos
(venv) [developer@devbox learning_labs]$virl ls --all Running Simulations ╒══════════════╤══════════╤════════════════════════════╤═══════════╕ │ Simulation │ Status │ Launched │ Expires │ ╞══════════════╪══════════╪════════════════════════════╪═══════════╡ │ ~jumphost │ ACTIVE │ 2018-08-02T19:21:08.764190 │ │ ╘══════════════╧══════════╧════════════════════════════╧═══════════╛

You will a file 'topology.virl' here, you need to `virl up` from this folder

 

 

(venv) [developer@devbox sbx_nxos]$virl up
Creating default environment from topology.virl
(venv) [developer@devbox sbx_nxos]$virl nodes
Here is a list of all the running nodes
╒══════════════╤═════════════╤══════════╤═════════════╤════════════╤══════════════════════╤════════════════════╕
│ Node         │ Type        │ State    │ Reachable   │ Protocol   │ Management Address   │ External Address   │
╞══════════════╪═════════════╪══════════╪═════════════╪════════════╪══════════════════════╪════════════════════╡
│ nx-osv9000-1 │ NX-OSv 9000 │ BUILDING │ N/A         │ N/A        │ N/A                  │ N/A                │
├──────────────┼─────────────┼──────────┼─────────────┼────────────┼──────────────────────┼────────────────────┤
│ nx-osv9000-2 │ NX-OSv 9000 │ BUILDING │ N/A         │ N/A        │ N/A                  │ N/A                │
├──────────────┼─────────────┼──────────┼─────────────┼────────────┼──────────────────────┼────────────────────┤
│ nx-osv9000-3 │ NX-OSv 9000 │ BUILDING │ N/A         │ N/A        │ N/A                  │ N/A                │
├──────────────┼─────────────┼──────────┼─────────────┼────────────┼──────────────────────┼────────────────────┤
│ nx-osv9000-4 │ NX-OSv 9000 │ BUILDING │ N/A         │ N/A        │ N/A                  │ N/A                │
╘══════════════╧═════════════╧══════════╧═════════════╧════════════╧══════════════════════╧════════════════════╛

 

 

Warning, this can take a little time! Pro tip: Coffee time! When this is ready, all nodes will say 'reachable' you can ping these. You can also ssh and console into the Nexus.

 

 

(venv) [developer@devbox sbx_nxos]$virl nodes
Here is a list of all the running nodes
╒══════════════╤═════════════╤═════════╤═════════════╤════════════╤══════════════════════╤════════════════════╕
│ Node         │ Type        │ State   │ Reachable   │ Protocol   │ Management Address   │ External Address   │
╞══════════════╪═════════════╪═════════╪═════════════╪════════════╪══════════════════════╪════════════════════╡
│ nx-osv9000-1 │ NX-OSv 9000 │ ACTIVE  │ REACHABLE   │ telnet     │ 172.16.30.101        │ N/A                │
├──────────────┼─────────────┼─────────┼─────────────┼────────────┼──────────────────────┼────────────────────┤
│ nx-osv9000-2 │ NX-OSv 9000 │ ACTIVE  │ REACHABLE   │ telnet     │ 172.16.30.102        │ N/A                │
├──────────────┼─────────────┼─────────┼─────────────┼────────────┼──────────────────────┼────────────────────┤
│ nx-osv9000-3 │ NX-OSv 9000 │ ACTIVE  │ REACHABLE   │ telnet     │ 172.16.30.103        │ N/A                │
├──────────────┼─────────────┼─────────┼─────────────┼────────────┼──────────────────────┼────────────────────┤
│ nx-osv9000-4 │ NX-OSv 9000 │ ACTIVE  │ REACHABLE   │ telnet     │ 172.16.30.104        │ N/A                │
╘══════════════╧═════════════╧═════════╧═════════════╧════════════╧══════════════════════╧════════════════════╛
(venv) [developer@devbox sbx_nxos]$
(venv) [developer@devbox sbx_nxos]$ping 172.16.30.101
PING 172.16.30.101 (172.16.30.101) 56(84) bytes of data.
64 bytes from 172.16.30.101: icmp_seq=1 ttl=254 time=1.91 ms
64 bytes from 172.16.30.101: icmp_seq=2 ttl=254 time=1.72 ms
^C
--- 172.16.30.101 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 1.722/1.818/1.915/0.105 ms
(venv) [developer@devbox sbx_nxos]
(venv) [developer@devbox sbx_nxos]$virl ssh nx-osv9000-1
Attemping ssh connectionto nx-osv9000-1 at 172.16.30.101
Warning: Permanently added '172.16.30.101' (RSA) to the list of known hosts.
User Access Verification
Password:
Aborted!

 

 

(venv) [developer@devbox sbx_nxos]$virl console nx-osv9000-1
Attempting to connect to console of nx-osv9000-1
Trying 10.10.20.160...
Connected to 10.10.20.160.
Escape character is '^]'.

nx-osv9000-1#

Hope this helps! :)

 

 

 

 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io