Comment 8 for bug 1701032

Revision history for this message
jethro.sun (jethro-sun7) wrote :

Hi all,

So it seems like the problem is not going away yet. I saw some error msgs like:

```
--------------------------------------------------------------------------------
GetResourceErrorStatus: Resource <Server: s_rally_0624f299_BxFCTGAr> has ERROR status.
Fault: {u'message': u'No valid host was found. There are not enough hosts available.', u'code': 500, u'created': u'2017-07-05T02:51:44Z'}

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/rally/task/runner.py", line 72, in _run_scenario_once
    getattr(scenario_inst, method_name)(**scenario_kwargs)
  File "/usr/lib/python2.7/site-packages/rally/plugins/openstack/scenarios/nova/servers.py", line 869, in run
    server = self._boot_server(image, flavor, **kwargs)
  File "/usr/lib/python2.7/site-packages/rally/task/atomic.py", line 84, in func_atomic_actions
    f = func(self, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/rally/plugins/openstack/scenarios/nova/utils.py", line 146, in _boot_server
    check_interval=CONF.benchmark.nova_server_boot_poll_interval
  File "/usr/lib/python2.7/site-packages/rally/task/utils.py", line 214, in wait_for_status
    resource = update_resource(resource)
  File "/usr/lib/python2.7/site-packages/rally/task/utils.py", line 90, in _get_from_manager
    fault=getattr(res, "fault", "n/a"))
GetResourceErrorStatus: Resource <Server: s_rally_0624f299_BxFCTGAr> has ERROR status.
Fault: {u'message': u'No valid host was found. There are not enough hosts available.', u'code': 500, u'created': u'2017-07-05T02:51:44Z'}
```

And according to some Q&A it seems that the nova cell is not configured correctly. Any suggestions? I think simply changing the hostname to what it supposed to be can be a temporary solution.

openstack Q&A reference:
https://ask.openstack.org/en/question/103932/novalidhost-no-valid-host-was-found-there-are-not-enough-hosts-available/