Merge "Configure Max Delay for purge job about shadow tables in nova"

This commit is contained in:
Zuul 2019-08-16 18:03:20 +00:00 committed by Gerrit Code Review
commit 6ce0d65798
2 changed files with 13 additions and 0 deletions

View File

@ -181,6 +181,11 @@ parameters:
description: >
Cron to purge shadow tables - Log destination
default: '/var/log/nova/nova-rowspurge.log'
NovaCronPurgeShadowTablesMaxDelay:
type: string
description: >
Cron to purge shadow tables - Max Delay
default: '3600'
NovaCronPurgeShadowTablesAge:
type: number
description: >
@ -341,6 +346,7 @@ outputs:
nova::cron::purge_shadow_tables::weekday: {get_param: NovaCronPurgeShadowTablesWeekday}
nova::cron::purge_shadow_tables::user: {get_param: NovaCronPurgeShadowTablesUser}
nova::cron::purge_shadow_tables::destination: {get_param: NovaCronPurgeShadowTablesDestination}
nova::cron::purge_shadow_tables::maxdelay: {get_param: NovaCronPurgeShadowTablesMaxDelay}
nova::cron::purge_shadow_tables::age: {get_param: NovaCronPurgeShadowTablesAge}
nova::cron::purge_shadow_tables::verbose: {get_param: NovaCronPurgeShadowTablesVerbose}
nova::cron::purge_shadow_tables::all_cells: {get_param: NovaCronPurgeShadowTablesAllCells}

View File

@ -0,0 +1,7 @@
---
features:
- |
New parameter, NovaCronPurgeShadowTablesMaxDelay, is introduced to
configure max delay parameter, which controles randomized sleep before
each controller node executes the cron job to purge items in nova shadow
tables.