1e0c6548b8
The actions pause and resume actually take all osds on a unit out of the cluster. This is incredibly misleading. This change renames to osd-out and osd-in to better describe what the actions actually do. Change-Id: I76793999f5d3382563eff308a5d7c4db18d065a0 Closes-Bug: #1793507
87 lines
2.5 KiB
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.
|
|
osd-out:
|
|
description: |
|
|
\
|
|
USE WITH CAUTION - Mark unit OSDs as 'out'.
|
|
Documentation: https://jujucharms.com/ceph-osd/
|
|
osd-in:
|
|
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
|