aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services
diff options
context:
space:
mode:
authorCarlos Camacho <ccamacho@redhat.com>2016-12-20 07:54:59 +0100
committerCarlos Camacho <ccamacho@redhat.com>2017-01-19 19:54:12 +0100
commit07cdf9bec24d52cd8b056729923861c1966d8004 (patch)
tree35c08a8b2c74556a4e327dd8ebf0137fabde9623 /puppet/services
parent9282a7e0f25dc427e1bc8d47c0b4d3ca2cb7ce88 (diff)
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
Diffstat (limited to 'puppet/services')
-rw-r--r--puppet/services/nova-base.yaml6
1 files changed, 6 insertions, 0 deletions
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