[pve-devel] [PATCH manager] ceph: pool destroy: give correct parameter for nautilus

Dominik Csapak d.csapak at proxmox.com
Tue Jun 11 13:37:45 CEST 2019


this parameter changed sometime between luminous and nautilus
note that with this change, it is not possible to delete pools in
luminous anymore

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 PVE/Ceph/Tools.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/Ceph/Tools.pm b/PVE/Ceph/Tools.pm
index 464c5c8a..65fc8c72 100644
--- a/PVE/Ceph/Tools.pm
+++ b/PVE/Ceph/Tools.pm
@@ -203,7 +203,7 @@ sub destroy_pool {
 	prefix => "osd pool delete",
 	pool => $pool,
 	pool2 => $pool,
-	sure => '--yes-i-really-really-mean-it',
+	'yes_i_really_really_mean_it' => JSON::true,
 	format => 'plain',
     });
 }
-- 
2.11.0





More information about the pve-devel mailing list