<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=utf-8">
<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;}
@font-face
{font-family:"Intel Clear Light";
panose-1:2 11 4 4 2 2 3 2 2 4;}
@font-face
{font-family:"Intel Clear Light \,sans-serif";
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Intel Clear Light",sans-serif;
font-variant:normal !important;
color:#1F497D;
text-transform:none;
font-weight:normal;
font-style:normal;
text-decoration:none none;
vertical-align:baseline;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Intel Clear Light",sans-serif;color:#1F497D">Yup. RebootProgram is set to /sbin/reboot on all machines. It still just sits there and does nothing. Nothing in the logs on the compute node, nothing
in the slurmctld.log on the head node.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Intel Clear Light",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D">Michael Heinz<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">End-to-End Network Software Engineer<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><a href="mailto:michael.heinz@intel.com"><span style="color:#0563C1">michael.heinz@intel.com</span></a><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Intel Clear Light",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Brian Andrus <toomuchit@gmail.com> <br>
<b>Sent:</b> Wednesday, June 7, 2023 12:10 PM<br>
<b>To:</b> slurm-users@lists.schedmd.com<br>
<b>Subject:</b> Re: [slurm-users] Can't get --reboot to work at all with slurm-23.02?<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Make sure you have configured the RebootProgram in slurm.conf, that it exists on the nodes and is executable by the user.<o:p></o:p></p>
<p>This is usually /sbin/reboot<o:p></o:p></p>
<p>Brian Andrus<o:p></o:p></p>
<div>
<p class="MsoNormal">On 6/7/2023 7:50 AM, Heinz, Michael wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Intel Clear Light ,sans-serif",serif">Hey, all.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Intel Clear Light ,sans-serif",serif"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Intel Clear Light ,sans-serif",serif">So I added slurmdbd to our slurm-23.02 install and made my account an admin, but when I try to do a srun with --reboot it literally just sits forever, no errors,
nothing in the logs, it just sits with the node in “CF” state until I cancel the job, set the node to down and back to idle again.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Intel Clear Light ,sans-serif",serif"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Intel Clear Light ,sans-serif",serif">I tried setting RebootProgram to a script that just writes to a file in /tmp but the program never runs.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Intel Clear Light ,sans-serif",serif"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Intel Clear Light ,sans-serif",serif">Any suggestions?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Intel Clear Light ,sans-serif",serif"> </span><o:p></o:p></p>
<p class="MsoNormal">Michael Heinz<o:p></o:p></p>
<p class="MsoNormal">End-to-End Network Software Engineer<o:p></o:p></p>
<p class="MsoNormal"><a href="mailto:michael.heinz@intel.com">michael.heinz@intel.com</a><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
</blockquote>
</div>
</div>
</body>
</html>