From 07cdf9bec24d52cd8b056729923861c1966d8004 Mon Sep 17 00:00:00 2001 From: Carlos Camacho Date: Tue, 20 Dec 2016 07:54:59 +0100 Subject: 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 --- puppet/services/nova-base.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'puppet/services/nova-base.yaml') diff --git a/puppet/services/nova-base.yaml b/puppet/services/nova-base.yaml index 9a5f27c7..ccbc8524 100644 --- a/puppet/services/nova-base.yaml +++ b/puppet/services/nova-base.yaml @@ -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 -- cgit 1.2.3-korg