Add action for running archive-deleted-rows

Add an action for moving stale data to shadow tables using
nova-manage *1. This will speed up other operations such as
map_instances which no longer need to work against stale
data.

*1 https://docs.openstack.org/nova/pike/cli/nova-manage.html

Change-Id: I03f3d641b50cfc6f02262edb0f714ba6e9566775
Partial-Bug: #1742115
This commit is contained in:
Liam Young
2018-01-11 17:27:20 +00:00
parent 0f14eac672
commit edd9b1face
5 changed files with 75 additions and 2 deletions

View File

@@ -4,3 +4,10 @@ pause:
description: Pause the nova-cloud-controller unit. This action will stop related services.
resume:
descrpition: Resume the nova-cloud-controller unit. This action will start related services.
archive-data:
descrpition: Run job to archive deleted rows in database
params:
batch-size:
type: integer
default: 10000
description: Archive old data to shadow tables