[Spacewalk-list] Schedule kernel upgrade result in kernel panic

Coffman, Anthony J Tony.Coffman at snapon.com
Thu Sep 15 20:57:48 UTC 2016


Saw something similar on a subset of CentOS7 systems in July that may be related.

They kernel panic'ed after a patch/reboot cycle.  Not all of the CentOS7 systems did this but about 20%.

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.

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.

Regards,
--Tony


From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of William H. ten Bensel
Sent: Thursday, September 15, 2016 3:10 PM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Schedule kernel upgrade result in kernel panic

 - Schedule a kernel update from Web GUI, let spacewalk agent do it's job and get kernel update (/boot/initramfs.... missing)

Just saw something similar today.
Issue: Timed out (+2 hours) in the middle of the yum upgrade process.
Solution: Reboot to previous kernel, run yum-complete-transaction, and reinstall the new kernel rpms.


- Thanks and good luck




From:        Lionel Caignec <caignec at cines.fr<mailto:caignec at cines.fr>>
To:        spacewalk-list <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Date:        09/15/2016 04:34 AM
Subject:        Re: [Spacewalk-list] Schedule kernel upgrade result in kernel panic
Sent by:        spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com>

________________________________



This email originated from outside of the company.  Please use discretion if opening attachments or clicking on links.

Hi,

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"

I don't understand the difference between this 2 way of doing :
- Schedule a kernel update from Web GUI, let spacewalk agent do it's job and get kernel update (/boot/initramfs.... missing)
- Schedule a kernel update from Web GUI, launch on client "rhn_chek" --> reboot with no problem on the newest kernel.

All kernel version give this result, my spacewalk is in version 2.5, but i already have this bug in 2.4.

How can i get debug log from spacewalk agent, perhaps there is something interisting in.


Thank for helping

--
Lionel

----- Mail original -----
De: "Lionel Caignec" <caignec at cines.fr<mailto:caignec at cines.fr>>
À: "spacewalk-list" <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Envoyé: Mardi 23 Août 2016 11:43:12
Objet: Re: [Spacewalk-list] Schedule kernel errata upgrade result in kernel panic

Hi,

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".

All my clients os are Centos 7 and RedHat 7.

Lionel.

----- Mail original -----
De: "Tomas Lestach" <tlestach at redhat.com<mailto:tlestach at redhat.com>>
À: "spacewalk-list" <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Envoyé: Mardi 23 Août 2016 11:16:52
Objet: Re: [Spacewalk-list] Schedule kernel errata upgrade result in kernel panic

Hello, please, help me understand your problem.
You write:
* if you "schedule a kernel errata update at reboot", there's an issue
with initramfs, grub.cfg ...
* if you "schedule upgrade with gui", everything's ok

Does it mean the 1st case isn't via WebUI? Is it via API?

Can you be more specific? What OS do you use on the client, what erratum
are you scheduling for update? What way? ...


Thanks,
--
Tomas Lestach
Red Hat Satellite Engineering


On 08/23/2016 10:54 AM, Lionel Caignec wrote:
> Hi,
>
> i've a annoying bug with spacewalk. When i schedule a kernel errata update at reboot my server is going into kernel panic.
>
> After some time i've found that initramfs was not generated during update phase. Moreover in grub.cfg the line "initrd ..." is missing.
> If i boot with an old kernel and i launch "yum reinstall kernel" server will boot without problem on new kernel.
>
>
> But if i schedule upgrade with gui, and then use "rhn_check -vvv" on my server there is no problem.
>
> Someone could help me? What do i missing?
>
>
> Thanks,
>
> --
> Lionel Caignec
>
> Centre Informatique National de l' Enseignement Supérieur
> 950 rue de Saint Priest
> 34097 MONTPELLIER Cedex 5
> Tel : (33) 04 67 14 14 14
> Fax : (33)04 67 52 37 63
> http://www.cines.fr<http://www.cines.fr/>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list



**



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.

**
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20160915/d065519b/attachment.htm>


More information about the Spacewalk-list mailing list