From 0b9ef02ebc13e00bebe86836c3964cf123e4778d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Tue, 5 Sep 2017 14:59:30 +0200 Subject: [PATCH] rbd: make monhost option optional MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit to allow differentiating between user-created external RBD storage entries (WITH monhost), and those created and managed by pveceph (without). making monhost non-fixed allows easily opting into the managed behaviour via 'pvesm set STORAGE -delete monhost', but is also helpful for external clusters (i.e., after adding or removing a monitor you need to update the monhost parameter..) adapt description accordingly. Signed-off-by: Fabian Grünbichler --- PVE/Storage/RBDPlugin.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PVE/Storage/RBDPlugin.pm b/PVE/Storage/RBDPlugin.pm index 250ee7c..4c2967c 100644 --- a/PVE/Storage/RBDPlugin.pm +++ b/PVE/Storage/RBDPlugin.pm @@ -258,7 +258,7 @@ sub plugindata { sub properties { return { monhost => { - description => "Monitors daemon ips.", + description => "IP addresses of monitors (for external clusters).", type => 'string', format => 'pve-storage-portal-dns-list', }, pool => { @@ -284,7 +284,7 @@ sub options { return { nodes => { optional => 1 }, disable => { optional => 1 }, - monhost => { fixed => 1 }, + monhost => { optional => 1}, pool => { optional => 1 }, username => { optional => 1 }, content => { optional => 1 },