Enabling until_complete to be configured dynamically
Adding to THT the cabability of configuring until_complete in the archive job. This will be a boolean flag to clean all the deleted instances. Will run in batches of max_rows until empty. Change-Id: I087bc66729fef4f33122a7633c154d5a66613d6f Depends-On: I927b75adb0fc3251f3734d41f4393590294c1c9b Closes-Bug: 1650680
This commit is contained in:
parent
9282a7e0f2
commit
07cdf9bec2
@ -106,6 +106,11 @@ parameters:
|
||||
description: >
|
||||
Cron to move deleted instances to another table - Log destination
|
||||
default: '/var/log/nova/nova-rowsflush.log'
|
||||
NovaCronArchiveDeleteRowsUntilComplete:
|
||||
type: boolean
|
||||
description: >
|
||||
Cron to move deleted instances to another table - Until complete
|
||||
default: false
|
||||
|
||||
|
||||
conditions:
|
||||
@ -183,6 +188,7 @@ outputs:
|
||||
nova::cron::archive_deleted_rows::max_rows: {get_param: NovaCronArchiveDeleteRowsMaxRows}
|
||||
nova::cron::archive_deleted_rows::user: {get_param: NovaCronArchiveDeleteRowsUser}
|
||||
nova::cron::archive_deleted_rows::destination: {get_param: NovaCronArchiveDeleteRowsDestination}
|
||||
nova::cron::archive_deleted_rows::until_complete: {get_param: NovaCronArchiveDeleteRowsUntilComplete}
|
||||
-
|
||||
if:
|
||||
- compute_upgrade_level_empty
|
||||
|
Loading…
x
Reference in New Issue
Block a user