openstack-ansible/releasenotes/notes/nova_db_cleanup_services-a39bafaaacfb4671.yaml
Dmitriy Rabotyagov 7437b7641b Bump SHAs for OpenStack-Ansible 27.0.0.rc1
Change-Id: I20a5049e14fae2da25a87a97efa58692e561b1be
2023-05-26 10:34:19 +02:00

20 lines
930 B
YAML

---
features:
- |
Added option to periodically clean-up deleted records from Nova
database. Having a lot of records for the deleted instances affects
service performance.
With that 2 new services are being introduced: ``nova-archive-deleted``
and ``nova-purge-deleted`` that will be called periodically using
corresponsive systemd timers on the first nova-conductor host.
By default these services are disabled/stopped and database cleanup
is not performed. You can enable this behaviour by defining variables
``nova_archive_deleted`` and ``nova_purge_deleted``.
Service ``nova-archive-deleted`` will execute
`nova-manage db archive_deleted_rows` while ``nova-archive-deleted``
will execute `nova-manage db purge`. Please correspond to nova-manage
documentation for more information on what these commands do:
https://docs.openstack.org/nova/latest/cli/nova-manage.html