[Openstack] Rally - problem with some test

Ɓukasz Chrustek lukasz at chrustek.net
Wed Dec 6 08:48:31 UTC 2017


Hi,

I have folowing problem with resize-server.json test in rally:

# rally task start resize-server.json

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/rally/task/runner.py", line 71, in _run_scenario_once
    getattr(scenario_inst, method_name)(**scenario_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/rally/plugins/openstack/scenarios/nova/servers.py", line 388, in run
    server = self._boot_server(image, flavor, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/rally/task/atomic.py", line 87, in func_atomic_actions
    f = func(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/rally/plugins/openstack/scenarios/nova/utils.py", line 80, in _boot_server
    server_name, image, flavor, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 1403, in create
    **boot_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 802, in _boot
    return_raw=return_raw, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 361, in _create
    resp, body = self.api.client.post(url, body=body)
  File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 310, in post
    return self.request(url, 'POST', **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 83, in request
    raise exceptions.from_response(resp, body, url, method)
BadRequest: Block Device Mapping is Invalid: You specified more local devices than the limit allows (HTTP 400) (Request-ID: req-30fa2508-cc8e-45f4-9f1c-86202de111df)


we  don't  have ephemeral disk allowed. What options I need to pass to
rally/json file, to make it work ?

regards
Luk




More information about the Openstack mailing list