From 91677876e5cf5de7305437d4dcffe4263f0701c5 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Tue, 29 Aug 2017 10:49:35 +0000 Subject: [PATCH] Ensure online migrations can run The online migrations are disabled when they would have run once per software version. However, when the task that sets data_migration is skipped, it's not considered as failure by ansible, and therefore the | succeeded will be true, removing the ability to do the online data migrations. This ensure that the fact task will be set to remove the need for online data migrations when the relevant task has properly run (not skipped). Closes-Bug: #1713698 Change-Id: I0ed046252b24d4e02efb65216cc1c33aa470db9d --- tasks/nova_db_setup.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/nova_db_setup.yml b/tasks/nova_db_setup.yml index 68849054..4146cc3d 100644 --- a/tasks/nova_db_setup.yml +++ b/tasks/nova_db_setup.yml @@ -42,4 +42,5 @@ option: need_online_data_migrations value: False when: + - not data_migrations | skipped - data_migrations | succeeded