]> git.proxmox.com Git - pve-cluster.git/commit
pvecm create: remove rrp_mode parameter
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 Feb 2017 15:59:06 +0000 (16:59 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 28 Feb 2017 10:41:18 +0000 (11:41 +0100)
commit606a890448f0a6219db3d1c19b98960a3dcbcaa8
treee45a197bffc16a26c948ae3e0e5682a8a8dacbb6
parent3eb615137ae4257d0bd89639174c80c0537558e7
pvecm create: remove rrp_mode parameter

I detected a bug where we overwrote the whole $interfaces variable
(and so all interfaces from the corosync config) if the 'rrp_mode'
param was set.

While this would be easy to with by changing the line to
$interfaces .= ...
I removed the whole rrp_mode parameter instead.

As:
a) I've seen no one running into this bug, so this parameter was not
   really used either way.
b) only the 'passive' is supported and works, 'active' has a whole
   lot of problems. If someone really wants it he should edit the
   corosync config file to achieve this

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/CLI/pvecm.pm