"reboot required" juju status message disappears even if update-grub was not run

Bug #1895189 reported by Zachary Zehring
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-sysconfig
Fix Released
Wishlist
Chi Wai CHAN

Bug Description

When update-grub is false, grub updates don't occur automatically when config is altered. This means reboots do not apply grub-config-flags automatically as well. However, a reboot does clear the "reboot required" messages related to the change in the grub config. This makes it a bit confusing, as the operator can believe the grub config was applied, even though it wasn't.

It would be nice to have a message that update-grub is needed to be run that persists after reboots. Or some message about grub not being updated after such reboot.

Tags: bseng-338

Related branches

description: updated
description: updated
description: updated
Jose Guedez (jfguedez)
Changed in charm-sysconfig:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Paul Goins (vultaire) wrote :

I just got hit by this. I was trying to figure out why 1G hugepages weren't working on a customer's hugepage-enabled compute nodes, despite having everything configured in the sysconfig charm. Upon digging deeper, I found that the config option was set after the subordinate was deployed, and since the update-grub config option was false (per recommended default), the grub configs were not rewritten. As the node has been rebooted since the change was made, there was no indication in Juju status that it was necessary to run "update-grub" to finalize the changes.

Eric Chen (eric-chen)
tags: added: bseng-338
Chi Wai CHAN (raychan96)
Changed in charm-sysconfig:
assignee: nobody → Chi Wai CHAN (raychan96)
status: Triaged → Confirmed
Chi Wai CHAN (raychan96)
Changed in charm-sysconfig:
status: Confirmed → In Progress
Chi Wai CHAN (raychan96)
Changed in charm-sysconfig:
status: In Progress → Fix Released
Chi Wai CHAN (raychan96)
Changed in charm-sysconfig:
status: Fix Released → Fix Committed
Changed in charm-sysconfig:
milestone: none → 22.08
Changed in charm-sysconfig:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.