cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
663
Views
0
Helpful
1
Replies

NSO Sandbox Error

mamullen
Cisco Employee
Cisco Employee

I reserved the NSO sandbox, and looks like it is getting an error during provisioning and I did not receive the "lab is ready" email with the Anyconnect VPN login details.  Here's what I see in the output:

 

13:59:20 Environment Driver Setup has begun


Beginning sandbox setup
Preparing connectivity
Apps deployment started

 

 


Apps are being discovered...


Connecting all apps

Apps are powering on...

 

Waiting for apps IP addresses, this may take a while...

 


No apps to configure
Sandbox setup finished successfully

14:02:20 Just a moment - a few more things left to setup...


14:03:50 Setting POD Internet access policy


14:03:55 Waiting 4 minutes for all systems be become fully ready


14:07:57 Calling Setup on applicable resources

 


14:08:19 Beginning Setup for resource [Cisco Modeling Labs_8db2-b40e]


14:08:19 Beginning Setup for resource [NSO_a79f-b40e]


Setting up Network policy
Done
Network Setup Complete!!!

14:08:30 Wait 10 minutes before configure ncs...

14:12:00 <font color="red">Errors reported during Setup for resource [Cisco Modeling Labs_8db2-b40e] </font>


14:19:20 configuring ncs...
14:19:48 Completed Setup for resource [NSO_a79f-b40e]


14:19:56

ERROR detected when calling Resource Driver Command [Setup] for resource [Cisco Modeling Labs_8db2-b40e].
Friendly Error Message: CML Setup Error from Resource:Cisco Modeling Labs_8db2-b40e
Technical Error Message: Tried Times 4: "Authorization: Bearer $VIRL_TOKEN" | jq -r .registration.status
Note: Unnecessary use of -X or --request, GET is already inferred.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [102 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2595 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [300 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: C=US; ST=California; L=San Jose; O=VIRL Labs; OU=Skunkworks department; CN=cml-controller.cml.lab; emailAddress=virl2@virl.labs
* start date: Mar 27 17:45:38 2020 GMT
* expire date: Jun 30 17:45:38 2022 GMT
* issuer: C=US; ST=California; L=San Jose; O=VIRL Labs; OU=Learning at Cisco; CN=VIRL Labs CA; emailAddress=virl2@virl.labs
* SSL certificate verify result: self signed certificate in certificate chain (19), continuing anyway.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
} [5 bytes data]
* Using Stream ID: 1 (easy handle 0x55f6794f9630)
} [5 bytes data]
> GET /api/v0/licensing HTTP/2
> Host: localhost
> User-Agent: curl/7.61.1
> Accept: */*
> Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJjb20uY2lzY28udmlybCIsImlhdCI6MTYwMzk4MDUzNCwiZXhwIjoxNjA0MDY2OTM0LCJzdWIiOiIxMDEifQ.s2c2gtfxtKDIZwrWFxuM0HWwJIvgpb4W5VRUnP6n910
>
{ [5 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
} [5 bytes data]
< HTTP/2 200
< server: nginx/1.14.1
< date: Thu, 29 Oct 2020 14:12:26 GMT
< content-type: application/json; charset=utf-8
< content-length: 1725
< vary: Accept-Encoding
< content-security-policy: default-src 'none'; frame-ancestors 'none'
< x-frame-options: DENY
< x-content-type-options: nosniff
< strict-transport-security: max-age=63072000
<
{ [1725 bytes data]
100 1725 100 1725 0 0 55645 0 --:--:-- --:--:-- --:--:-- 57500
* Connection #0 to host localhost left intact
RETRY_IN_PROGRESS
[At Address:10.10.20.161
Error Location: UDC_RD_NSO_VIRLLicenseVIRL

 

14:20:04 None


14:20:06 Errors occurred preparing environment. Please use the forum at
https://communities.cisco.com/community/developer/sandbox for assistance


14:20:08 Driver Complete.

 

1 Reply 1

ts9
Level 1
Level 1

Seeing the same issue - logs below... something is acting up

 

16:17:51 Environment Driver Setup has begun


Beginning sandbox setup
Preparing connectivity
Apps deployment started






Apps are being discovered...


Connecting all apps

Apps are powering on...



Waiting for apps IP addresses, this may take a while...




No apps to configure
Sandbox setup finished successfully

16:20:20 Just a moment - a few more things left to setup...


16:20:58 Setting POD Internet access policy


16:21:10 Waiting 4 minutes for all systems be become fully ready


16:25:46 Calling Setup on applicable resources




16:26:12 Beginning Setup for resource [NSO_d48b-b4f3]


16:26:12 Beginning Setup for resource [Cisco Modeling Labs_7154-b4f3]


Setting up Network policy
Done
Network Setup Complete!!!

16:26:26 Wait 10 minutes before configure ncs... 

16:29:52 <font color="red">Errors reported during Setup for resource [Cisco Modeling Labs_7154-b4f3] </font>


16:37:17 configuring ncs...
16:37:42 Completed Setup for resource [NSO_d48b-b4f3]


16:37:56 

ERROR detected when calling Resource Driver Command [Setup] for resource [Cisco Modeling Labs_7154-b4f3].
Friendly Error Message: CML Setup Error from Resource:Cisco Modeling Labs_7154-b4f3
Technical Error Message: Tried Times 4: "Authorization: Bearer $VIRL_TOKEN" | jq -r .registration.status
Note: Unnecessary use of -X or --request, GET is already inferred.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [102 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2595 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [300 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=US; ST=California; L=San Jose; O=VIRL Labs; OU=Skunkworks department; CN=cml-controller.cml.lab; emailAddress=virl2@virl.labs
*  start date: Mar 27 17:45:38 2020 GMT
*  expire date: Jun 30 17:45:38 2022 GMT
*  issuer: C=US; ST=California; L=San Jose; O=VIRL Labs; OU=Learning at Cisco; CN=VIRL Labs CA; emailAddress=virl2@virl.labs
*  SSL certificate verify result: self signed certificate in certificate chain (19), continuing anyway.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
} [5 bytes data]
* Using Stream ID: 1 (easy handle 0x55f84709e630)
} [5 bytes data]
> GET /api/v0/licensing HTTP/2
> Host: localhost
> User-Agent: curl/7.61.1
> Accept: */*
> Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJjb20uY2lzY28udmlybCIsImlhdCI6MTYwMzk4ODgwNywiZXhwIjoxNjA0MDc1MjA3LCJzdWIiOiIxMDEifQ.gmLKyxhBW3NOG2Nr3zp0F346Lb6rl7NzrlRF-vX8GxY
> 
{ [5 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
} [5 bytes data]
< HTTP/2 200 
< server: nginx/1.14.1
< date: Thu, 29 Oct 2020 16:30:21 GMT
< content-type: application/json; charset=utf-8
< content-length: 1725
< vary: Accept-Encoding
< content-security-policy: default-src 'none'; frame-ancestors 'none'
< x-frame-options: DENY
< x-content-type-options: nosniff
< strict-transport-security: max-age=63072000
< 
{ [1725 bytes data]
100  1725  100  1725    0     0  90789      0 --:--:-- --:--:-- --:--:-- 90789
* Connection #0 to host localhost left intact
RETRY_IN_PROGRESS
[At Address:10.10.20.161
Error Location: UDC_RD_NSO_VIRLLicenseVIRL



16:38:09 None


16:38:17 Errors occurred preparing environment.   Please use the forum at
https://communities.cisco.com/community/developer/sandbox for assistance


16:38:24 Driver Complete.


16:52:49 Sandbox Lab Teardown Beginning -----


16:52:51 Ending VPN Connection


16:52:55 VPN Access Revoked


16:52:59 Calling Teardown on applicable resources




16:53:21 Beginning Teardown for resource [NSO_d48b-b4f3]


16:53:23 Beginning Teardown for resource [Cisco Modeling Labs_7154-b4f3]


16:53:24 Completed Teardown for resource [NSO_d48b-b4f3]


16:53:31 <font color="red">Errors reported during Teardown for resource [Cisco Modeling Labs_7154-b4f3] </font>


16:53:35 Defaulting POD Internet access policy


16:53:36 Deleting Lab VMs


Beginning sandbox teardown
Disconnecting all apps...

Apps are being powered off and deleted...



Cleaning-up connectivity