Brand Claim Brand Claim

Update notification by Red Hat

Last month we have informed about an important kernel panic case with kernel version greater than 3.10.0-1160.10.1.el7 while using LVM in terms of pvmove command:

Known LVM issue

Red Hat has officially published an update regarding this case which also covers many more known CVEs:

RHSA-2021:0856

A new kernel version 3.10.0-1160.21.1.el7 has been released and successfully tested by OTC.

Customer advice

This advice is usually only valid for customers which currently use an existing VM with LVM or plan to use LVM with a new VM!

Existing RHEL 7.9 customers with LVM usage

We strongly recommend to update your existing environments by executing the following commands:

  1. Login
    $ ssh username@hostname
  2. Switch to root
    $ sudo -i
  3. Update and check yum updates
    $ yum clean all
    $ yum repolist all
    $ yum check-udpate
    #
    ##
    ###
    ==========================================================================================================================================================================================================================================
    Package                                                      Arch                                       Version                                                   Repository                                                        Size
    ==========================================================================================================================================================================================================================================
    Installing:
    kernel                                                       x86_64                                     3.10.0-1160.21.1.el7                                      rhui-rhel-7-server-rhui-rpms                                      50 M
    Updating:
    cloud-init                                                   x86_64                                     19.4-7.el7_9.4                                            rhui-rhel-7-server-rhui-rpms                                     933 k
    device-mapper                                                x86_64                                     7:1.02.170-6.el7_9.4                                      rhui-rhel-7-server-rhui-rpms                                     297 k
    device-mapper-event                                          x86_64                                     7:1.02.170-6.el7_9.4                                      rhui-rhel-7-server-rhui-rpms                                     192 k
    device-mapper-event-libs                                     x86_64                                     7:1.02.170-6.el7_9.4                                      rhui-rhel-7-server-rhui-rpms                                     192 k
    device-mapper-libs                                           x86_64                                     7:1.02.170-6.el7_9.4                                      rhui-rhel-7-server-rhui-rpms                                     325 k
    dmidecode                                                    x86_64                                     1:3.2-5.el7_9.1                                           rhui-rhel-7-server-rhui-rpms                                      82 k
    grub2                                                        x86_64                                     1:2.02-0.87.el7_9.6                                       rhui-rhel-7-server-rhui-rpms                                      34 k
    grub2-common                                                 noarch                                     1:2.02-0.87.el7_9.6                                       rhui-rhel-7-server-rhui-rpms                                     732 k
    grub2-pc                                                     x86_64                                     1:2.02-0.87.el7_9.6                                       rhui-rhel-7-server-rhui-rpms                                      34 k
    grub2-pc-modules                                             noarch                                     1:2.02-0.87.el7_9.6                                       rhui-rhel-7-server-rhui-rpms                                     858 k
    grub2-tools                                                  x86_64                                     1:2.02-0.87.el7_9.6                                       rhui-rhel-7-server-rhui-rpms                                     1.8 M
    grub2-tools-extra                                            x86_64                                     1:2.02-0.87.el7_9.6                                       rhui-rhel-7-server-rhui-rpms                                     1.0 M
    grub2-tools-minimal                                          x86_64                                     1:2.02-0.87.el7_9.6                                       rhui-rhel-7-server-rhui-rpms                                     177 k
    kernel-tools                                                 x86_64                                     3.10.0-1160.21.1.el7                                      rhui-rhel-7-server-rhui-rpms                                     8.1 M
    kernel-tools-libs                                            x86_64                                     3.10.0-1160.21.1.el7                                      rhui-rhel-7-server-rhui-rpms                                     8.0 M
    lvm2                                                         x86_64                                     7:2.02.187-6.el7_9.4                                      rhui-rhel-7-server-rhui-rpms                                     1.3 M
    lvm2-libs                                                    x86_64                                     7:2.02.187-6.el7_9.4                                      rhui-rhel-7-server-rhui-rpms                                     1.1 M
    python-perf                                                  x86_64                                     3.10.0-1160.21.1.el7                                      rhui-rhel-7-server-rhui-rpms                                     8.1 M
    redhat-release-server                                        x86_64                                     7.9-6.el7_9                                               rhui-rhel-7-server-rhui-rpms                                      30 k
    =========================================================================================================================================================================================================================================
    ###
    ##
    #
    $ yum update -y
  4. In some cases a grubby error occurs during kernel upgrade
    $ grubby fatal error: unable to find a suitable template
  5. Please check grub configuration file! This must include a new entry for the latest kernel version 3.10.0-1160.21.1.el7
    $ cat /boot/grub2/grub.cfg
    #
    ##
    ###
    menuentry 'Red Hat Enterprise Linux Server (3.10.0-1160.21.1.el7.x86_64) 7.9 (Maipo)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-simple-d56fc274-de06-499a-959c-c83d53db1fa9' {
        load_video
        set gfxpayload=keep
        insmod gzio
        insmod part_msdos
        insmod ext2
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root  d56fc274-de06-499a-959c-c83d53db1fa9
        else
          search --no-floppy --fs-uuid --set=root d56fc274-de06-499a-959c-c83d53db1fa9
        fi
        linux16 /boot/vmlinuz-3.10.0-1160.21.1.el7.x86_64 root=LABEL=ROOT ro  console=ttyS0,115200n8 console=tty0 net.ifnames=0 root=UUID=d56fc274-de06-499a-959c-c83d53db1fa9 rw LANG=en_US.UTF-8
        initrd16 /boot/initramfs-3.10.0-1160.21.1.el7.x86_64.img
    }
    ###
    ##
    #
  6. A new grub configuration is required, if the above menu entry was not automatically added. Please reboot!
    $ grub2-mkconfig -o /boot/grub2/grub.cfg
    $ reboot
  7. Check kernel version after reboot.
    $ uname -r
    $ 3.10.0-1160.21.1.el7.x86_64

New RHEL 7.9 customers which plan to use LVM

We strongly recommend to use an image with the following image-id and kernel version 3.10.0-1160.21.1.el7:

6ee08cbf-920b-42d6-8c54-ed779a46410a

Or just use our latest Red Hat Enterprise Linux 7.9 image called Enterprise_RedHat_7_latest.