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 19:46:19

End Time: 2026-08-14 19:46:20

Total Time: 1 second

Dispatched Jobs Count: 0

Successful Jobs Count: 0

Failed Jobs Count: 0

Output

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