cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
932
Views
0
Helpful
3
Replies

Unable connecting to VIRL Server

ipolezhaev
Level 1
Level 1

Hi! There is no response from VIRL Server. 
(venv) [developer@devbox ll_net_cicd_code_samples]$ping 10.10.20.160
PING 10.10.20.160 (10.10.20.160) 56(84) bytes of data.
From 10.10.20.20 icmp_seq=1 Destination Host Unreachable
From 10.10.20.20 icmp_seq=2 Destination Host Unreachable
From 10.10.20.20 icmp_seq=3 Destination Host Unreachable

(venv) [developer@devbox ll_net_cicd_code_samples]$ virl ls --all
Exception raised while running your command
Please open an issue and provide this info:
HTTPConnectionPool(host='10.10.20.160', port=19399): Max retries exceeded with url: /simengine/rest/list (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4a698de748>: Failed to establish a new connection: [Errno 113] No route to host',))
It seems there is some connectivity issue with the virtual machine.

3 Replies 3

hapresto
Cisco Employee
Cisco Employee

Sorry about that.  I've just checked and fixed up your reservation and verified VIRL is now available.  I extended your reservation by 2 days to give you more time to checkout the lab.  If you've any other problems let us know.

 

Hank

Thanks. But in the following step I got on my workstation:

$ virl nodes                                                                                                                                           
Here is a list of all the running nodes                                                                                                                
+-------------+--------+---------+-------------+------------+----------------------+--------------------+                                              
| Node        | Type   | State   | Reachable   | Protocol   | Management Address   | External Address   |                                              
+=============+========+=========+=============+============+======================+====================+                                              
| prod-IOSv-1 | IOSv   | ACTIVE  | REACHABLE   | telnet     | 172.16.30.201        | N/A                |                                              
+-------------+--------+---------+-------------+------------+----------------------+--------------------+                                              
| prod-IOSv-2 | IOSv   | ACTIVE  | REACHABLE   | telnet     | 172.16.30.202        | N/A                |                                              
+-------------+--------+---------+-------------+------------+----------------------+--------------------+                                              
| prod-IOSv-3 | IOSv   | ACTIVE  | REACHABLE   | telnet     | 172.16.30.203        | N/A                |                                              
+-------------+--------+---------+-------------+------------+----------------------+--------------------+                                              
(venv)                                                                                                                                                 
R9TRRT8+ingvar@R9TRRT8 MINGW64 /x/Networking/Labs/Programmability/code/ll_net_cicd_code_samples (master)                                               
$ virl telnet prod-IOSv-1                                                                                                                              
Attemping telnet connection to prod-IOSv-1 at 172.16.30.201                                                                                            
Exception raised while running your command                                                                                                            
Please open an issue and provide this info:                                                                                                            
[WinError 2] The system cannot find the file specified                                                                                                 
(venv)   


and also on devbox:

(venv) [developer@devbox ~]$ git clone https://github.com/CiscoDevNet/ll_net_cicd_code_samples
Cloning into 'll_net_cicd_code_samples'...
remote: Enumerating objects: 435, done.
remote: Total 435 (delta 0), reused 0 (delta 0), pack-reused 435
Receiving objects: 100% (435/435), 85.26 KiB | 0 bytes/s, done.
Resolving deltas: 100% (59/59), done.
(venv) [developer@devbox ~]$ cd ll_net_cicd_code_samples/pipeline/
(venv) [developer@devbox pipeline]$ ./devbox_setup.sh
- downloading role 'docker-ce-ansible-role', owned by zaxos
- downloading role from https://github.com/zaxos/docker-ce-ansible-role/archive/1.2.1.tar.gz
- extracting zaxos.docker-ce-ansible-role to /home/developer/.ansible/roles/zaxos.docker-ce-ansible-role
- zaxos.docker-ce-ansible-role (1.2.1) was installed successfully

PLAY [Update Docker CE] *****************************************************************************************************************************************************************************************

TASK [Gathering Facts] ******************************************************************************************************************************************************************************************
ok: [10.10.20.20]

TASK [zaxos.docker-ce-ansible-role : Install docker-ce (RedHat OS family)] **************************************************************************************************************************************
fatal: [10.10.20.20]: FAILED! => {"reason": "no action detected in task. This often indicates a misspelled module name, or incorrect module path.\n\nThe error appears to have been in '/home/developer/.ansible/roles/zaxos.docker-ce-ansible-role/tasks/install-EL.yml': line 14, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Enable additional repository (for RHEL only)\n ^ here\n\n\nThe error appears to have been in '/home/developer/.ansible/roles/zaxos.docker-ce-ansible-role/tasks/install-EL.yml': line 14, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Enable additional repository (for RHEL only)\n ^ here\n\nexception type: <class 'ansible.errors.AnsibleParserError'>\nexception: no action detected in task. This often indicates a misspelled module name, or incorrect module path.\n\nThe error appears to have been in '/home/developer/.ansible/roles/zaxos.docker-ce-ansible-role/tasks/install-EL.yml': line 14, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Enable additional repository (for RHEL only)\n ^ here\n"}
to retry, use: --limit @/home/developer/ll_net_cicd_code_samples/pipeline/pipeline_setup.retry

PLAY RECAP ******************************************************************************************************************************************************************************************************
10.10.20.20 : ok=1 changed=0 unreachable=0 failed=1

 

Is it my fault ?

Ok, I managed to fix this problem.