mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-06 10:42:21 +00:00
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 <f.ebner@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
084fca1cb8
commit
4119b159e9
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user