<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Hi,</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">On 15 Sep 2015 at 02:41:35, Andrew Beekhof (<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>) wrote:</div> <div><blockquote type="cite" class="clean_bq" style="color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><div><div></div><div>>> But now when the cluster wants to stonith a node I get:<span class="Apple-converted-space"> </span><br>>><span class="Apple-converted-space"> </span><br>>> fence_ipmilan: Parser error: option -n/--plug is not recognize<span class="Apple-converted-space"> </span><br>>> fence_ipmilan: Please use '-h' for usage<span class="Apple-converted-space"> </span><br>>><span class="Apple-converted-space"> </span><br>>> Is the problem in fence-agents or in pacemaker?<span class="Apple-converted-space"> </span><br>><span class="Apple-converted-space"> </span><br>> Looking at the code producing this, I got it working by adding to my<span class="Apple-converted-space"> </span><br>> cluster config for my stonith devices<span class="Apple-converted-space"> </span><br>> port_as_ip=1 port=192.168.xx.xx<span class="Apple-converted-space"> </span><br>><span class="Apple-converted-space"> </span><br>> before I had:<span class="Apple-converted-space"> </span><br>> lanplus=1 ipaddr=192.168.xx.xx<span class="Apple-converted-space"> </span><br>> which worked fine before the new version of pacemaker.<span class="Apple-converted-space"> </span><br>> Now I have:<span class="Apple-converted-space"> </span><br>> lanplus=1 ipaddr=192.168.xx.xx port_as_ip=1 port=192.168.xx.xx<span class="Apple-converted-space"> </span><br>> which works.<span class="Apple-converted-space"> </span><br><br>I’m glad it works, looks like a regression to me though.<span class="Apple-converted-space"> </span><br>You shouldn’t need to override the value pacemaker supplies for port if ipaddr is being set.<span class="Apple-converted-space"> </span><br><br>Can you comment on this Marek?</div></div></span></blockquote></div><p>This is surely a problem in fence agents. I believe that it was fixed in August in a</p><p><a href="https://github.com/ClusterLabs/fence-agents/commit/155a51f01e6a806e17d70519f2d1507b09d9d137" style="font-size: 13.333333015441895px;">https://github.com/ClusterLabs/fence-agents/commit/155a51f01e6a806e17d70519f2d1507b09d9d137</a></p><div>m,</div><div></div></body></html>