<div dir="ltr"><div><div><div><div><div>Perhaps I'm missing a step in the process:<br><br></div>1) Build a new version of an rpm (using koji)<br></div>2) Sign the package (using sigul)<br></div>3) Run mash on the rpm repo  server<br></div>4) Run `spacewalk-repo-sync --channel [channel name]` for the channel that uses the repo in question<br><br></div>The above causes existing systems to get the new version via `yum upgrade` or pushing an update using the spacewalk webui, but the new versions of the packages don't get installed during kickstarts until some seemingly random time later (I haven't figured out what causes spacewalk to start handing out newer package versions).<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 14, 2016 at 9:49 AM, Noah Rømer <span dir="ltr"><<a href="mailto:baronmog@gmail.com" target="_blank">baronmog@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">Well, I tried using the "Always use the newest Tree for this base channel" setting a week or so back, with the existing channels/repos. It did cause the outstanding package updates at the time to get used during kickstart. Subsequent updates did not picked up for kickstart, though.<div><div class="h5"><span><br></span><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 14, 2016 at 8:29 AM, William H. ten Bensel <span dir="ltr"><<a href="mailto:WHTENBEN@up.com" target="_blank">WHTENBEN@up.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font face="sans-serif" size="2">Could it be that a new distribution needs
to be created and the kickstart profile should have "Always use the
newest Tree for this base channel"</font><span><br><br><font face="sans-serif" size="2">- Thanks and good luck</font><br><br><br><br><br><font face="sans-serif" size="1" color="#5f5f5f">From:      
 </font><font face="sans-serif" size="1">Noah Rømer <<a href="mailto:baronmog@gmail.com" target="_blank">baronmog@gmail.com</a>></font><br><font face="sans-serif" size="1" color="#5f5f5f">To:      
 </font><font face="sans-serif" size="1"><a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a></font><br></span><font face="sans-serif" size="1" color="#5f5f5f">Date:      
 </font><font face="sans-serif" size="1">03/11/2016 11:41 AM</font><br><font face="sans-serif" size="1" color="#5f5f5f">Subject:    
   </font><font face="sans-serif" size="1">Re: [Spacewalk-list]
old package versions installed during        kickstarts</font><div><div><br><font face="sans-serif" size="1" color="#5f5f5f">Sent by:    
   </font><font face="sans-serif" size="1"><a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.com</a></font><br><hr noshade><br><br><br><font size="3">This email originated from outside of the company. Please
use discretion if opening attachments or clicking on links.</font><hr><font size="3"> </font><p><font size="3">We just have the one kickstart profile, with activation
keys for a group of repositories including upstream Cetnos and a repository
for our internal code.</font><br><br><font size="3">On Thu, Mar 10, 2016 at 6:41 AM, William H. ten Bensel
<</font><a href="mailto:WHTENBEN@up.com" target="_blank"><font size="3" color="blue"><u>WHTENBEN@up.com</u></font></a><font size="3">>
wrote:</font><br><font face="sans-serif" size="2">We do this, however it is by design. 
Hopefully this will help.</font><font size="3"><br></font><font face="sans-serif" size="2"><br>It is accomplished by:<br><br>A Kickstart profile is pointed to a "clone-by-date" base channel,
updates, extras, debuginfo, and spacewalk-client.   This gives us
6.1, 6.2, 6.5, 6.5r1, 6.5r2, 6.6, kickstarts.<br>        Systems->kickstart->profiles-> "profile"
-> Kickstart details -> Operating system<br>The same Kickstart profile has an activation key that is pointed to the
updated version base channel, updates, extras, debuginfo, and spacewalk-client.<br>        Systems->kickstart->profiles-> "profile"
->Activation Keys -> "activation key" -> Child Channels</font><font size="3"><br></font><font face="sans-serif" size="2"><br>So, if the kickstart profile 6.4 is used, the older packages are installed. 
Then the activation key is applied with the updated channels which allows
the newer packages to be available but not installed during kickstart. 
The Admin/application team is then able to determine when the best time
would be to update the system.</font><font size="3"><br></font><font face="sans-serif" size="2"><br>Caution:  If you are cloning the spacewalk-client channel and doing
it this way  </font><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1280167" target="_blank"><tt><font size="3" color="blue"><u>https://bugzilla.redhat.com/show_bug.cgi?id=1280167</u></font></tt></a><font size="3"><br></font><font face="sans-serif" size="2"><br>- Thanks and good luck</font><font size="3"><br><br><br></font><font face="sans-serif" size="1" color="#5f5f5f"><br>From:        </font><font face="sans-serif" size="1">Noah
Rømer <</font><a href="mailto:baronmog@gmail.com" target="_blank"><font face="sans-serif" size="1" color="blue"><u>baronmog@gmail.com</u></font></a><font face="sans-serif" size="1">></font><font face="sans-serif" size="1" color="#5f5f5f"><br>To:        </font><a href="mailto:spacewalk-list@redhat.com" target="_blank"><font face="sans-serif" size="1" color="blue"><u>spacewalk-list@redhat.com</u></font></a><font face="sans-serif" size="1" color="#5f5f5f"><br>Date:        </font><font face="sans-serif" size="1">03/09/2016
05:02 PM</font><font face="sans-serif" size="1" color="#5f5f5f"><br>Subject:        </font><font face="sans-serif" size="1">[Spacewalk-list]
old package versions installed during kickstarts</font><font face="sans-serif" size="1" color="#5f5f5f"><br>Sent by:        </font><a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank"><font face="sans-serif" size="1" color="blue"><u>spacewalk-list-bounces@redhat.com</u></font></a><font size="3"><br></font></p><hr noshade><font size="3"><br><br><br>This email originated from outside of the company. Please use discretion
if opening attachments or clicking on links.</font><hr><font size="3"> </font><p><font size="3">We're using Spacewalk 2.2 (on CentOS 6.6 servers) to handle
kickstart profiles and channels.<br><br>If I update a package in one of the channels/yum repositories, after doing
a spacewalk-repo-sync for the channel, the new version shows up as an available
update, but the old version is still installed when a new system is kickstarted.<br><br>Any ideas on what would cause this? There is a http proxy and a spacewalk
proxy in front of the spacewalk server, but restarting the proxies doesn't
fix the issue. Often times, the issue will go away after a few days/weeks,
but I can't connect it to a specific action. That makes me think there's
some cache somewhere that I haven't yet found.<br><br>-- </font><br><font size="3">Squirrels are the lunatic teenagers of the animal kingdom.</font><tt><font size="2">This
email originated from outside of the company.  Please use discretion
if opening attachments or clicking on links.<br><br>_______________________________________________<br>Spacewalk-list mailing list</font></tt><tt><font size="2" color="blue"><u><br></u></font></tt><a href="mailto:Spacewalk-list@redhat.com" target="_blank"><tt><font size="2" color="blue"><u>Spacewalk-list@redhat.com</u></font></tt></a><font size="3" color="blue"><u><br></u></font><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank"><tt><font size="2" color="blue"><u>https://www.redhat.com/mailman/listinfo/spacewalk-list</u></font></tt></a><font size="3"><br><br><br><br>**<br><br><br><br>This email and any attachments may contain information that is confidential
and/or privileged for the sole use of the intended recipient. Any use,
review, disclosure, copying, distribution or reliance by others, and any
forwarding of this email or its contents, without the express permission
of the sender is strictly prohibited by law. If you are not the intended
recipient, please contact the sender immediately, delete the e-mail and
destroy all copies.<br><br>**</font><br><font size="3"><br>_______________________________________________<br>Spacewalk-list mailing list</font><font size="3" color="blue"><u><br></u></font><a href="mailto:Spacewalk-list@redhat.com" target="_blank"><font size="3" color="blue"><u>Spacewalk-list@redhat.com</u></font></a><font size="3" color="blue"><u><br></u></font><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank"><font size="3" color="blue"><u>https://www.redhat.com/mailman/listinfo/spacewalk-list</u></font></a><br><font size="3"><br><br><br>-- </font><br><font size="3">Squirrels are the lunatic teenagers of the animal kingdom.</font><tt><font size="2">This
email originated from outside of the company.  Please use discretion
if opening attachments or clicking on links.<br><br>_______________________________________________<br>Spacewalk-list mailing list<br><a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br></font></tt><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank"><tt><font size="2">https://www.redhat.com/mailman/listinfo/spacewalk-list</font></tt></a><br><br>
<br>
<br>
**<br>
<br>
<br>
<br>
This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient.  Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law.  If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies.<br>
<br>
**<br></p><p></p></div></div><br>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div><br><br clear="all"><br>-- <br><div><div dir="ltr"><div>Squirrels are the lunatic teenagers of the animal kingdom.<br></div></div></div>
</div></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>Squirrels are the lunatic teenagers of the animal kingdom.<br></div></div></div>
</div>