Ceph CreateBucket

Ceph CreateBucket

Certified

Create an RGW bucket

Calls POST /api/rgw/bucket and returns the resulting bucket. Some Ceph versions process bucket creation asynchronously via the Dashboard task manager, so the follow-up fetch may briefly 404 right after the POST; this task retries it for up to ~10 seconds (10 attempts, 1s apart) before failing.

yaml
type: io.kestra.plugin.ceph.rgw.CreateBucket

Create an RGW bucket owned by an existing user

yaml
id: create_rgw_bucket
namespace: company.team

tasks:
  - id: create_bucket
    type: io.kestra.plugin.ceph.rgw.CreateBucket
    host: "ceph-mgr.internal"
    username: "admin"
    password: "{{ secret('CEPH_DASHBOARD_PASSWORD') }}"
    bucketName: "backups"
    owner: "svc-backups"
Properties

Bucket name

Name of the bucket to create.

Ceph Dashboard host

Hostname or IP address of the Ceph Manager Dashboard. Must be reachable from the Kestra worker.

Owner

UID of the RGW user that owns the bucket.

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.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset 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.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150

Password

Password for the Ceph Dashboard account. Never logged. Required unless token is set; ignored otherwise.

Default8443

Ceph Dashboard port

TCP port of the Ceph Manager Dashboard REST API. Defaults to 8443.

Defaultfalse

Skip 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.

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

Ceph Dashboard account used to obtain a session token from POST /api/auth. Required unless token is set.

Bucket name

Name of the bucket.

Bucket ID

Internal identifier Ceph assigned to the bucket.

Owner

UID of the RGW user that owns the bucket.