From ab5b6d79e022fd7bb540eb1997dac9e465f554c4 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Tue, 29 Aug 2017 10:57:14 +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). Change-Id: I2033cbb70e8b94eafee586b94aa85b5cf694d823 Closes-Bug: #1713698 --- tasks/cinder_db_setup.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/cinder_db_setup.yml b/tasks/cinder_db_setup.yml index 1a45bf36..2a86641c 100644 --- a/tasks/cinder_db_setup.yml +++ b/tasks/cinder_db_setup.yml @@ -36,4 +36,5 @@ option: need_online_data_migrations value: False when: + - not data_migrations | skipped - data_migrations | succeeded