grub updates from puppet manifests aren't reflected in /etc/default/grub
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Don Penney |
Bug Description
Brief Description
-----------------
The grub.pp and compute.pp manifests use grubby to make changes to the grub cmdline, but these are not reflected in /etc/grub/default. If someone uses grub2-mkconfig to update the cmdline, the customizations made by the manifests are lost.
Severity
--------
Minor
Steps to Reproduce
------------------
Run grub2-mkconfig command to update the grub cmdline.
Expected Behavior
------------------
Customizations like the spectre options should remain on /proc/cmdline
Actual Behavior
----------------
Customizations are dropped. They will be re-applied by the manifests, but may require an additional reboot.
Reproducibility
---------------
Reproducible
Branch/Pull Time/Commit
-------
starlingx/master, present Oct 26, 2020
Last Pass
---------
Issue present in original code introducing grubby calls
Workaround
----------
Additional lock/unlock of impacted node(s).
Changed in starlingx: | |
assignee: | nobody → Don Penney (dpenney) |
importance: | Undecided → Medium |
status: | New → Triaged |
tags: | added: stx.5.0 stx.config |
tags: |
added: stx.update removed: stx.config |
Fix proposed to branch: master /review. opendev. org/759744
Review: https:/