[pve-devel] [PATCH manager] Ceph MON - Reword error message on IP config
Alwin Antreich
a.antreich at proxmox.com
Mon Apr 8 13:50:18 CEST 2019
Reword the error message in find_mon_ip to make it more clear, that
there is no active IP configuration for the ceph public network.
Signed-off-by: Alwin Antreich <a.antreich at proxmox.com>
---
Note: this is only my personal suggestion for the message.
PVE/API2/Ceph/MON.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/API2/Ceph/MON.pm b/PVE/API2/Ceph/MON.pm
index ff7db73b..3386a077 100644
--- a/PVE/API2/Ceph/MON.pm
+++ b/PVE/API2/Ceph/MON.pm
@@ -26,7 +26,7 @@ my $find_mon_ip = sub {
}
my $allowed_ips = PVE::Network::get_local_ip_from_cidr($pubnet);
- die "No IP configured and up from ceph public network '$pubnet'\n"
+ die "No active IP configuration for the ceph public network '$pubnet' found\n"
if scalar(@$allowed_ips) < 1;
if (!$overwrite_ip) {
--
2.11.0
More information about the pve-devel
mailing list