8c094190ed
Rally cleans up resources automatically at the end of testing. However, we disable cleanup in rally sometimes during testing and later try to manually delete these resources. Cleaning up the resources at scale is very time consuming, so we came up with a python process to speed up this activity. To cleanup : $ source browbeat/.rally-venv/bin/activate $ source ~/overcloudrc $ python browbeat/rally_cleanup.py It spawns the user specified number of processes for cleanup. Each process cleans up the provided resource (example, given network). We are using python multiprocessing Pool with map, which distributes list of resources (ex, networks) to processes for deletion. We also add retries to check and delete the left over resources from previous iterations. Change-Id: Ifeb08e6eb6b8251422ba5777bda15c6701b7fefe |
||
---|---|---|
.. | ||
ci.rst | ||
conf.py | ||
contributing.rst | ||
developing.rst | ||
index.rst | ||
installation.rst | ||
introduction.rst | ||
Makefile | ||
plugins.rst | ||
usage.rst |