Command Info

Name: runcloud:batch-reboot

Description: Reboot RunCloud servers sequentially with pre-reboot upgrades and post-reboot SSH health verification

Status: completed

Start Time: 2026-08-14 21:11:01

End Time: 2026-08-14 21:11:02

Total Time: 1 second

Dispatched Jobs Count: 0

Successful Jobs Count: 0

Failed Jobs Count: 0

Output

21:11:01 🔍 Resuming batch: test-resume-batch-id
21:11:01 📋 Restored 2 target(s) from batch state
21:11:01 🔍 Batch ID: test-resume-batch-id
21:11:01 🔍 Target: 2 server(s)
21:11:01 ⏭️ Skipping 1 already-completed server(s)
21:11:01 🔄 Starting sequential reboot of 1 server(s)
21:11:01 ⏱️ Estimated total time: ~5 minutes
21:11:01 🔄 [2/1] Still Pending (ID: 91002)
21:11:01 🔍 Pre-flight SSH check...
21:11:01 📦 Running unattended upgrades...
21:11:01 📦 done (1 packages)
21:11:01 🔄 Rebooting...
21:11:01 ⏳ Waiting 0s before polling...
21:11:01 ⬇️ SSH went down after 1s, waiting for reconnection...
21:11:02 ✅ SSH reconnected. Server confirmed up.
21:11:02 ================
21:11:02 📊 Batch Summary
21:11:02 ================
21:11:02 Batch ID: test-resume-batch-id
21:11:02 Rebooted: 1
21:11:02 Skipped (no reboot needed): 0
21:11:02 Skipped (unreachable): 0
21:11:02 Failed: 0
21:11:02 ✅ All reachable servers processed successfully.