From 816765374dfe21ebd2b10e2fcae9b7f60600fc12 Mon Sep 17 00:00:00 2001 From: Hidekazu Nakamura Date: Thu, 28 Sep 2017 14:06:07 +0900 Subject: [PATCH] Fix migrate action failure disk_over_commit flag was removed in Nova API microversion 2.25(Mitaka). Since current watcher nova default api version is 2.53(Pike), this patch removes disk_over_commit flag. Change-Id: Ib141505b9e8cb41997b29c1762e387b1f84f5143 Closes-Bug: #1720054 --- watcher/common/nova_helper.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/watcher/common/nova_helper.py b/watcher/common/nova_helper.py index f83340656..6e8c96e72 100644 --- a/watcher/common/nova_helper.py +++ b/watcher/common/nova_helper.py @@ -454,8 +454,7 @@ class NovaHelper(object): "Instance %s found on host '%s'." % (instance_id, host_name)) instance.live_migrate(host=dest_hostname, - block_migration=block_migration, - disk_over_commit=True) + block_migration=block_migration) instance = self.nova.servers.get(instance_id)