Merge "Add missing cron jobs for Overcloud cleanup"

This commit is contained in:
Zuul 2018-03-27 18:28:37 +00:00 committed by Gerrit Code Review
commit 05cef8859a
2 changed files with 11 additions and 1 deletions

View File

@ -144,9 +144,13 @@ class tripleo::profile::base::nova::api (
}
if $step >= 5 {
if hiera('nova_enable_db_purge', true) {
if hiera('nova_enable_db_archive', true) {
include ::nova::cron::archive_deleted_rows
if hiera('nova_enable_db_purge', true) {
include ::nova::cron::purge_shadow_tables
}
}
# At step 5, we consider all nova-compute services started and registred to nova-conductor
# So we want to update Nova Cells database to be aware of these hosts by executing the
# nova-cell_v2-discover_hosts command again.

View File

@ -0,0 +1,6 @@
---
features:
- |
Adds a new parameter to validate whether run
the archive or purge manifest for deleted instances
in Nova.