]> git.proxmox.com Git - pve-manager.git/commitdiff
gui: add raid warnings for ceph and zfs
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 21 Jun 2019 10:03:50 +0000 (12:03 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 21 Jun 2019 13:19:02 +0000 (15:19 +0200)
Wording is from the installer

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/ceph/OSD.js
www/manager6/node/ZFS.js

index db2e1bd9b1177842d819c1401a3d95f85e14dac0..2886184aac22e3eab5a10ff4f80c2004371bfae7 100644 (file)
@@ -21,6 +21,14 @@ Ext.define('PVE.CephCreateOsd', {
            url: "/nodes/" + me.nodename + "/ceph/osd",
            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 ' +
+                          '<a target="_blank" href="' + Proxmox.Utils.get_help_link('chapter_pveceph') + '">here</a>.',
+               },
                {
                    xtype: 'inputpanel',
                    onGetValues: function(values) {
index 7003442e4d281a02fbd0e156fd516eb58387419f..fe048bcb08b1270402b2457d56abac0051443d5f 100644 (file)
@@ -40,6 +40,14 @@ Ext.define('PVE.node.CreateZFS', {
            url: '/nodes/' + me.nodename + '/disks/zfs',
            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 ' +
+                          '<a target="_blank" href="' + Proxmox.Utils.get_help_link('chapter_zfs') + '">here</a>.',
+               },
                {
                    xtype: 'inputpanel',
                    onGetValues: function(values) {