pub enum After {
Nothing,
Vanish,
GuestBoots,
MintResizeBackup {
origin: String,
},
BeginSync,
OnlineIn {
ms: u64,
},
GuestPoweredOff,
InstallPass {
left_ms: u64,
},
MediumRebooted,
GuestGone,
GrowDone,
Created,
}Variants§
Nothing
Vanish
Free the object (the delete completes).
GuestBoots
The guest starts running — installer, template first boot, or the disk.
MintResizeBackup
The plan change completed; mint the Resize Backup off origin.
BeginSync
The upload finished and the SYNC begins. The import object flips to
completed here — with its completed_ms — while the storage enters
syncing and stays there for Timings::storage_sync_lo_ms to
Timings::storage_sync_hi_ms. Two clocks, one object, and the second
one starts only when the first has stopped.
OnlineIn
Go online this many ms after arriving. The second leg of a clone’s
maintenance → syncing → online, which needs two hops and a
transition carries one.
GuestPoweredOff
The installer powered the box off (behaviour 46). The guest is
Installed. The transition carrying this is HELD while a real machine
behind the server still runs: the API reports UpCloud’s time, but it
never says stopped over a running VM.
InstallPass
The installer’s brief started is over; the pass runs in
maintenance and ends stopped (via After::GuestPoweredOff)
after left_ms more.
MediumRebooted
The rebooting medium’s pass ended (behaviour 69): the guest reboots.
The server stays started. The CD still loaded and first → the
installer runs again (17) and another pass is scheduled; otherwise the
disk boots and the guest is Installed.
GuestGone
A real guest powered itself off while the server read started.
Noticed poweroff_notice_ms later; the guest is Off.
GrowDone
A size grow finished (behaviour 55). Marks the maintenance of a
grow, which a filesystem resize may follow at once: 5.44.1 sends
POST /storage/{uuid}/resize straight after the PUT, without waiting,
against the live account.
Created
A fresh POST /storage settling (behaviour 66). Nothing happens on
arrival; it marks the create’s maintenance as the one an import may be
started in.