Duplicated cleanup in image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
Fix Released
|
Undecided
|
hai shi |
Bug Description
When I ran this task:
{%- set cirros_image_url = "/home/
---
GlanceImages.
-
runner:
type: "constant"
times: 1
context:
users:
tenants: 2
images:
sla:
max: 0
rally would show me a error:
=======
2017-03-20 15:06:04.332 27825 INFO rally.plugins.
2017-03-20 15:06:21.932 27825 INFO rally.plugins.
2017-03-20 15:06:21.933 27825 INFO rally.plugins.
2017-03-20 15:06:53.387 27825 INFO rally.plugins.
2017-03-20 15:06:53.436 28112 INFO rally.task.runner [-] Task 834cd504-
2017-03-20 15:06:56.234 28112 INFO rally.task.runner [-] Task 834cd504-
2017-03-20 15:06:56.291 27825 INFO rally.plugins.
2017-03-20 15:07:06.157 27825 INFO rally.plugins.
2017-03-20 15:07:06.158 27825 INFO rally.plugins.
2017-03-20 15:07:08.765 27825 ERROR rally.task.context [-] Context images failed during cleanup.
2017-03-20 15:07:08.766 27825 ERROR rally.task.context [-] 404 Not Found: Failed to find image 3d085c73-
2017-03-20 15:07:08.766 27825 ERROR rally.task.context Traceback (most recent call last):
2017-03-20 15:07:08.766 27825 ERROR rally.task.context File "/home/
2017-03-20 15:07:08.766 27825 ERROR rally.task.context ctx.cleanup()
2017-03-20 15:07:08.766 27825 ERROR rally.task.context File "/home/
2017-03-20 15:07:08.766 27825 ERROR rally.task.context result = f(self, *args, **kwargs)
2017-03-20 15:07:08.766 27825 ERROR rally.task.context File "/home/
2017-03-20 15:07:08.766 27825 ERROR rally.task.context clients.
2017-03-20 15:07:08.766 27825 ERROR rally.task.context File "/usr/local/
2017-03-20 15:07:08.766 27825 ERROR rally.task.context return RequestIdProxy(
2017-03-20 15:07:08.766 27825 ERROR rally.task.context File "/usr/local/
2017-03-20 15:07:08.766 27825 ERROR rally.task.context resp, body = self.http_
2017-03-20 15:07:08.766 27825 ERROR rally.task.context File "/usr/local/
2017-03-20 15:07:08.766 27825 ERROR rally.task.context return self.request(url, 'DELETE', **kwargs)
2017-03-20 15:07:08.766 27825 ERROR rally.task.context File "/usr/local/
2017-03-20 15:07:08.766 27825 ERROR rally.task.context return self._handle_
2017-03-20 15:07:08.766 27825 ERROR rally.task.context File "/usr/local/
2017-03-20 15:07:08.766 27825 ERROR rally.task.context raise exc.from_
2017-03-20 15:07:08.766 27825 ERROR rally.task.context HTTPNotFound: 404 Not Found: Failed to find image 3d085c73-
2017-03-20 15:07:08.766 27825 ERROR rally.task.context
2017-03-20 15:07:08.770 27825 INFO rally.plugins.
2017-03-20 15:07:42.493 27825 INFO rally.plugins.
2017-03-20 15:07:44.368 27825 INFO rally.task.engine [-] Load duration is: 2.794896
2017-03-20 15:07:44.369 27825 INFO rally.task.engine [-] Full runner duration is: 2.889437
2017-03-20 15:07:44.370 27825 INFO rally.task.engine [-] Full duration is: 98.167871
2017-03-20 15:07:44.643 27825 INFO rally.task.engine [-] Task 834cd504-
=======
Because the context and manager have the cleanup operation. We need to check the resource's status in context.
And https:/
Changed in rally: | |
assignee: | nobody → hai shi (haishi) |
Changed in rally: | |
status: | New → In Progress |
Changed in rally: | |
status: | Fix Committed → Fix Released |
milestone: | none → 0.10.0 |
Fix proposed to branch: master /review. openstack. org/447408
Review: https:/