Drop until-complete flag for db purge

Flag --until-complete is not valid for the nova-manage db purge command,
it is working only for archive_deleted_rows [1]. Suposedly it was a
copy/paste mistake to keep the flag in place.

[1] https://docs.openstack.org/nova/latest/cli/nova-manage.html#db-archive-deleted-rows

Change-Id: I7be8c41bd52b955d83c4452e67ef323abe00969e
This commit is contained in:
Dmitriy Rabotyagov 2023-10-24 09:08:45 +02:00
parent 7f431ebcda
commit 51ce1d4923

View File

@ -88,7 +88,7 @@
Unit: "nova-archive-deleted.service"
- service_name: "nova-purge-deleted"
execstarts:
- /bin/sh -c "{{ _db_nova_bin }}/nova-manage db purge --until-complete --all-cells --before \"$(date -d '{{ nova_purge_deleted_before }}' +'%%Y-%%m-%%d %%H:%%M')\"" # noqa: yaml[line-length]
- /bin/sh -c "{{ _db_nova_bin }}/nova-manage db purge --all-cells --before \"$(date -d '{{ nova_purge_deleted_before }}' +'%%Y-%%m-%%d %%H:%%M')\"" # noqa: yaml[line-length]
environment:
UMASK: '0640'
UMASK_DIR: '0750'