Documentation Index
Fetch the complete documentation index at: https://docs.xloud.tech/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Instance Rollback restores a virtual machine to the exact disk state captured by one of its snapshots, without rebuilding the VM, changing its UUID, or disturbing its network identity. Floating IPs, fixed IPs, ports, security groups, key pair, flavor, and metadata are all preserved. Only the bytes on disk change.Xloud-Developed — In-place instance rollback is built by Xloud and ships with XAVS / XPCI on Xloud Distributed Storage (XSDS) backed clusters. It is the equivalent of VMware vSphere “Revert to Snapshot” and Proxmox “Rollback”.
Prerequisites
- The instance is on Xloud Distributed Storage (XSDS / Ceph RBD). Other storage backends are rejected at pre-flight time.
- The instance is in
Active,Shutdown, orErrorstate and has no other operation in progress (no migration, no resize, no other rollback). - At least one Instance Snapshot exists for the VM.
- Your project role permits rollback (
os_compute_api:xloud_rollback:rollback).
What Rollback Preserves vs Replaces
- Preserved
- Replaced
| Item | Behaviour |
|---|---|
| Instance UUID | Same UUID before and after — automation, monitoring, and tags keep working. |
| Display name | Unchanged. |
| Flavor | Unchanged. |
| Floating IPs | Unchanged. |
| Fixed IPs and ports | Unchanged. |
| Security groups | Unchanged. |
| SSH key pair | Unchanged. |
| Server metadata, tags, descriptions | Unchanged. |
| Volume attachments and device names | Unchanged. |
| Snapshots taken after the rollback target | Still listed and still usable. |
Two Differentiators
Safety Snapshot (automatic)
Before any disk content is changed, the platform creates a per-volume Cinder snapshot of the current state. If the rollback turns out to be the wrong choice, you can revert again — this time to the safety snapshot — and recover the pre-rollback state.Safety snapshots use copy-on-write at the storage layer, so they are
effectively instant and consume only the storage of changes written after
they are taken. They are named with the prefix
_xloud_safety_ and tagged
with metadata so administrators can identify and clean them up later.Roll Back to ANY Snapshot, Not Only the Most Recent
Most cloud platforms only let you revert to the latest snapshot, forcing you to delete newer snapshots first or to chain rollbacks one at a time. Xloud Instance Rollback works against any snapshot in the VM’s history. This works because the rollback runs at the storage layer rather than going through the standard volume-revert API path. The full snapshot tree is preserved on the underlying storage, so any snapshot is a valid target.Roll Back an Instance
- Dashboard
- CLI
Open the rollback dialog
Navigate to Compute > Instance Snapshots. Locate the snapshot you
want to roll back to. On the snapshot row, open the More menu and
select Rollback.The dialog title is Rollback Instance to Snapshot. The action is
marked as destructive and the dialog will not close if you click
outside it — use Cancel or the close icon.
Wait for the pre-flight check
The platform automatically resolves the source instance and runs a
pre-flight check. The dialog displays:
| Field | What it shows |
|---|---|
| Snapshot | The snapshot that will be applied. |
| Target Instance | The VM that will be reverted (auto-detected). |
| Pre-flight Check | Backend type, number of volumes to revert, warnings, and errors. |
| Supported Scope | Notes that XSDS is required and the VM will be stopped briefly. |
If the pre-flight check fails (for example, the storage backend is not
XSDS, or another operation is in progress on the VM), the dialog shows
a clear error and the Confirm button stays disabled. Transient
errors offer a Retry button.
Choose post-rollback options
| Field | Description |
|---|---|
| Power State After Rollback | Power on (default) starts the VM after rollback completes. Power off leaves the VM stopped so you can inspect the disk before booting. |
| Skip Safety Snapshot | Leave unchecked (recommended). Tick only if you do not need a recovery point. |
| Irreversible Action | Tick to acknowledge the disk content will be replaced. Required to enable Confirm. |
Confirm and wait
Click Confirm. The platform performs the rollback synchronously:
- Creates a per-volume safety snapshot (unless skipped).
- Stops the VM and waits for it to fully release the disk.
- Reverts each volume to the chosen snapshot at the storage layer.
- Restarts the VM if Power on was selected.
The instance returns to
Active (or Shutdown if you chose Power off) with the same UUID, the same IP, and the disk contents from the chosen snapshot.Recover From a Rollback
If the rollback was not what you wanted, you can recover.Locate the safety snapshot
Navigate to Storage > Volume Snapshots. Filter by the prefix
_xloud_safety_. Each safety snapshot is named with the rollback request
ID, the device name, and a timestamp, so you can correlate it with the
rollback you want to undo.Roll back to the safety snapshot
The safety snapshot is itself a Cinder snapshot of the volume. To use it
as a rollback target, take an Instance Snapshot of the VM referencing
that safety state, or contact your administrator who can perform the
same rollback procedure against the safety snapshot.
Safety snapshots are retained until an administrator cleans them up.
They consume only the changed bytes (copy-on-write), so keeping them
around for a recovery window is cheap.
Pre-flight Errors and What They Mean
Storage backend requires Ceph RBD/XSDS
Storage backend requires Ceph RBD/XSDS
The instance has at least one volume on a backend other than XSDS (for
example, a third-party iSCSI array). Instance Rollback v1 only supports
XSDS-backed volumes. Migrate the volume to XSDS or use snapshot-based
cloning to recover state.
Cannot determine source instance for this snapshot
Cannot determine source instance for this snapshot
The snapshot’s metadata does not contain a usable instance reference and
the boot volume’s attachments could not be walked. This typically means
the original instance was deleted. Use Create Instance From Snapshot
to launch a new VM from the snapshot instead.
Another operation is in progress
Another operation is in progress
A migration, resize, snapshot, or another rollback is currently running
on the VM. Wait for it to complete and retry.
RBD image has active watchers; refusing rollback
RBD image has active watchers; refusing rollback
The VM did not fully release the disk before rollback was attempted. This
safety check prevents disk corruption from concurrent writers. The
platform retries on its own; if it persists, contact your administrator
— a stale libvirt session or a backup agent may be holding the disk.
Snapshot not found or not active
Snapshot not found or not active
The selected snapshot was deleted, is still uploading, or is in
Error
state. Refresh the snapshot list and retry once the snapshot is Active.What Rollback Does Not Do
| Out of scope (v1) | Why |
|---|---|
| Non-XSDS backends | Other backends do not expose the in-place revert primitive that makes the operation safe and instant. |
| Hot rollback (running VM) | The VM is stopped automatically as part of the workflow. The disk cannot be reverted while a hypervisor is writing to it. |
| Mixed backends in one VM | If any attached volume is not on XSDS, the entire rollback is rejected. No partial rollback. |
| Bulk rollback across many VMs | Rollback is per-instance. |
| Scheduled rollback | The action runs immediately when triggered. |
How It Works Internally
This section is informational. End users do not need to understand it to use
the feature.
- The volume’s database row is unchanged. The block storage service still
sees
status=in-use, attached. - The volume attachment is unchanged.
- Snapshots taken after the rollback target are still preserved on the underlying storage.
- Only the bytes inside the volume’s image have moved back in time.
Next Steps
Instance Snapshots
Capture VM state to create rollback points.
Clone Instance
Create a new VM from an existing one without rolling back.
VM Templates
Promote a known-good snapshot into a reusable template.