Review board: https://goo.gl/iYw2m0 || Documentation: https://rally.readthedocs.org/en/latest/
test scenario CinderVolumes.create_and_attach_volume
args position 1
args values:
{
"args": {
"size": {
"min": 1,
"max": 5
},
"flavor": {
"name": "m1.tiny"
},
"image": {
"name": "cirros"
},
"create_volume_params": {
"availability_zone": "nova"
}
},
"runner": {
"times": 5,
"concurrency": 1
},
"contexts": {},
"sla": {
"failure_rate": {
"max": 0
}
},
"hooks": []
}
--------------------------------------------------------------------------------
Task f66a9552-8e3d-47a0-81c3-ee12005d7f48 has 5 error(s)
--------------------------------------------------------------------------------
Conflict: Multiple possible networks found, use a Network ID to be more specific. (HTTP 409) (Request-ID: req-ef88a501-4cce-4d22-aa7b-22dd99824428)
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/rally/task/runner.py", line 69, in _run_scenario_once
getattr(scenario_inst, method_name)(**scenario_kwargs)
File "/usr/local/lib/python3.6/dist-packages/rally/common/logging.py", line 329, in wrapper
return f(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/rally_openstack/task/scenarios/cinder/volumes.py", line 452, in run
server = self._boot_server(image, flavor, **create_vm_params)
File "/usr/local/lib/python3.6/dist-packages/rally_openstack/task/scenarios/nova/utils.py", line 104, in _boot_server
server_name, image, flavor, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/novaclient/v2/servers.py", line 1477, in create
return self._boot(response_key, *boot_args, **boot_kwargs)
File "/usr/local/lib/python3.6/dist-packages/novaclient/v2/servers.py", line 837, in _boot
return_raw=return_raw, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/novaclient/base.py", line 363, in _create
resp, body = self.api.client.post(url, body=body)
File "/usr/local/lib/python3.6/dist-packages/keystoneauth1/adapter.py", line 401, in post
return self.request(url, 'POST', **kwargs)
File "/usr/local/lib/python3.6/dist-packages/novaclient/client.py", line 78, in request
raise exceptions.from_response(resp, body, url, method)
novaclient.exceptions.Conflict: Multiple possible networks found, use a Network ID to be more specific. (HTTP 409) (Request-ID: req-ef88a501-4cce-4d22-aa7b-22dd99824428)
--------------------------------------------------------------------------------
+----------------------------------------------------------------------------------------------------------------------+
| Response Times (sec) |
+-------------------+-----------+--------------+--------------+--------------+-----------+-----------+---------+-------+
| Action | Min (sec) | Median (sec) | 90%ile (sec) | 95%ile (sec) | Max (sec) | Avg (sec) | Success | Count |
+-------------------+-----------+--------------+--------------+--------------+-----------+-----------+---------+-------+
| nova.boot_server | 0.669 | 0.68 | 0.756 | 0.776 | 0.797 | 0.703 | 0.0% | 5 |
| total | 0.67 | 0.68 | 0.756 | 0.777 | 0.797 | 0.703 | 0.0% | 5 |
| -> duration | 0.67 | 0.68 | 0.756 | 0.777 | 0.797 | 0.703 | 0.0% | 5 |
| -> idle_duration | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0% | 5 |
+-------------------+-----------+--------------+--------------+--------------+-----------+-----------+---------+-------+
Load duration: 3.531869
Full duration: 12.255646
At least one workload did not pass SLA criteria.
if volume_args:
volume = self.cinder.create_volume(volume_args["size"],
imageRef=None)
kwargs["block_device_mapping"] = {"vdrally": "%s:::1" % volume.id}
https://docs.opendev.org/opendev/infra-manual/latest/developers.html
You need to create a gerrit account, install git-review and that is all