<html 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="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Times;
        panose-1:2 0 5 0 0 0 0 0 0 0;}
@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:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:Calibri;}
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.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:Calibri;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">All,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I’ve ran into what appears to be an old bug.   The issue is that when systems are in ‘Require Reboot’ status, and I reboot them via Spacewalk, the status doesn’t update, even after OSAD has completed the reboot
 process.    I have to run rhn_check to force the status to update.   I found that this was discussed in an email back in 2014, but no resolution was mentioned in the thread: 
<a href="https://www.redhat.com/archives/spacewalk-list/2014-October/msg00067.html">
https://www.redhat.com/archives/spacewalk-list/2014-October/msg00067.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">The scenario the user described below, still applies perfectly to my 2.5 install (his was 2.2).  
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Are we missing something?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:13.5pt;font-family:Times;color:black">Steps I've taken already:<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:13.5pt;font-family:Times;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:13.5pt;font-family:Times;color:black">1. Set verbosity to level 5 on osad.conf for the client. Everything looks fine in the logs until after the reboot, when the server starts and the OSAD
 service starts, it's not checking in with Spacewalk even though OSA status says online.<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:13.5pt;font-family:Times;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:13.5pt;font-family:Times;color:black">2. Stop OSAD, remove /etc/sysconfig/rhn/osad-auth.conf, start OSAD. Same results. Reboot action is picked up immediately, and the system reboots successfully,
 but the action is never marked Completed. <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:13.5pt;font-family:Times;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:13.5pt;font-family:Times;color:black">3. Stopped jabberd on the Spacewalk proxy the client is connected to, cleared jabberd database, and restarted jabberd. I've done the same on the Spacewalk
 server, and tried them in different orders as well. <o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:13.5pt;font-family:Times;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:13.5pt;font-family:Times;color:black">4. Manually running a shutdown -r now on the client. THIS WORKS. When the system comes back up, any queued actions are picked up and executed successfully.
 This is one of the main reasons it leads me to believe there is an issue with the Schedule reboot API in Spacewalk v2.2 (BTW, I've tried the API via Python script, as well as through the WebUI, same results where the action is never marked Completed).<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:13.5pt;font-family:Times;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:13.5pt;font-family:Times;color:black">5. Verified the client is running the latest versions of osad, rhnsd, rhn-client-tools, rhn-setup, and rhn-check from the 2.2 repo<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:13.5pt;font-family:Times;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:13.5pt;font-family:Times;color:black">6. Registered the client to a Spacewalk 2.0 environment. Everything works as it should there. No issues. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<p style="font-family:Arial" id="c1-id-7"><strong id="c1-id-8"><font face="Arial" id="c1-id-9"><font style="BACKGROUND-COLOR: #ffffff" color="#d60008" id="c1-id-10"><font size="1" id="c1-id-11"> </font><font size="2" id="c1-id-12">Jeff</font></font><font size="2" id="c1-id-13">
 Baldwin<br id="c1-id-14">
</font></font></strong><font color="#787878" size="1" face="Arial" id="c1-id-15"> <br id="c1-id-16">
<font size="1" id="c1-id-17"><br id="c1-id-18">
</font><img border="0" hspace="0" alt="" src="cid:logo_cg_s.png" id="c1-id-19"><br id="c1-id-20">
<font size="1" id="c1-id-25"><br id="c1-id-26">
</font><font color="#787878" size="1" face="Arial" id="c1-id-27"> 8335 Classic Drive
<br id="c1-id-28">
 Charlotte, NC 28262 <br id="c1-id-29">
 800.368.1056 <em id="c1-id-30">toll free<br id="c1-id-31">
</em><span style="FONT-STYLE: italic" id="c1-id-32"> </span><br id="c1-id-34">
 704.597.9015 <em id="c1-id-35">main</em> </font><font size="1" id="c1-id-36"><br id="c1-id-37">
</font><font size="1" id="c1-id-38"> </font><a href="http://www.knowclassic.com" id="c1-id-39"><font color="#d60008" size="1" face="Arial" id="c1-id-40">know<strong id="c1-id-41">classic</strong>.com</font></a></font></p>
</body>
</html>