[pve-devel] [PATCH manager] gui: add raid warnings for ceph and zfs

Dominik Csapak d.csapak at proxmox.com
Fri Jun 21 11:15:54 CEST 2019


Wording is from the installer

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/ceph/OSD.js | 6 ++++++
 www/manager6/node/ZFS.js | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/www/manager6/ceph/OSD.js b/www/manager6/ceph/OSD.js
index db2e1bd9..5d57c398 100644
--- a/www/manager6/ceph/OSD.js
+++ b/www/manager6/ceph/OSD.js
@@ -22,6 +22,12 @@ Ext.define('PVE.CephCreateOsd', {
 	    method: 'POST',
 	    items: [
 		{
+		    xtype: 'displayfield',
+		    padding: '0 0 10 0',
+		    userCls: 'pve-hint',
+		    value: 'Note: Ceph is not compatible with disks backed by a hardware RAID controller. For details see the reference documentation.',
+		},
+		{
 		    xtype: 'inputpanel',
 		    onGetValues: function(values) {
 			Object.keys(values || {}).forEach(function(name) {
diff --git a/www/manager6/node/ZFS.js b/www/manager6/node/ZFS.js
index 7003442e..517fbf56 100644
--- a/www/manager6/node/ZFS.js
+++ b/www/manager6/node/ZFS.js
@@ -41,6 +41,12 @@ Ext.define('PVE.node.CreateZFS', {
 	    method: 'POST',
 	    items: [
 		{
+		    xtype: 'displayfield',
+		    padding: '0 0 10 0',
+		    userCls: 'pve-hint',
+		    value: 'Note: ZFS is not compatible with disks backed by a hardware RAID controller. For details see the reference documentation.',
+		},
+		{
 		    xtype: 'inputpanel',
 		    onGetValues: function(values) {
 			return values;
-- 
2.11.0





More information about the pve-devel mailing list