From 630b1aadd0ea9e56a6c6fb05a79dd4d8cd827a98 Mon Sep 17 00:00:00 2001 From: Rakesh Venkatesh Date: Mon, 11 Jan 2021 11:20:05 +0100 Subject: [PATCH] Display all data volumes for vm while destroying If a root admin tries to destroy VM of different domain then the data disks are not displayed and hence they wont be destroyed. Make sure that root admin can see all data disks of a vm while destroying it --- src/views/compute/DestroyVM.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/compute/DestroyVM.vue b/src/views/compute/DestroyVM.vue index 9c8b98285..638097d29 100644 --- a/src/views/compute/DestroyVM.vue +++ b/src/views/compute/DestroyVM.vue @@ -97,7 +97,8 @@ export default { api('listVolumes', { virtualMachineId: this.resource.id, type: 'DATADISK', - details: 'min' + details: 'min', + listall: 'true' }).then(json => { this.volumes = json.listvolumesresponse.volume || [] }).finally(() => {