feat(sysupdate): reboot coordination for non-Kubernetes and single-node hosts - #145
Open
mrbobbytables wants to merge 1 commit into
Open
Conversation
…de hosts Add systemd-sysupdate-reboot service and timer units with preset enablement for non-Kubernetes and single-node hosts. - Ship systemd-sysupdate-reboot.service with ConditionPathExists lock checks (/run/reboot-lock, /etc/reboot-lock, and /run/kured-active) to support immediate and lock-based inhibition. - Ship systemd-sysupdate-reboot.timer for maintenance window scheduling (04:10 with 30min randomized delay). - Enable timer via zz-enable-sysupdate-reboot.preset. - Preserve Kured reboot coordination path on Kubernetes clusters. - Add unit test coverage in tests/unit/test_reboot_coordination.py. - Update architecture roadmap and gap analysis documentation. Closes projectbluefin#139 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: mrbobbytables <mrbobbytables@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #139
Summary
Provides native reboot coordination for non-Kubernetes and single-node hosts using existing systemd primitives:
systemd-sysupdate-reboot.servicewith condition checks (ConditionPathExists=!/run/reboot-lock,ConditionPathExists=!/etc/reboot-lock, andConditionPathExists=!/run/kured-active) supporting lock-based reboot inhibition and immediate reboots.systemd-sysupdate-reboot.timerwith a daily maintenance window schedule (04:10:00withRandomizedDelaySec=30minandPersistent=true).systemd-sysupdate-reboot.timerviazz-enable-sysupdate-reboot.presetto ensure non-Kubernetes and single-node systems automatically apply reboots during scheduled maintenance windows.tests/unit/test_reboot_coordination.py.docs/skills/architecture-roadmap.mdanddocs/skills/gap-analysis-distros.md.— hive: backend=copilot model=gemini-3.8-flash
🐝 Hive Agent:
contributor| SHA:30b8e3f