[pve-devel] applied: [PATCH manager] Ceph MON - Reword error message on IP config
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Apr 8 17:50:09 CEST 2019
On 4/8/19 1:50 PM, Alwin Antreich wrote:
> 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) {
>
applied, thanks!
More information about the pve-devel
mailing list