Skip to content

zed: yoga merge #899

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jan 29, 2024
Merged

zed: yoga merge #899

merged 6 commits into from
Jan 29, 2024

Conversation

markgoddard
Copy link
Contributor

jovial and others added 6 commits November 28, 2023 16:50
This was removed upstream, see:

samber/awesome-prometheus-alerts@10b810f
(cherry picked from commit 80f7567f60cea94d440f5700541e6944cb7456bd)
On some Rocky Linux 9 deployments, we are seeing GRUB defaulting to the
old kernel included in the DIB image, even after newer kernels have been
installed. This appears to be related to the presence of Boot Loader
Specification (BLS) entries with a machine ID lower in alphabetical
order than the current one:

    [stack@host ~]$ sudo cat /etc/machine-id
    cd3361a338fe47348de9937e51a7a4aa
    [stack@host ~]$ sudo ls -l /boot/loader/entries/
    total 20
    -rw-r--r--. 1 root root 449 Mar 31  2023 104a42359fae41b687caac066397aec2-0-rescue.conf
    -rw-r--r--. 1 root root 397 Mar 31  2023 104a42359fae41b687caac066397aec2-5.14.0-162.22.2.el9_1.x86_64.conf
    -rw-r--r--  1 root root 446 Jun  9  2023 cd3361a338fe47348de9937e51a7a4aa-0-rescue.conf
    -rw-r--r--  1 root root 422 Jun  9  2023 cd3361a338fe47348de9937e51a7a4aa-5.14.0-284.11.1.el9_2.x86_64.conf
    -rw-r--r--  1 root root 422 Jan  9 09:40 cd3361a338fe47348de9937e51a7a4aa-5.14.0-284.30.1.el9_2.x86_64.conf

Add a new `reset-bls-entries.yml` playbook which will rename existing
BLS entries using the current machine ID. This should prompt Grub to
pick the most recent kernel on next reboot.
Fix issue with GRUB defaulting to an old kernel
Add pvresize before lvextend

Running pvresize before lvextend ensures that there is enough spaces for extension.
@markgoddard markgoddard requested a review from a team as a code owner January 26, 2024 13:35
@markgoddard markgoddard self-assigned this Jan 26, 2024
@markgoddard markgoddard merged commit 14f8eda into stackhpc/zed Jan 29, 2024
@markgoddard markgoddard deleted the zed-yoga-merge branch January 29, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants