[Openstack] Rally - problem with some test
Eugen Block
eblock at nde.ag
Thu Jan 18 16:11:13 UTC 2018
Hi,
I can't really help you yet, I just started to deal with rally this
week, but I kept your mail in my inbox, just in case ;-)
How did you configure your json file? Obviously, it's nova who is
complaining about the block devices. How are the instances usually
created in your environment? If I launch an instance via horizon, it
has preselected "Yes" for "Create new volume", I don't know if this
affects rally, too.
Regards,
Eugen
Zitat von Łukasz Chrustek <lukasz at chrustek.net>:
> 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
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
--
Eugen Block voice : +49-40-559 51 75
NDE Netzdesign und -entwicklung AG fax : +49-40-559 51 77
Postfach 61 03 15
D-22423 Hamburg e-mail : eblock at nde.ag
Vorsitzende des Aufsichtsrates: Angelika Mozdzen
Sitz und Registergericht: Hamburg, HRB 90934
Vorstand: Jens-U. Mozdzen
USt-IdNr. DE 814 013 983
More information about the Openstack
mailing list