<div dir="ltr">Hello Mat<div><br></div><div>In your client, have you enable execution ?!</div><div><br></div><div>rhn-actions-control --enable-all !?<br></div><div><br></div><div>Are you using osad ?!, case not, recommend you enable the osad and try again, you can check steps to configure here - <a href="http://blog.waldirio.com.br/?p=738">http://blog.waldirio.com.br/?p=738</a></div><div><br></div><div>Take Care and Merry X'mas</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div>______________<br>Atenciosamente<br>Waldirio<br>msn: <a href="mailto:waldirio@gmail.com" target="_blank">waldirio@gmail.com</a><br>Skype: waldirio<br>Site: <a href="http://www.waldirio.com.br" target="_blank">www.waldirio.com.br</a><br>Blog: <a href="http://blog.waldirio.com.br" target="_blank">blog.waldirio.com.br</a></div>
<div>LinkedIn: <a href="http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646" target="_blank">http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646</a><br>PGP: <a href="http://www.waldirio.com.br/public.html" target="_blank">www.waldirio.com.br/public.html</a></div></div></div>
<br><div class="gmail_quote">On Tue, Dec 23, 2014 at 7:46 AM, Matt Bayliss <span dir="ltr"><<a href="mailto:aarrgghh765@gmail.com" target="_blank">aarrgghh765@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>OK, so I've doing some more testing on this - since I couldn't remember preciseley the time I submitted the previous jobs so I've recorded times more accurately now.<br><br></div>Yesterday morning between 1045-1100 GMT I submitted a number of jobs to run at 9AM over the next 4 days too see when they were picked up and executed.  The first job was scheduled to execute today after 9AM, according to the schedule its showing:<br><br><div>
  <ul><li>
      <div>
        <div>
          <strong>Summary:</strong>
        </div>
        <div>
          
            
          Package Install scheduled by mattb
            
            
          
        </div>
      </div>
    </li><li>
      <div>
        <div>
          <strong>Details:</strong>
        </div>
        <div>
          This action will be executed after 12/23/14 9:00:00 AM GMT<br>This action's status is: Queued.<br>This action has not yet been picked up.<br>Packages Scheduled:<br><ul><li>kernel-2.6.32-504.3.3.el6.x86_64</li><li>rsyslog-5.8.10-10.el6_6.x86_64</li><li>kernel-firmware-2.6.32-504.3.3.el6.noarch</li></ul>
        </div>
      </div>
    </li><li>
      <div>
        <div>
          <strong>Time:</strong>
        </div>
        <div>
          12/23/14 9:00:00 AM GMT
        </div>
      </div>
    </li></ul>
I'm surprised that the action "has not yet been picked up" since the server checked in (via the spacewalk proxy) just 35 minutes before the "execute after" time.<br><br></div><div>I've checked and times on the three involved nodes (spacewalk, proxy & client) are all in sync.<br><br></div><div>Regards,<br></div><div><div class="h5"><div><br></div><div><br></div><br><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 19 December 2014 at 12:10, Matt Bayliss <span dir="ltr"><<a href="mailto:aarrgghh765@gmail.com" target="_blank">aarrgghh765@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I scheduled a jobs on the morning of the 17th December to execute the following morning at 9AM, it seems that although the rhnsd interval is set to 240 [1] the job was not picked up and executed until approx 28 hours after I created the schedule.<br><br></div><div>[1] # cat /etc/sysconfig/rhn/rhnsd<br>INTERVAL=240<br><br></div><div><br></div>    Summary:<br>    Package Install scheduled by swadmin<br>    Details:<br>    This action will be executed after 12/18/14 9:00:00 AM GMT<br>    This action's status is: Completed.<br>    The client picked up this action on 12/18/14 3:03 PM<br>    The client completed this action on 12/18/14 3:05 PM<br>    Client execution returned "Update Succeeded" (code 0)<br>    Packages Scheduled:<br>        nss-util-3.16.2.3-2.el6_6.x86_64<br>        rpm-python-4.8.0-38.el6_6.x86_64<br>        rpm-4.8.0-38.el6_6.x86_64<br>        system-config-firewall-base-1.2.27-7.2.el6_6.noarch<br>        selinux-policy-3.7.19-260.el6_6.1.noarch<br>        nss-3.16.2.3-3.el6_6.x86_64<br>        nss-sysinit-3.16.2.3-3.el6_6.x86_64<br>        rpm-build-4.8.0-38.el6_6.x86_64<br>        nss-tools-3.16.2.3-3.el6_6.x86_64<br>        ruby-1.8.7.374-3.el6_6.x86_64<br>        ruby-libs-1.8.7.374-3.el6_6.x86_64<br>        rpm-libs-4.8.0-38.el6_6.x86_64<br>        selinux-policy-targeted-3.7.19-260.el6_6.1.noarch<br>    Time:<br>    12/18/14 9:00:00 AM GMT<br><br>Also, this job was pard of an action chain to reboot the system when the package update was complete (not necessary but I wanted to test it) this was not completed until 4-5 hours after the package update which would have only taken a few minutes.  I'm surprised that this didn't happen immediately afterward.<br><br>Summary:<br>System reboot scheduled by mattb<br>Details:<br>This action will be executed after 12/18/14 9:00:00 AM GMT<br>This action's status is: Completed.<br>The client picked up this action on 12/18/14 3:05 PM<br>The client completed this action on 12/18/14 7:48 PM<br>Client execution returned "null" (code null)<br>Time:<br>12/18/14 9:00:00 AM GMT<br><br>Am I misunderstanding how the scheduler works?  I won't be able to rely on this in production if I can't predict with some accuracy when the jobs will execute.<br><br>Regards,<br></div>
</blockquote></div><br></div></div></div></div></div></div>
<br>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div><br></div>