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 (cherry picked from commit 51ce1d4923fe45649b226e454d0f7c3e71578be6)
This commit is contained in:
parent
5af16d6865
commit
278f6d3fc4
@ -84,7 +84,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')\""
|
||||
- /bin/sh -c "{{ _db_nova_bin }}/nova-manage db purge --all-cells --before \"$(date -d '{{ nova_purge_deleted_before }}' +'%%Y-%%m-%%d %%H:%%M')\""
|
||||
environment:
|
||||
UMASK: '0640'
|
||||
UMASK_DIR: '0750'
|
||||
|
Loading…
x
Reference in New Issue
Block a user