cpufrequtils updates: are reboots needed?

Bug #1862265 reported by Paul Goins
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
charm-sysconfig
New
Medium
Unassigned

Bug Description

I haven't looked deeply enough to determine if this a bug for sure or not, but it does seem a little "off".

While working on providing updates to this charm, I noticed that changes related to cpufrequtils both resort in host.service_restart('cpufrequtils') calls as well as flagging the need to reboot the host.

I'm not close enough to the functionality in question to be comfortable enough to change this outright, but it seems that if a reboot is needed, a service restart is perhaps of limited use, while if a service restart is adequate, a reboot is unneeded.

If a host restart is not needed here, I'd suggest replacing the self._render_boot_resource(...) calls with something that doesn't flag the need to reboot. If the reboot is needed, perhaps the charm is OK as-is... Or perhaps we don't want to perform the restart and should prefer to wait until reboot?

Celia Wang (ziyiwang)
Changed in charm-sysconfig:
importance: Undecided → Medium
Revision history for this message
Yoshi Kadokawa (yoshikadokawa) wrote :

I'm seeing and thinking the same for this.
I have only configured the following for sysconfig charm, and seeing the following juju status message "reboot required. Changes in: /etc/systemd/system.conf",
in addition to this the application status is in "blocked" status as well.

$ juju config sysconfig governor=performance

For now the workaround is to run clear-notification action.

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.