[pve-devel] [PATCH manager v3 17/20] add remove_storages parameter to the pool destruction

Fabian Grünbichler f.gruenbichler at proxmox.com
Thu Aug 31 11:38:20 CEST 2017


From: Dominik Csapak <d.csapak at proxmox.com>

automatically remove the pveceph managed storages when deleting the
pool on the gui

this is ok because we cannot delete the pool anyway when we have images
on it, and recreating them when creating a pool is now trivial

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
identical to Dominik's v1

 www/manager6/ceph/Pool.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www/manager6/ceph/Pool.js b/www/manager6/ceph/Pool.js
index e46585a0..fefddc9d 100644
--- a/www/manager6/ceph/Pool.js
+++ b/www/manager6/ceph/Pool.js
@@ -191,6 +191,9 @@ Ext.define('PVE.node.CephPoolList', {
 
 		var win = Ext.create('PVE.window.SafeDestroy', {
 		    url: base_url,
+		    params: {
+			remove_storages: 1
+		    },
 		    item: { type: 'CephPool', id: rec.data.pool_name }
 		}).show();
 		win.on('destroy', function() {
-- 
2.11.0





More information about the pve-devel mailing list