Check (warn) if instance has a pending reboot due to changed configuration
See original GitHub issueCurrently, if modifying the configuration of an instance via gnt-modify ... the user is told that, for the change to have any effect, the instance needs to be rebooted. Probably, we should introduce a check for this in gnt-cluster verify, to be able to find instances with pending reboots due to changed configurations.
Probably, this is as easy as comparing mtime and start_time:
if
mtime > start_time
then
warn
endif
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (6 by maintainers)
Top Results From Across the Web
How to Check for a Pending Reboot in the Registry (Windows)
A pending reboot is defined in many places. Scroll right to see the values and conditions. A Windows computer is pending a reboot...
Read more >Status checks for your instances - AWS Documentation
Monitor instances with status checks to determine whether Amazon EC2 has detected any problems with your instances.
Read more >Reboot - Pending File Rename Operations check returns true ...
On running choco upgrade all -y (as Administrator), I always get a validation error as follows: PS C:\WINDOWS\system32> choco upgrade all -y ...
Read more >Determine Pending Reboot Status—PowerShell Style! Part 2
Microsoft Scripting Guy, Ed Wilson, is here. Today we have the conclusion to Brian Wilhite's guest blog series about detecting pending reboots ......
Read more >Error: A computer restart is required... or Reboot pending ...
This issue can occur if their is an orphaned key remaining in the Windows® Registry that didn't properly clear after restarting the computer, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I think that will be a real good feature because here for our usage it’s something really needed. Sometimes we rebalanced CPU/RAM for lot of VM but we will reboot them later to don’t impact their usage. And very often we forget one or two VMs to reboot because there is no centralized way to know it. I’ve even a script based on gnt-list that do a diff about current running parameters against definition parameters to check if some VM need to be rebooted. So to have this feature natively would be great.
Thinking some more, I think restart with custom parameters should have it’s own warning, and should not affect timestamp change (related to modification).
So the semantics I’m proposing:
Thoughts?