Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 877968

Summary: RHEL 5 AMI Kernels not updating
Product: Red Hat Enterprise Linux 5 Reporter: mkovacik
Component: relengAssignee: Pavol Babinčák <pbabinca>
Status: CLOSED WONTFIX QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.8CC: drjones, jgreguske, mkovacik
Target Milestone: ---   
Target Release: 5.10   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-02 13:02:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
ec2-54-252-22-129.ap-southeast-2.compute.amazonaws.com.log
none
ec2-54-252-22-159.ap-southeast-2.compute.amazonaws.com.log
none
ec2-54-252-33-32.ap-southeast-2.compute.amazonaws.com.log
none
kernel update from eu-west-1 region
none
kernel update log; /etc/sysconfig/kernel modified none

Description mkovacik 2012-11-19 10:47:44 UTC

Comment 1 mkovacik 2012-11-19 11:23:52 UTC
Created attachment 647704 [details]
ec2-54-252-22-129.ap-southeast-2.compute.amazonaws.com.log

Comment 2 mkovacik 2012-11-19 11:23:57 UTC
ec2-54-252-22-129.ap-southeast-2.compute.amazonaws.com results:

:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/rhel-version
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/fetch-host-details
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/disk-size-format
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/selinux
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/package-set
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/verify-rpms
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/yum-full-test
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/yum-general-test
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/bash-history
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/swap-file
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/system-id
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/cloud-firstboot
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/nameserver
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/passwd-group
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/inittab
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/shells
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/yum-repos
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/yum-plugin
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/gpg-keys
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/IPv6
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/networking
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/sshd
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/iptables
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/chkconfig
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/libc6-xen-conf
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/syslog
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/auditd
:: [   FAIL   ] :: RESULT: /distribution/ec2/Sanity/uname
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/resize2fs
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/grub
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/memory

Comment 3 mkovacik 2012-11-19 11:27:18 UTC
Created attachment 647708 [details]
ec2-54-252-22-159.ap-southeast-2.compute.amazonaws.com.log

Comment 4 mkovacik 2012-11-19 11:27:50 UTC
ec2-54-252-22-159.ap-southeast-2.compute.amazonaws.com results:

:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/rhel-version
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/fetch-host-details
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/disk-size-format
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/selinux
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/package-set
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/verify-rpms
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/yum-full-test
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/yum-general-test
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/bash-history
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/swap-file
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/system-id
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/cloud-firstboot
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/nameserver
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/passwd-group
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/inittab
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/shells
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/yum-repos
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/yum-plugin
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/gpg-keys
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/IPv6
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/networking
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/sshd
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/iptables
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/chkconfig
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/libc6-xen-conf
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/syslog
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/auditd
:: [   FAIL   ] :: RESULT: /distribution/ec2/Sanity/uname
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/resize2fs
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/grub
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/memory

Comment 5 mkovacik 2012-11-19 11:28:10 UTC
Created attachment 647709 [details]
ec2-54-252-33-32.ap-southeast-2.compute.amazonaws.com.log

Comment 6 mkovacik 2012-11-19 11:28:15 UTC
ec2-54-252-33-32.ap-southeast-2.compute.amazonaws.com results:

:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/rhel-version
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/fetch-host-details
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/disk-size-format
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/selinux
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/package-set
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/verify-rpms
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/yum-full-test
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/yum-general-test
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/bash-history
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/swap-file
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/system-id
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/cloud-firstboot
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/nameserver
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/passwd-group
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/inittab
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/shells
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/yum-repos
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/yum-plugin
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/gpg-keys
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/IPv6
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/networking
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/sshd
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/iptables
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/chkconfig
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/libc6-xen-conf
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/syslog
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/auditd
:: [   FAIL   ] :: RESULT: /distribution/ec2/Sanity/uname
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/resize2fs
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/grub
:: [   PASS   ] :: RESULT: /distribution/ec2/Sanity/memory

Comment 7 mkovacik 2012-11-19 12:48:49 UTC
The issue
kernel-xen-2.6.18-308.20.1.el5.i686 package doesn't update the /etc/grub.conf file correctly; it is containing an old default entry even though /etc/sysconfig/kernel states otherwise:

[root@malina ~]# cat /etc/grub.conf 
default=1
timeout=0
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-308.20.1.el5xen)
        root (hd0)
        kernel /boot/vmlinuz-2.6.18-308.20.1.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-308.20.1.el5xen.img
title RHEL5.8-Server-20120126.1-Server-i386-starter-ec2 (2.6.18-307.el5xen)
        root (hd0)
        kernel /boot/vmlinuz-2.6.18-307.el5xen ro root=LABEL=/ 
        initrd /boot/initrd-2.6.18-307.el5xen.img

[root@malina ~]# cat /etc/sysconfig/kernel 
# UPDATEDEFAULT specifies if new-kernel-pkg should make
# new kernels the default
UPDATEDEFAULT=yes

# DEFAULTKERNEL specifies the default kernel package type
DEFAULTKERNEL=kernel

Comment 8 mkovacik 2012-11-19 13:14:52 UTC
Created attachment 647750 [details]
kernel update from eu-west-1 region

The same issue is observed in eu-west-1; seems not an ami issue

Comment 9 mkovacik 2012-11-19 17:36:57 UTC
Created attachment 647903 [details]
kernel update log; /etc/sysconfig/kernel modified

It seems modifying /etc/sysconfig/kernel to
  DEFAULTKERNEL=kernel-xen
solves the issue

Comment 10 Jay Greguske 2012-11-20 16:45:36 UTC
Noted. If there is a 5.10 we can make that change. Maybe kbase it for existing customers?

Comment 11 mkovacik 2012-11-21 10:11:36 UTC
Setting it assigned; please close/postpone if appropriate.

Thanks,
milan

Comment 12 mkovacik 2012-11-21 12:10:51 UTC
*** Bug 878071 has been marked as a duplicate of this bug. ***

Comment 13 mkovacik 2012-11-21 12:11:37 UTC
*** Bug 878015 has been marked as a duplicate of this bug. ***

Comment 14 mkovacik 2012-11-21 12:12:08 UTC
*** Bug 878836 has been marked as a duplicate of this bug. ***

Comment 15 RHEL Program Management 2014-03-07 13:34:05 UTC
This bug/component is not included in scope for RHEL-5.11.0 which is the last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your account manager or support representative in case you need to escalate this bug.

Comment 16 RHEL Program Management 2014-06-02 13:02:35 UTC
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in RHEL5 stream. If the issue is critical for your business, please provide additional business justification through the appropriate support channels (https://access.redhat.com/site/support).