No Valid Host was Found

VIRL: No Valid Host Was Found

Last Updated: Oct 5, 2018 @ 9:38 am (UTC)

The Problem

VIRL was updated. Then, a new simulation with two IOS routers was created. When the simulation was started, the management node was fine, but the routers displayed this error:

(ERROR) [Mar/03/2017 02:56:26] Node "R1" state changed from ABSENT to ERROR with message: No valid host was found. Exceeded max scheduling attempts 3 for instance 6975dea0-b68a-44de-a70e-9091b224987d. Last exception: [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2248, in _do:   File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 669, in build_instances

The Solution

  1. Open the VIRL web console
  2. Navigate to VIRL -> Server -> System Tools
  3. Open the System Console
  4. Run the commands below
sudo salt-call saltutil.sync_all
sudo salt-call -l debug state.sls openstack-restart

Each command may take a minute to run. When they’re done, try running the simulation again.

 

Leave a Reply