[pve-devel] [PATCH v2 manager 1/1] gui: add raid warnings for ceph and zfs
Dominik Csapak
d.csapak at proxmox.com
Fri Jun 21 12:03:50 CEST 2019
Wording is from the installer
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
changes from v1:
* include link in text
www/manager6/ceph/OSD.js | 8 ++++++++
www/manager6/node/ZFS.js | 8 ++++++++
2 files changed, 16 insertions(+)
diff --git a/www/manager6/ceph/OSD.js b/www/manager6/ceph/OSD.js
index db2e1bd9..2886184a 100644
--- a/www/manager6/ceph/OSD.js
+++ b/www/manager6/ceph/OSD.js
@@ -22,6 +22,14 @@ 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 ' +
+ '<a target="_blank" href="' + Proxmox.Utils.get_help_link('chapter_pveceph') + '">here</a>.',
+ },
+ {
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..fe048bcb 100644
--- a/www/manager6/node/ZFS.js
+++ b/www/manager6/node/ZFS.js
@@ -41,6 +41,14 @@ 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 ' +
+ '<a target="_blank" href="' + Proxmox.Utils.get_help_link('chapter_zfs') + '">here</a>.',
+ },
+ {
xtype: 'inputpanel',
onGetValues: function(values) {
return values;
--
2.11.0
More information about the pve-devel
mailing list