From 4119b159e9b2477d63ce757ca444a9cadbad7cb9 Mon Sep 17 00:00:00 2001 From: Fabian Ebner Date: Thu, 16 Apr 2020 14:54:44 +0200 Subject: [PATCH] ui: don't block offline migration due non-referenced disk in the config All local disks can/will be migrated if not for a reason we don't know about yet at this stage. The disks we get from the API call as 'local_disks' are either referenced by the config or by snapshots in the config (which was not checked for and the reason one could run into the 'else if' branch). Signed-off-by: Fabian Ebner Signed-off-by: Thomas Lamprecht --- www/manager6/window/Migrate.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/www/manager6/window/Migrate.js b/www/manager6/window/Migrate.js index cfc1316d..61bc6a49 100644 --- a/www/manager6/window/Migrate.js +++ b/www/manager6/window/Migrate.js @@ -265,13 +265,6 @@ Ext.define('PVE.window.Migrate', { severity: 'error' }); } - - } else if (!disk.referenced_in_config) { - migration.possible = false; - migration.preconditions.push({ - text: 'Found not referenced/unused disk via storage: '+ disk.volid, - severity: 'error' - }); } else { migration['with-local-disks'] = 1; migration.preconditions.push({