test failed if create several images with same name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
New
|
Undecided
|
Unassigned |
Bug Description
Task Definition:
version: 2
title: test
subtasks:
-
title: subtask1
scenario:
NovaServers
flavor:
name: m1.tiny
force_delete: false
image:
name: cirros-
contexts:
network:
network_
name: test-sjt-
users:
tenants: 2
users_
images:
image_url: "http://
image_name: cirros-
image_type: qcow2
image_
images_
runner:
constant:
concurrency: 1
times: 1
Test will fail with following information
2019-09-05 08:24:52.252 29580 ERROR rally.task.engine [-] Unexpected exception during the workload execution: InvalidScenario
2019-09-05 08:24:52.252 29580 ERROR rally.task.engine Traceback (most recent call last):
2019-09-05 08:24:52.252 29580 ERROR rally.task.engine File "/home/
2019-09-05 08:24:52.252 29580 ERROR rally.task.engine workload["args"])
2019-09-05 08:24:52.252 29580 ERROR rally.task.engine File "/home/
2019-09-05 08:24:52.252 29580 ERROR rally.task.engine args = types.preproces
2019-09-05 08:24:52.252 29580 ERROR rally.task.engine File "/home/
2019-09-05 08:24:52.252 29580 ERROR rally.task.engine resource_
2019-09-05 08:24:52.252 29580 ERROR rally.task.engine File "/home/
2019-09-05 08:24:52.252 29580 ERROR rally.task.engine resource = self._find_
2019-09-05 08:24:52.252 29580 ERROR rally.task.engine File "/home/
2019-09-05 08:24:52.252 29580 ERROR rally.task.engine matching_exact))})
2019-09-05 08:24:52.252 29580 ERROR rally.task.engine InvalidScenario
2019-09-05 08:24:52.252 29580 ERROR rally.task.engine
2019-09-05 08:24:52.288 29580 INFO rally.task.engine [-] Task 0cc3fc70-
summary: |
- test failed when created image with same image + test failed if created image with same name |
summary: |
- test failed if created image with same name + test failed if create several images with same name |
I think the problem occurs if multiple images with same name exists in glance. But since rally_openstack .contexts. glance. images. ImageGenerator already saves image information by tenant id, it might be better to input null or "" as image id and let scenario retrieve image id by themselves.