I think that it makes sense, as '--all' should mean 'reach all servers and shutdown there'.<div id="yMail_cursorElementTracker_1611550009721">Yet, when you run 'pcs cluster stop' - the migration of the resources is the only option.</div><div id="yMail_cursorElementTracker_1611550068804"><br></div><div id="yMail_cursorElementTracker_1611550069010">Still, it sounds like a bug.</div><div id="yMail_cursorElementTracker_1611550097300"><br></div><div id="yMail_cursorElementTracker_1611550097523">Best Regards,</div><div id="yMail_cursorElementTracker_1611550104048">Strahil Nikolov<br><br><div id="ymail_android_signature"><a id="ymail_android_signature_link" href="https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature">Sent from Yahoo Mail on Android</a></div> <br> <blockquote style="margin: 0 0 20px 0;"> <div style="font-family:Roboto, sans-serif; color:#6D00F6;"> <div>On Sun, Jan 24, 2021 at 22:31, Digimer</div><div><lists@alteeve.ca> wrote:</div> </div> <div style="padding: 10px 0 0 20px; margin: 10px 0 0 0; border-left: 1px solid #6D00F6;"> <div dir="ltr">Hi all,<br></div><div dir="ltr"><br></div><div dir="ltr">  Right off the bat; I'm using a custom RA so this behaviour might be a<br></div><div dir="ltr">bug in my agent.<br></div><div dir="ltr"><br></div><div dir="ltr"> I had a test server (srv01-test) running on node 1 (el8-a01n01), and on<br></div><div dir="ltr">node 2 (el8-a01n02) I ran 'pcs cluster stop --all'.<br></div><div dir="ltr"><br></div><div dir="ltr">  It appears like pacemaker asked the VM to migrate to node 2 instead of<br></div><div dir="ltr">stopping it. Once the server was on node 2, I couldn't use 'pcs resource<br></div><div dir="ltr">disable <vm>' as it returned that that resource was unmanaged, and the<br></div><div dir="ltr">cluster shut down was hung. When I directly stopped the VM and then did<br></div><div dir="ltr">a 'pcs resource cleanup', the cluster shutdown completed.<br></div><div dir="ltr"><br></div><div dir="ltr">  In my agent, I noted these environment variables had been set;<br></div><div dir="ltr"><br></div><div dir="ltr">OCF_RESKEY_name                    = srv01-test<br></div><div dir="ltr">OCF_RESKEY_CRM_meta_migrate_source = el8-a01n01<br></div><div dir="ltr">OCF_RESKEY_CRM_meta_migrate_target = el8-a01n02<br></div><div dir="ltr">OCF_RESKEY_CRM_meta_on_node        = el8-a01n01<br></div><div dir="ltr"><br></div><div dir="ltr">  So as best as I can tell, pacemaker really did ask for a migration. Is<br></div><div dir="ltr">this the case? If not, what environment variables should have been set<br></div><div dir="ltr" id="yMail_cursorElementTracker_1611549968916">in this scenario?</div><div dir="ltr" id="yMail_cursorElementTracker_1611549969967"><br></div><div dir="ltr">Thanks for any insight!<br></div><div dir="ltr"><br></div><div dir="ltr">-- <br></div><div dir="ltr">Digimer<br></div><div dir="ltr">Papers and Projects: <a href="https://alteeve.com/w/" target="_blank">https://alteeve.com/w/</a><br></div><div dir="ltr">"I am, somehow, less interested in the weight and convolutions of<br></div><div dir="ltr">Einstein’s brain than in the near certainty that people of equal talent<br></div><div dir="ltr">have lived and died in cotton fields and sweatshops." - Stephen Jay Gould<br></div><div dir="ltr">_______________________________________________<br></div><div dir="ltr">Manage your subscription:<br></div><div dir="ltr"><a href="https://lists.clusterlabs.org/mailman/listinfo/users" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/users</a><br></div><div dir="ltr"><br></div><div dir="ltr">ClusterLabs home: <a href="https://www.clusterlabs.org/" target="_blank">https://www.clusterlabs.org/</a><br></div> </div> </blockquote></div>