<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=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:"Yu Gothic";
        panose-1:2 11 4 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@Yu Gothic";
        panose-1:2 11 4 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@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">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Saw something similar on a subset of CentOS7 systems in July that may be related.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">They kernel panic’ed after a patch/reboot cycle.  Not all of the CentOS7 systems did this but about 20%.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Found out later the yum transaction aborted which made a mess including not generating an initramfs for the new kernel, hence the kernel panic on reboot.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">I cleaned up the mess.  I wasn’t able to determine the reason for the yum abort.  I haven’t see this re-occur yet since.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">--Tony<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></a></p>
<span style="mso-bookmark:_MailEndCompose"></span>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> spacewalk-list-bounces@redhat.com [mailto:spacewalk-list-bounces@redhat.com]
<b>On Behalf Of </b>William H. ten Bensel<br>
<b>Sent:</b> Thursday, September 15, 2016 3:10 PM<br>
<b>To:</b> spacewalk-list@redhat.com<br>
<b>Subject:</b> Re: [Spacewalk-list] Schedule kernel upgrade result in kernel panic<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> - Schedule a kernel update from Web GUI, let spacewalk agent do it's job and get kernel update (/boot/initramfs.... missing)</span></tt><span style="font-size:10.0pt;font-family:"Courier New""><br>
<br>
<tt>Just saw something similar today.  </tt><br>
<tt>Issue: Timed out (+2 hours) in the middle of the yum upgrade process.</tt><br>
<tt>Solution: Reboot to previous kernel, run yum-complete-transaction, and reinstall the new kernel rpms.</tt><br>
<tt>       </tt></span><o:p></o:p></p>
<p><tt><span style="font-size:10.0pt">- Thanks and good luck</span></tt><span style="font-size:10.0pt;font-family:"Courier New""><br>
</span><br>
<br>
<br>
<br>
<span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F">From:        </span><span style="font-size:7.5pt;font-family:"Arial",sans-serif">Lionel Caignec <<a href="mailto:caignec@cines.fr">caignec@cines.fr</a>></span><br>
<span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F">To:        </span><span style="font-size:7.5pt;font-family:"Arial",sans-serif">spacewalk-list <<a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a>></span><br>
<span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F">Date:        </span><span style="font-size:7.5pt;font-family:"Arial",sans-serif">09/15/2016 04:34 AM</span><br>
<span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F">Subject:        </span><span style="font-size:7.5pt;font-family:"Arial",sans-serif">Re: [Spacewalk-list] Schedule kernel upgrade result in kernel panic</span><br>
<span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#5F5F5F">Sent by:        </span><span style="font-size:7.5pt;font-family:"Arial",sans-serif"><a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a></span><o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" noshade="" style="color:#A0A0A0" align="center">
</div>
<p class="MsoNormal"><br>
<br>
<br>
<tt><span style="font-size:10.0pt">This email originated from outside of the company.  Please use discretion if opening attachments or clicking on links.</span></tt><span style="font-size:10.0pt;font-family:"Courier New""><br>
<br>
<tt>Hi,</tt><br>
<br>
<tt>i'm still stuck, i cannot schedule a kernel update from spacewalk (web gui) to my CentOS 7 client, because at reboot my server go into "kernel panic"</tt><br>
<br>
<tt>I don't understand the difference between this 2 way of doing : </tt><br>
<tt>- Schedule a kernel update from Web GUI, let spacewalk agent do it's job and get kernel update (/boot/initramfs.... missing)</tt><br>
<tt>- Schedule a kernel update from Web GUI, launch on client "rhn_chek" --> reboot with no problem on the newest kernel.</tt><br>
<br>
<tt>All kernel version give this result, my spacewalk is in version 2.5, but i already have this bug in 2.4.</tt><br>
<br>
<tt>How can i get debug log from spacewalk agent, perhaps there is something interisting in.</tt><br>
<br>
<br>
<tt>Thank for helping</tt><br>
<br>
<tt>--</tt><br>
<tt>Lionel</tt><br>
<br>
<tt>----- Mail original -----</tt><br>
<tt>De: "Lionel Caignec" <<a href="mailto:caignec@cines.fr">caignec@cines.fr</a>></tt><br>
<tt>À: "spacewalk-list" <<a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a>></tt><br>
<tt>Envoyé: Mardi 23 Août 2016 11:43:12</tt><br>
<tt>Objet: Re: [Spacewalk-list] Schedule kernel errata upgrade result in kernel panic</tt><br>
<br>
<tt>Hi, </tt><br>
<br>
<tt>i use the webUI to schedule update. It's not related to one specific update, but all kernel update (it's a bug i've for months now.). When a new kernel is released i schedule update and reboot --> Result in "kernel panic".</tt><br>
<br>
<tt>All my clients os are Centos 7 and RedHat 7.</tt><br>
<br>
<tt>Lionel.</tt><br>
<br>
<tt>----- Mail original -----</tt><br>
<tt>De: "Tomas Lestach" <<a href="mailto:tlestach@redhat.com">tlestach@redhat.com</a>></tt><br>
<tt>À: "spacewalk-list" <<a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a>></tt><br>
<tt>Envoyé: Mardi 23 Août 2016 11:16:52</tt><br>
<tt>Objet: Re: [Spacewalk-list] Schedule kernel errata upgrade result in kernel panic</tt><br>
<br>
<tt>Hello, please, help me understand your problem.</tt><br>
<tt>You write:</tt><br>
<tt>* if you "schedule a kernel errata update at reboot", there's an issue </tt><br>
<tt>with initramfs, grub.cfg ...</tt><br>
<tt>* if you "schedule upgrade with gui", everything's ok</tt><br>
<br>
<tt>Does it mean the 1st case isn't via WebUI? Is it via API?</tt><br>
<br>
<tt>Can you be more specific? What OS do you use on the client, what erratum </tt>
<br>
<tt>are you scheduling for update? What way? ...</tt><br>
<br>
<br>
<tt>Thanks,</tt><br>
<tt>--</tt><br>
<tt>Tomas Lestach</tt><br>
<tt>Red Hat Satellite Engineering</tt><br>
<br>
<br>
<tt>On 08/23/2016 10:54 AM, Lionel Caignec wrote:</tt><br>
<tt>> Hi,</tt><br>
<tt>></tt><br>
<tt>> i've a annoying bug with spacewalk. When i schedule a kernel errata update at reboot my server is going into kernel panic.</tt><br>
<tt>></tt><br>
<tt>> After some time i've found that initramfs was not generated during update phase. Moreover in grub.cfg the line "initrd ..." is missing.</tt><br>
<tt>> If i boot with an old kernel and i launch "yum reinstall kernel" server will boot without problem on new kernel.</tt><br>
<tt>></tt><br>
<tt>></tt><br>
<tt>> But if i schedule upgrade with gui, and then use "rhn_check -vvv" on my server there is no problem.</tt><br>
<tt>></tt><br>
<tt>> Someone could help me? What do i missing?</tt><br>
<tt>></tt><br>
<tt>></tt><br>
<tt>> Thanks,</tt><br>
<tt>></tt><br>
<tt>> --</tt><br>
<tt>> Lionel Caignec</tt><br>
<tt>></tt><br>
<tt>> Centre Informatique National de l' Enseignement Supérieur</tt><br>
<tt>> 950 rue de Saint Priest</tt><br>
<tt>> 34097 MONTPELLIER Cedex 5</tt><br>
<tt>> Tel : (33) 04 67 14 14 14</tt><br>
<tt>> Fax : (33)04 67 52 37 63</tt><br>
<tt>> </tt></span><a href="http://www.cines.fr/"><tt><span style="font-size:10.0pt">http://www.cines.fr</span></tt></a><span style="font-size:10.0pt;font-family:"Courier New""><br>
<tt>></tt><br>
<tt>> _______________________________________________</tt><br>
<tt>> Spacewalk-list mailing list</tt><br>
<tt>> <a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a></tt><br>
<tt>> </tt></span><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list"><tt><span style="font-size:10.0pt">https://www.redhat.com/mailman/listinfo/spacewalk-list</span></tt></a><span style="font-size:10.0pt;font-family:"Courier New""><br>
<tt>></tt><br>
<tt>></tt><br>
<br>
<tt>_______________________________________________</tt><br>
<tt>Spacewalk-list mailing list</tt><br>
<tt><a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a></tt><br>
</span><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list"><tt><span style="font-size:10.0pt">https://www.redhat.com/mailman/listinfo/spacewalk-list</span></tt></a><span style="font-size:10.0pt;font-family:"Courier New""><br>
<br>
<tt>_______________________________________________</tt><br>
<tt>Spacewalk-list mailing list</tt><br>
<tt><a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a></tt><br>
</span><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list"><tt><span style="font-size:10.0pt">https://www.redhat.com/mailman/listinfo/spacewalk-list</span></tt></a><span style="font-size:10.0pt;font-family:"Courier New""><br>
<br>
<tt>_______________________________________________</tt><br>
<tt>Spacewalk-list mailing list</tt><br>
<tt><a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a></tt><br>
</span><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list"><tt><span style="font-size:10.0pt">https://www.redhat.com/mailman/listinfo/spacewalk-list</span></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>
**<o:p></o:p></p>
</div>
</body>
</html>