Add missing cron jobs for Overcloud cleanup
This will add the Nova cleanup for the shadow tables. Depends-On: I2dcf37417c36fb8b1bde207c60d22d580005715c Change-Id: I1ebfb0964b00920d787115cfc997bcf0494081c9
This commit is contained in:
parent
4738c61b15
commit
6bc7a7fcb7
@ -144,9 +144,13 @@ class tripleo::profile::base::nova::api (
|
|||||||
}
|
}
|
||||||
|
|
||||||
if $step >= 5 {
|
if $step >= 5 {
|
||||||
if hiera('nova_enable_db_purge', true) {
|
if hiera('nova_enable_db_archive', true) {
|
||||||
include ::nova::cron::archive_deleted_rows
|
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
|
# 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
|
# So we want to update Nova Cells database to be aware of these hosts by executing the
|
||||||
# nova-cell_v2-discover_hosts command again.
|
# nova-cell_v2-discover_hosts command again.
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Adds a new parameter to validate whether run
|
||||||
|
the archive or purge manifest for deleted instances
|
||||||
|
in Nova.
|
Loading…
Reference in New Issue
Block a user