Bug 877968 - RHEL 5 AMI Kernels not updating
Summary: RHEL 5 AMI Kernels not updating
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: releng
Version: 5.8
Hardware: i386
OS: Linux
unspecified
unspecified
Target Milestone: ---
: 5.10
Assignee: Pavol Babinčák
QA Contact: Release Test Team
URL:
Whiteboard:
: 878015 878071 878836 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-19 10:47 UTC by mkovacik
Modified: 2015-11-04 10:18 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-02 13:02:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
ec2-54-252-22-129.ap-southeast-2.compute.amazonaws.com.log (187.74 KB, text/plain)
2012-11-19 11:23 UTC, mkovacik
no flags Details
ec2-54-252-22-159.ap-southeast-2.compute.amazonaws.com.log (187.44 KB, text/plain)
2012-11-19 11:27 UTC, mkovacik
no flags Details
ec2-54-252-33-32.ap-southeast-2.compute.amazonaws.com.log (187.87 KB, text/plain)
2012-11-19 11:28 UTC, mkovacik
no flags Details
kernel update from eu-west-1 region (5.48 KB, text/plain)
2012-11-19 13:14 UTC, mkovacik
no flags Details
kernel update log; /etc/sysconfig/kernel modified (5.03 KB, text/plain)
2012-11-19 17:36 UTC, mkovacik
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.