
Ceph RBD Snapshots Clone
CertifiedClone an RBD snapshot into a new image
Ceph RBD Snapshots Clone
Clone an RBD snapshot into a new image
Calls POST /api/block/image/{image_spec}/snap/{snapshot_name}/clone, creating a new copy-on-write image backed by the snapshot. Some Ceph versions process this asynchronously via the Dashboard task manager; this task issues the request and immediately fetches the resulting child image, which may briefly reflect an in-progress state until Ceph finishes cloning it.
type: io.kestra.plugin.ceph.rbd.snapshots.CloneExamples
Clone an RBD snapshot into a new image
id: clone_rbd_snapshot
namespace: company.team
tasks:
- id: clone
type: io.kestra.plugin.ceph.rbd.snapshots.Clone
host: "ceph-mgr.internal"
username: "admin"
password: "{{ secret('CEPH_DASHBOARD_PASSWORD') }}"
poolName: "rbd"
imageName: "data-volume"
snapshotName: "before-migration"
childPoolName: "rbd"
childImageName: "data-volume-clone"
Installation
Our standard Docker images already include this plugin. If you use a -slim image or another setup, install it with the following command:
kestractl plugins get io.kestra.plugin:plugin-ceph --compatible-for $KESTRA_VERSION For kestractl, use your Kestra version with --compatible-for, or specify an exact plugin version.
For Kestra CLI, replace LATEST with a specific version or version range to pin the plugin version.
Properties
childImageName *string
Destination image name
Name of the new cloned image.
childPoolName *string
Destination pool name
Pool the new cloned image is created in.
host *string
Ceph Dashboard host
Hostname or IP address of the Ceph Manager Dashboard. Must be reachable from the Kestra worker.
imageName *string
Image name
Name of the source RBD image holding the snapshot.
poolName *string
Pool name
Pool of the source image holding the snapshot.
snapshotName *string
Snapshot name
Name of the snapshot to clone from.
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150password string
Password
Password for the Ceph Dashboard account. Never logged. Required unless token is set; ignored otherwise.
port integerstring
8443Ceph Dashboard port
TCP port of the Ceph Manager Dashboard REST API. Defaults to 8443.
skipSsl booleanstring
falseSkip TLS certificate verification
When true, disables TLS certificate verification. Useful when the Ceph Manager Dashboard uses a self-signed certificate, which is the default on most Ceph deployments. Defaults to false (secure): enable it explicitly and only for trusted networks.
token string
Pre-obtained JWT
A JWT obtained from POST /api/auth, used directly instead of username/password. Reused as-is for every request in the execution. It expires (Ceph default 8h TTL) and is NOT auto-renewed, so do not use it in triggers or scheduled flows; use username/password there instead. Mutually exclusive with password: when set, username/password are ignored.
username string
Username
Ceph Dashboard account used to obtain a session token from POST /api/auth. Required unless token is set.
Outputs
id string
Image ID
Stable identifier Ceph assigned to the image.
name string
Image name
Name of the RBD image.
obj_size integer
Object size
Size of the RADOS objects backing the image, in bytes.
pool_name string
Pool name
Name of the pool the image belongs to.
size integer
Size
Size of the image in bytes.
snapshots array
Snapshots
Snapshots reported by the Dashboard API for the image. Empty when the image has no snapshots; absent when the Dashboard API does not report them.
io.kestra.plugin.ceph.rbd.snapshots.SnapshotInfo
Snapshot ID
Numeric identifier Ceph assigned to the snapshot.
Protected
Whether the snapshot is protected from deletion.
Snapshot name
Name of the snapshot.
Size
Size of the image at the time the snapshot was taken, in bytes.
Timestamp
When the snapshot was created, kept as the raw string the Ceph Dashboard API returns (e.g. Wed Jan 10 12: 00: 00 2026). The exact format is Ceph-version dependent, so it is not parsed into a typed instant here.