tempest/releasenotes/notes/resource-list-cbf9779e8b434654.yaml
Katarina Strenkova f999b15bd4 Implement purge list for tempest cleanup
This patch adds an option to create purge list that logs every
resource created by Tempest. When used with tempest cleanup
command, it creates a new method of deleting resources created
during one or multiple Tempest runs.

This method solves the problem of accidentally deleting
resources which were not created by Tempest, but by users.

Change-Id: Ide81e6a41799bace211669951b4ceab8635b56ab
2024-05-20 12:35:13 +00:00

12 lines
584 B
YAML

---
features:
- |
A new interface ``--resource-list`` has been introduced in the
``tempest cleanup`` command to remove the resources created by
Tempest. A new config option in the default section, ``record_resources``,
is added to allow the recording of all resources created by Tempest.
A list of these resources will be saved in ``resource_list.json`` file,
which will be appended in case of multiple Tempest runs. This file
is intended to be used with the ``tempest cleanup`` command if it is
used with the newly added option ``--resource-list``.