[pve-devel] [PATCH manager] ceph: init: allow pool deletion by default

Emmanuel Kasper e.kasper at proxmox.com
Wed May 3 13:36:23 CEST 2017


On 05/03/2017 11:45 AM, Fabian Grünbichler wrote:
> set to false by default since Ceph > Kraken
> 
> Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
> ---
>  PVE/API2/Ceph.pm | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/PVE/API2/Ceph.pm b/PVE/API2/Ceph.pm
> index 12ea28a..89b8eb5 100644
> --- a/PVE/API2/Ceph.pm
> +++ b/PVE/API2/Ceph.pm
> @@ -770,6 +770,7 @@ __PACKAGE__->register_method ({
>  		'auth client required' => $auth,
>  		'osd journal size' => $pve_osd_default_journal_size,
>  		'osd pool default min size' => 1,
> +		'mon allow pool delete' => 'true',
>  	    };
>  
>  	    # this does not work for default pools 
> 

if this is applied, should we restrict the deletion of pools in the GUI
(for instance by entering the pool name) ? with allow pool delete set to
true it is quite easy to shoot yourself in the foot in our GUI





More information about the pve-devel mailing list