Merge "Add parameter to configure maxdelay in db purge/archive job" into stable/queens
This commit is contained in:
commit
c0e61797bd
|
@ -102,6 +102,11 @@ parameters:
|
||||||
description: >
|
description: >
|
||||||
Cron to move deleted instances to another table - Log destination
|
Cron to move deleted instances to another table - Log destination
|
||||||
default: '/var/log/cinder/cinder-rowsflush.log'
|
default: '/var/log/cinder/cinder-rowsflush.log'
|
||||||
|
CinderCronDbPurgeMaxDelay:
|
||||||
|
type: string
|
||||||
|
description: >
|
||||||
|
Cron to move deleted instances to another table - Max Delay
|
||||||
|
default: '3600'
|
||||||
NovaPassword:
|
NovaPassword:
|
||||||
type: string
|
type: string
|
||||||
description: The password for the nova service and db account
|
description: The password for the nova service and db account
|
||||||
|
@ -147,6 +152,7 @@ outputs:
|
||||||
cinder::cron::db_purge::user: {get_param: CinderCronDbPurgeUser}
|
cinder::cron::db_purge::user: {get_param: CinderCronDbPurgeUser}
|
||||||
cinder::cron::db_purge::age: {get_param: CinderCronDbPurgeAge}
|
cinder::cron::db_purge::age: {get_param: CinderCronDbPurgeAge}
|
||||||
cinder::cron::db_purge::destination: {get_param: CinderCronDbPurgeDestination}
|
cinder::cron::db_purge::destination: {get_param: CinderCronDbPurgeDestination}
|
||||||
|
cinder::cron::db_purge::max_delay: {get_param: CinderCronDbPurgeMaxDelay}
|
||||||
cinder::glance::glance_api_servers: {get_param: [EndpointMap, GlanceInternal, uri]}
|
cinder::glance::glance_api_servers: {get_param: [EndpointMap, GlanceInternal, uri]}
|
||||||
cinder::nova::interface: admin
|
cinder::nova::interface: admin
|
||||||
cinder::nova::auth_type: password
|
cinder::nova::auth_type: password
|
||||||
|
|
|
@ -123,6 +123,11 @@ parameters:
|
||||||
description: >
|
description: >
|
||||||
Cron to move deleted instances to another table - Week Day
|
Cron to move deleted instances to another table - Week Day
|
||||||
default: '*'
|
default: '*'
|
||||||
|
NovaCronDBArchivedMaxDelay:
|
||||||
|
type: string
|
||||||
|
description: >
|
||||||
|
Cron to move deleted instances to another table - Max Delay
|
||||||
|
default: '3600'
|
||||||
NovaCronArchiveDeleteRowsMaxRows:
|
NovaCronArchiveDeleteRowsMaxRows:
|
||||||
type: string
|
type: string
|
||||||
description: >
|
description: >
|
||||||
|
@ -243,6 +248,7 @@ outputs:
|
||||||
nova::cron::archive_deleted_rows::monthday: {get_param: NovaCronArchiveDeleteRowsMonthday}
|
nova::cron::archive_deleted_rows::monthday: {get_param: NovaCronArchiveDeleteRowsMonthday}
|
||||||
nova::cron::archive_deleted_rows::month: {get_param: NovaCronArchiveDeleteRowsMonth}
|
nova::cron::archive_deleted_rows::month: {get_param: NovaCronArchiveDeleteRowsMonth}
|
||||||
nova::cron::archive_deleted_rows::weekday: {get_param: NovaCronArchiveDeleteRowsWeekday}
|
nova::cron::archive_deleted_rows::weekday: {get_param: NovaCronArchiveDeleteRowsWeekday}
|
||||||
|
nova::cron::archive_deleted_rows::maxdelay: {get_param: NovaCronDBArchivedMaxDelay}
|
||||||
nova::cron::archive_deleted_rows::max_rows: {get_param: NovaCronArchiveDeleteRowsMaxRows}
|
nova::cron::archive_deleted_rows::max_rows: {get_param: NovaCronArchiveDeleteRowsMaxRows}
|
||||||
nova::cron::archive_deleted_rows::user: {get_param: NovaCronArchiveDeleteRowsUser}
|
nova::cron::archive_deleted_rows::user: {get_param: NovaCronArchiveDeleteRowsUser}
|
||||||
nova::cron::archive_deleted_rows::destination: {get_param: NovaCronArchiveDeleteRowsDestination}
|
nova::cron::archive_deleted_rows::destination: {get_param: NovaCronArchiveDeleteRowsDestination}
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
New parameters, NovaCronDBArchivedMaxDelay and CinderCronDbPurgeMaxDelay,
|
||||||
|
are introduced to configure max_delay parameter to calculate randomized
|
||||||
|
sleep time before db archive/purge. This avoids db collisions when
|
||||||
|
performing db archive/purge operations on multiple controller nodes.
|
Loading…
Reference in New Issue