[pve-devel] [PATCH manager v2 7/8] ceph: remove the pg_autoscale_mode default
Alwin Antreich
a.antreich at proxmox.com
Tue Nov 24 11:58:10 CET 2020
The default pg_autoscale_mode can be configured at Ceph directly. With
Nautilus the default mode is warn and with Octopus it has changed to on.
Signed-off-by: Alwin Antreich <a.antreich at proxmox.com>
---
PVE/API2/Ceph/POOLS.pm | 2 --
1 file changed, 2 deletions(-)
diff --git a/PVE/API2/Ceph/POOLS.pm b/PVE/API2/Ceph/POOLS.pm
index 35d89643..8a4e75f9 100644
--- a/PVE/API2/Ceph/POOLS.pm
+++ b/PVE/API2/Ceph/POOLS.pm
@@ -65,7 +65,6 @@ my $ceph_pool_common_options = sub {
title => 'PG Autoscale Mode',
type => 'string',
enum => ['on', 'off', 'warn'],
- default => 'warn',
optional => 1,
},
target_size => {
@@ -312,7 +311,6 @@ __PACKAGE__->register_method ({
$param->{size} //= 3;
$param->{min_size} //= 2;
$param->{application} //= 'rbd';
- $param->{pg_autoscale_mode} //= 'warn';
my $worker = sub {
--
2.27.0
More information about the pve-devel
mailing list