[pve-devel] [RFC ha-manager v2 2/7] Env: add 'read_fence_config' and 'fencing_mode'
Dietmar Maurer
dietmar at proxmox.com
Sat Mar 12 21:59:37 CET 2016
> On March 12, 2016_fence_config();
> >> +
> >> + if (!%$cfg) {
> >> + $self->log('warn', "HW fencing enabled but no device configured!");
> > I would not catch that at all. Fencing simply does not work in this case.
>
> But I would warn if fence mode is set to only HW fencing but no device
> is configured, just failing silently here seems a bit odd and not really
> transparent to the user, but you're right, here its maybe not the best
> place.
Sure, a warning is a good idea.
More information about the pve-devel
mailing list