These are some notes to install Cisco VIRL version 0.9.17 (file virl.0.9.17.pc.ova) on VMware Fusion Professional Version 7.1.1 on MAC OSX Mavericks version 10.9.5. If you happen to hit this page, I’m sure you’re also having an issue with it. So, I thought I should write down some notes here.
I use this VIRL Installation onto VMware Fusion® Pro to run with the installation process and I think you should too. What makes this installation unique is that VIRL will need 5 network interfaces and you will need to configure these interfaces initially before starting up the VIRL host.
Step 5/8, point 8.
It took 5-10 minutes to get the ‘sys.peer‘ shows up. Be patient and wait for it. And yes, you really need to get this running properly as it says IMPORTANT
In this step, I need to install my license but I could not open the ‘User Workspace Management‘. Checking on the terminal, this is what I encountered.
virl@virl:~$ sudo virl_health_status | grep "on url" Traceback (most recent call last): File "bin/virl_health_status", line 278, in <module> File "/usr/lib/python2.7/json/__init__.py", line 338, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded virl@virl:~$ sudo service virl-std restart Thank you for waiting, your call is very important to us VIRL Service Topology Director was stopped. VIRL Service Topology Director has been started in a bad state. STD server on url http://localhost:19399 is down Exception TypeError: "'NoneType' object is not callable" in <function _removeHandlerRef at 0x7f1ea28088c0> ignored For more details see /var/local/virl/logs/std_server.log virl@virl:~$ sudo service virl-uwm restart VIRL User Workspace Management is not running. Exception TypeError: "'NoneType' object is not callable" in <function _removeHandlerRef at 0x7f943da79aa0> ignored Exception TypeError: "'NoneType' object is not callable" in &l;tfunction _removeHandlerRef at 0x7f7a87300aa0> ignored VIRL User Workspace Management has been started in a bad state. UWM server on url http://localhost:19400 is down For more details see /var/local/virl/logs/uwm_server.log
After rummaging the internet for couple of hours, the solution was to change the ‘hostname: virl‘ in virl.ini to ‘hostname: ubuntu‘. You can also use the shortcut ‘0. Edit virl.ini‘ on the desktop. Save and reboot it.
A check on the terminal showed it worked.
virl@virl:~$ sudo virl_health_status | grep "on url" STD server on url http://localhost:19399 is listening, server version 0.10.13.11 UWM server on url http://localhost:19400 is listening, server version 0.10.13.11
Yes, I saw ‘Failed to check call home status: Failed to validate VIRL server: [Errno 2] No such file or directory: ‘/etc/salt/pki/minion/minion.pem’. Don’t worry about this, it will dissapear after the license is installed.
After you get your Maestro client installed on your mac and If you encounter the error below
Error launching simulation. java.net.ConnectException: Connection refused
You need to change your ‘Web Services‘ link to the IP address of the VIRL server. To do this, on your Maestro client, go to FILE => PREFERENCES => WEB SERVICES. Change all of the ‘localhost‘ to the IP address of the VIRL server. This is the IP address that you use to connect to VIRL server via web browser, or you can check this out via ‘Ip-address‘ shortcut on the VIRL desktop. As soon as you changed it, you will be able to see the status changed from ‘Connection refused‘ to ‘Compatible.‘.
I’ll keep to put more notes as I go along with this VIRL, have fun and good luck with your study.