https://github.com/openstack/rally
Raw File
Tip revision: a01a60bc0f773ae6160ed08e2f9d93465cc4d3ee authored by Andrey Kurilin on 28 February 2019, 17:11:49 UTC
Propose 1.4.1 release
Tip revision: a01a60b
production_ready_cleanup.rst
========================
Production read cleanups
========================

Use Case
--------

Rally should delete in all cases all resources that it creates during tasks.


Problem Description
-------------------

* (implemented) Deletion rate limit

  You can kill cloud by deleting too many objects simultaneously, so deletion
  rate limit is required

* (implemented) Retry on failures

  There should be few attempts to delete resource in case of failures

* (implemented) Log resources that failed to be deleted

  We should log warnings about all non deleted resources. This information
  should include UUID of resource, it's type and project.

* (implemented) Pluggable

  It should be simple to add new cleanups adding just plugins somewhere.

* Disaster recovery

  Rally should use special name patterns, to be able to delete resources
  in such case if something went wrong with server that is running Rally. And
  you have just new instance (without old Rally DB) of Rally on new server.
back to top