<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have a 3 node setup on ubuntu 16.04. Corosync/Pacemaker services are not started automatically.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If I put all 3 nodes to offline mode, with 1 node in an „unclean“ state I get a never ending STONITH.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What happens is that the STONITH causes a reboot of the unclean node.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">1) I would have thought with all nodes in standby no STONITH can occur. Why does it?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">2) Why does it keep on killing the unclean node?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The only way to stop it, is to temporarily disable stonith and bring the unclean node back online manually, and the enable it again.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Here is a log extract of node c killing node a:<o:p></o:p></p>
<p class="MsoNormal">Apr 10 09:08:30 [2276] xxx-c stonith-ng: notice: log_operation: Operation 'reboot' [2428] (call 5 from crmd.2175) for host 'xxx-a' with device 'stonith_a' returned: 0 (OK)<o:p></o:p></p>
<p class="MsoNormal">Apr 10 09:08:30 [2276] xxx-c stonith-ng: notice: remote_op_done: Operation reboot of xxx-a by xxx-c for crmd.2175@xxx-b.20531831: OK<o:p></o:p></p>
<p class="MsoNormal">Apr 10 09:08:30 [2275] xxx-c cib: info: cib_process_request: Completed cib_modify operation for section status: OK (rc=0, origin=xxx-b/crmd/83, version=0.164.37)<o:p></o:p></p>
<p class="MsoNormal">Apr 10 09:08:30 [2275] xxx-c cib: info: cib_process_request: Completed cib_delete operation for section //node_state[@uname='xxx-a']/lrm: OK (rc=0, origin=xxx-b/crmd/84, version=0.164.37)<o:p></o:p></p>
<p class="MsoNormal">Apr 10 09:08:30 [2275] xxx-c cib: info: cib_process_request: Completed cib_delete operation for section //node_state[@uname='xxx-a']/transient_attributes: OK (rc=0, origin=xxx-b/crmd/85, version=0.164.37)<o:p></o:p></p>
<p class="MsoNormal">Apr 10 09:08:30 [2275] xxx-c cib: info: cib_process_request: Completed cib_modify operation for section status: OK (rc=0, origin=xxx-b/crmd/86, version=0.164.37)<o:p></o:p></p>
<p class="MsoNormal">Apr 10 09:08:30 [2275] xxx-c cib: info: cib_process_request: Completed cib_delete operation for section //node_state[@uname='xxx-a']/lrm: OK (rc=0, origin=xxx-b/crmd/87, version=0.164.37)<o:p></o:p></p>
<p class="MsoNormal">Apr 10 09:08:30 [2275] xxx-c cib: info: cib_process_request: Completed cib_delete operation for section //node_state[@uname='xxx-a']/transient_attributes: OK (rc=0, origin=xxx-b/crmd/88, version=0.164.37)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This the repeats forevermore ...<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks for any hints,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">cheers,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Stefan<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>