From 330a3902c4723c75e160792b5259974b0ea1c4d6 Mon Sep 17 00:00:00 2001 From: Pearl Dsilva Date: Tue, 1 Sep 2020 09:21:44 +0530 Subject: [PATCH] storage: Filter out storage pool on which the volume currently exists on (#638) Remove the primary store on which the volume is currently present on from the list of possible storage pools to migrate volume. Signed-off-by: Rohit Yadav --- ui/src/locales/en.json | 1 + ui/src/views/storage/MigrateVolume.vue | 59 ++++++++++++++------------ 2 files changed, 34 insertions(+), 26 deletions(-) diff --git a/ui/src/locales/en.json b/ui/src/locales/en.json index 791da76d842..def524e15fb 100644 --- a/ui/src/locales/en.json +++ b/ui/src/locales/en.json @@ -2926,6 +2926,7 @@ "message.no.more.hosts.available": "No more hosts are available for migration", "message.no.network.support": "Your selected hypervisor, vSphere, does not have any additional network features. Please continue to step 5.", "message.no.network.support.configuration.not.true": "You do not have any zone that has security group enabled. Thus, no additional network features. Please continue to step 5.", +"message.no.primary.stores": "No primary storage pools available for migration", "message.no.projects": "You do not have any projects.
Please create a new one from the projects section.", "message.no.projects.adminonly": "You do not have any projects.
Please ask your administrator to create a new project.", "message.number.clusters": "

# of Clusters

", diff --git a/ui/src/views/storage/MigrateVolume.vue b/ui/src/views/storage/MigrateVolume.vue index 0fae82af693..ad1193a063d 100644 --- a/ui/src/views/storage/MigrateVolume.vue +++ b/ui/src/views/storage/MigrateVolume.vue @@ -19,28 +19,32 @@