charm-ceph-osd/actions.yaml

87 lines
2.5 KiB
YAML

# NOTE(fnordahl): Output of `juju list-action` is at time of this writing
# formatted in such a way that we should keep description
# as terse as possible and refer to documentation elsewhere.
#
# Verify with `juju list-action` before proposing/committing
# changes.
pause:
description: |
\
USE WITH CAUTION - Mark unit OSDs as 'out'.
Documentation: https://jujucharms.com/ceph-osd/
resume:
description: |
\
Set the local osd units in the charm to 'in'.
Documentation: https://jujucharms.com/ceph-osd/
list-disks:
description: |
\
List disks.
Documentation: https://jujucharms.com/ceph-osd/
add-disk:
description: |
\
Add disk(s) to Ceph.
Documentation: https://jujucharms.com/ceph-osd/
params:
osd-devices:
type: string
description: The devices to format and set up as osd volumes.
bucket:
type: string
description: The name of the bucket in Ceph to add these devices into
required:
- osd-devices
blacklist-add-disk:
description: |
\
Add disk(s) to blacklist.
Documentation: https://jujucharms.com/ceph-osd/
params:
osd-devices:
type: string
description: |
A space-separated list of devices to add to blacklist.
.
Each element should be a absolute path to a device node or filesystem
directory (the latter is supported for ceph >= 0.56.6).
.
Example: '/dev/vdb /var/tmp/test-osd'
required:
- osd-devices
blacklist-remove-disk:
description: |
\
Remove disk(s) from blacklist.
Documentation: https://jujucharms.com/ceph-osd/
params:
osd-devices:
type: string
description: |
A space-separated list of devices to remove from blacklist.
.
Each element should be a existing entry in the units blacklist.
Use list-disks action to list current blacklist entries.
.
Example: '/dev/vdb /var/tmp/test-osd'
required:
- osd-devices
zap-disk:
description: |
\
USE WITH CAUTION - Purge disk of all data and signatures for use by Ceph.
Documentation: https://jujucharms.com/ceph-osd/
params:
devices:
type: string
description: |
A space-separated list of devices to remove the partition table from.
i-really-mean-it:
type: boolean
description: |
This must be toggled to enable actually performing this action
required:
- devices
- i-really-mean-it