<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 17, 2023 at 9:25 AM S Sathish S via Users <<a href="mailto:users@clusterlabs.org">users@clusterlabs.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-1750903674346032216">
<div lang="EN-IN" style="overflow-wrap: break-word;">
<div class="m_-1750903674346032216WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi Team,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">TEST_node1 resource going to blocked status while we restart service via systemctl twice in less time/before completion of 1st systemctl command.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">In older pacemaker version 2.0.2 we don’t see this issue, only observing this issue on latest pacemaker version 2.1.15.</span></p></div></div></div></blockquote><div><br></div><div>I'm not sure which change in particular with 2.1.5 would have created the behavioral</div><div>change in your configuration. (rember discussion about reacting to systemd-events</div><div>in pacemaker but didn't find anything already implemented on a quick check of the</div><div>sources)</div><div>But basically afaik you are not expected to interfere with resources that are under</div><div>pacemaker-control via anything else than pacemaker administration tooling (high</div><div>or low level like e.g. pcs, crmsh, crm_resource, ...).</div><div>Otherwise you will see unexpected behavior. If you manage to do a restart within</div><div>a monitoring-interval from the pacemaker-side you may get away without any</div><div>impact on the pacemaker-side though.</div><div><br></div><div>Klaus</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-1750903674346032216"><div lang="EN-IN" style="overflow-wrap: break-word;"><div class="m_-1750903674346032216WordSection1"><p class="MsoNormal"><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[root@node1 ~]# pcs resource status TEST_node1<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> * TEST_node1 (ocf::provider:TEST_RA): Started node1<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[root@node1 ~]# systemctl restart TESTec<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[root@node1 ~]# cat /var/pid/TEST.pid<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">271466<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[root@node1 ~]# systemctl restart TESTec<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[root@node1 ~]# cat /var/pid/TEST.pid<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">271466<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[root@node1 ~]# pcs resource status TEST_node1<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> * TEST_node1 (ocf::provider:TEST_RA): FAILED node1 (blocked)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[root@node1 ~]#<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[root@node1 ~]# pcs resource config TEST_node1<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Resource: TEST_node1 (class=ocf provider=provider type=TEST_RA)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> Meta Attributes: TEST_node1-meta_attributes<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> failure-timeout=120s<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> migration-threshold=5<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> priority=60<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> Operations:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> migrate_from: TEST_node1-migrate_from-interval-0s<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> interval=0s<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> timeout=20<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> migrate_to: TEST_node1-migrate_to-interval-0s<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> interval=0s<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> timeout=20<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> monitor: TEST_node1-monitor-interval-10s<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> interval=10s<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> timeout=120s<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> on-fail=restart<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> reload: TEST_node1-reload-interval-0s<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> interval=0s<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> timeout=20<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> start: TEST_node1-start-interval-0s<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> interval=0s<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> timeout=120s<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> on-fail=restart<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> stop: TEST_node1-stop-interval-0s<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> interval=0s<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> timeout=120s<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> on-fail=block<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[root@node1 ~]#<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks and Regards,<u></u><u></u></p>
<p class="MsoNormal">S Sathish S<u></u><u></u></p>
</div>
</div>
_______________________________________________<br>
Manage your subscription:<br>
<a href="https://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/users</a><br>
<br>
ClusterLabs home: <a href="https://www.clusterlabs.org/" rel="noreferrer" target="_blank">https://www.clusterlabs.org/</a><br>
</div></blockquote></div></div>