Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
The grub.conf missed the content of the backup version after upgraded from rhev-hypervisor6-6.3-20121005.0.rhev31.el6_3 to rhev-hypervisor6-6.3-20121005.0.rhev31.el6_3 via RHEVM.
Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.3-20121005.0.rhev31.el6_3
How reproducible:
100%
Steps to Reproduce:
1. Install rhev-hypervisor6-6.3-20121005.0.rhev31.el6_3 and register to RHEV-M.
2. Upgrade RHEV-H to the latest version(rhev-hypervisor6-6.3-20121005.0.rhev31.el6_3) via rhevm.
3. After upgrade successful, wait for a while,RHEV-H can automatic reboot.
Actual results:
After step 3, there only the latest version can be selected to boot,missed the backup version.
After boot the latest version successfully
1.RHEVM shows that upgrade rhev-h successfully.
2.Press F2 drop to shell on the rhev-h side:
[root@localhost admin]# cat /dev/.initramfs/live/grub/grub.conf
default saved
timeout 5
hiddenmenu
splashimage=(hd0,1)/grub/splash.xpm.gz
title RHEV Hypervisor 6.3-20121005.0.rhev31.el6_3
root (hd0,1)
kernel /vmlinuz0 root=live:LABEL=Root ro rootfstype=auto rootflags=ro ksdevice=bootif crashkernel=512M-2G:64M,2G-:128M lang= rd_NO_LUKS rd_NO_LVM kssendmac rd_NO_MD quiet elevator=deadline rhgb rd_NO_DM
initrd /initrd0.img
[root@localhost admin]# ls -la /dev/disk/by-label/
total 0
drwxr-xr-x. 2 root root 200 2012-10-08 00:54 .
drwxr-xr-x. 6 root root 120 2012-10-08 00:53 ..
lrwxrwxrwx. 1 root root 10 2012-10-08 00:54 CONFIG -> ../../dm-7
lrwxrwxrwx. 1 root root 10 2012-10-08 00:54 DATA -> ../../dm-9
lrwxrwxrwx. 1 root root 10 2012-10-08 00:54 LOGGING -> ../../dm-8
lrwxrwxrwx. 1 root root 9 2012-10-08 00:53 rhevh-6.3-20120813.0 -> ../../sr0
lrwxrwxrwx. 1 root root 11 2012-10-08 00:53 _rhevh-6.3-20121 -> ../../loop1
lrwxrwxrwx. 1 root root 10 2012-10-08 00:54 Root -> ../../dm-2
lrwxrwxrwx. 1 root root 10 2012-10-08 00:54 RootBackup -> ../../dm-3
lrwxrwxrwx. 1 root root 10 2012-10-08 00:54 SWAP -> ../../dm-6
[root@localhost admin]# mount
...
/dev/mapper/1ATA_SAMSUNG_HD322HJ_S1GXJ90S204929p2 on /dev/.initramfs/live type unknown (ro)
...
[root@localhost admin]# mount /dev/mapper/1ATA_SAMSUNG_HD322HJ_S1GXJ90S204929p3 /mnt
[root@localhost admin]# ls /mnt/
efi/ grub/ initrd0.img LiveOS/ lost+found/ version vmlinuz0
So that the backup version wasn't deleted after upgraded rhev-h via RHEVM, but couldn't boot the backup version.
Expected results:
After step 3, it should have two build version(the latest version and the backup version) that can be selected to boot
Additional info:
-----
hi jboggs,
After upgraded from rhev-hypervisor6-6.3-20121015.0.rhev31.el6_3 to rhev-hypervisor6-6.3-20121017.0.rhev31.el6_3 via RHEVM.
In addition to the grub.conf missed the content of the backup version, i notice another issue :
the latest version content saved the old version "title" in grub.conf .
Description of problem: The grub.conf missed the content of the backup version after upgraded from rhev-hypervisor6-6.3-20121005.0.rhev31.el6_3 to rhev-hypervisor6-6.3-20121005.0.rhev31.el6_3 via RHEVM. Version-Release number of selected component (if applicable): rhev-hypervisor6-6.3-20121005.0.rhev31.el6_3 How reproducible: 100% Steps to Reproduce: 1. Install rhev-hypervisor6-6.3-20121005.0.rhev31.el6_3 and register to RHEV-M. 2. Upgrade RHEV-H to the latest version(rhev-hypervisor6-6.3-20121005.0.rhev31.el6_3) via rhevm. 3. After upgrade successful, wait for a while,RHEV-H can automatic reboot. Actual results: After step 3, there only the latest version can be selected to boot,missed the backup version. After boot the latest version successfully 1.RHEVM shows that upgrade rhev-h successfully. 2.Press F2 drop to shell on the rhev-h side: [root@localhost admin]# cat /dev/.initramfs/live/grub/grub.conf default saved timeout 5 hiddenmenu splashimage=(hd0,1)/grub/splash.xpm.gz title RHEV Hypervisor 6.3-20121005.0.rhev31.el6_3 root (hd0,1) kernel /vmlinuz0 root=live:LABEL=Root ro rootfstype=auto rootflags=ro ksdevice=bootif crashkernel=512M-2G:64M,2G-:128M lang= rd_NO_LUKS rd_NO_LVM kssendmac rd_NO_MD quiet elevator=deadline rhgb rd_NO_DM initrd /initrd0.img [root@localhost admin]# ls -la /dev/disk/by-label/ total 0 drwxr-xr-x. 2 root root 200 2012-10-08 00:54 . drwxr-xr-x. 6 root root 120 2012-10-08 00:53 .. lrwxrwxrwx. 1 root root 10 2012-10-08 00:54 CONFIG -> ../../dm-7 lrwxrwxrwx. 1 root root 10 2012-10-08 00:54 DATA -> ../../dm-9 lrwxrwxrwx. 1 root root 10 2012-10-08 00:54 LOGGING -> ../../dm-8 lrwxrwxrwx. 1 root root 9 2012-10-08 00:53 rhevh-6.3-20120813.0 -> ../../sr0 lrwxrwxrwx. 1 root root 11 2012-10-08 00:53 _rhevh-6.3-20121 -> ../../loop1 lrwxrwxrwx. 1 root root 10 2012-10-08 00:54 Root -> ../../dm-2 lrwxrwxrwx. 1 root root 10 2012-10-08 00:54 RootBackup -> ../../dm-3 lrwxrwxrwx. 1 root root 10 2012-10-08 00:54 SWAP -> ../../dm-6 [root@localhost admin]# mount ... /dev/mapper/1ATA_SAMSUNG_HD322HJ_S1GXJ90S204929p2 on /dev/.initramfs/live type unknown (ro) ... [root@localhost admin]# mount /dev/mapper/1ATA_SAMSUNG_HD322HJ_S1GXJ90S204929p3 /mnt [root@localhost admin]# ls /mnt/ efi/ grub/ initrd0.img LiveOS/ lost+found/ version vmlinuz0 So that the backup version wasn't deleted after upgraded rhev-h via RHEVM, but couldn't boot the backup version. Expected results: After step 3, it should have two build version(the latest version and the backup version) that can be selected to boot Additional info: -----