“Failed to license simulation.” There are “X” number Cisco VM nodes

    User Scenario

    Receiving the following error. VIRL was working fine...then I shutdown and rebooted...comes back with this issue.

    Failed to license simulation. 
    For reference, there are 14 Cisco VM nodes defined in total across all launched simulations. 
    The licensing error message is: 
    Exceeded permitted Cisco node count 15 
    Traceback (most recent call last): 
    File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() 
    File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request return self.view_functionsrule.endpoint 
    File "/home/jenkins/jenkins/jobs/VIRL_CORE_build/workspace/test-virl-repo/virl/std/implementation.py", line 235, in wrapped 
    File "/home/jenkins/jenkins/jobs/VIRL_CORE_build/workspace/test-virl-repo/virl/std/implementation.py", line 989, in simengine_launch 
    File "/home/jenkins/jenkins/jobs/VIRL_CORE_build/workspace/test-virl-repo/virl/std/implementation.py", line 985, in simengine_launch 
    HttpException: Failed to license simulation. 
    For reference, there are 14 Cisco VM nodes defined in total across all launched simulations. The licensing error message is: Exceeded permitted Cisco node count 15

    Solution:

    It says that there are existing simulations that total 14 router nodes; login to User Workspace Management and look at the admin Overview page to see if any simulations need to be terminated. If you can't see any running simulation, please log into the virl server and see if any simulation shows up in the output of
    sudo virl_std_server user-info --all

    If this is the case, you can try to remove them by running the following command:
    sudo virl_std_server user-clear -u guest.