[pve-devel] [PATCH manager 3/3] ceph: gui: add pg_autoscale_mode to pool creation

Alwin Antreich a.antreich at proxmox.com
Thu Oct 15 11:49:56 CEST 2020


Signed-off-by: Alwin Antreich <a.antreich at proxmox.com>
---
Note: I forgot to include the patch on the first send-email

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

diff --git a/www/manager6/ceph/Pool.js b/www/manager6/ceph/Pool.js
index 19eb01e9..11bcf9d5 100644
--- a/www/manager6/ceph/Pool.js
+++ b/www/manager6/ceph/Pool.js
@@ -39,6 +39,19 @@ Ext.define('PVE.CephCreatePool', {
 	    name: 'crush_rule',
 	    allowBlank: false
 	},
+	{
+	    xtype: 'proxmoxKVComboBox',
+	    fieldLabel: 'PG Autoscale Mode', // do not localize
+	    name: 'pg_autoscale_mode',
+	    comboItems: [
+		['warn', 'warn'],
+		['on', 'on'],
+		['off', 'off'],
+	    ],
+	    value: 'warn',
+	    allowBlank: false,
+	    autoSelect: false,
+	},
 	{
 	    xtype: 'proxmoxintegerfield',
 	    fieldLabel: 'pg_num',
-- 
2.27.0






More information about the pve-devel mailing list