Add osds argument to the osd-in/osd-out action
The `osds` parameter has been copied from function start/stop to preserve the same functionality. By default, osd-in/osd-out needs list of IDs as an argument or it will not do anything (previously, it applied the change to all the osds). It's possible to take in/out *all* with provided `osds` parameter as `all`. Closes-Bug: #1910150 Change-Id: I0275f015e2d0bbbb661d2b7dea59c320ba6c021c
This commit is contained in:
10
actions.yaml
10
actions.yaml
@@ -9,11 +9,21 @@ osd-out:
|
||||
\
|
||||
USE WITH CAUTION - Mark unit OSDs as 'out'.
|
||||
Documentation: https://jaas.ai/ceph-osd/
|
||||
params:
|
||||
osds:
|
||||
description: A comma-separated list of OSD IDs to start (or keyword 'all')
|
||||
required:
|
||||
- osds
|
||||
osd-in:
|
||||
description: |
|
||||
\
|
||||
Set the local osd units in the charm to 'in'.
|
||||
Documentation: https://jaas.ai/ceph-osd/
|
||||
params:
|
||||
osds:
|
||||
description: A comma-separated list of OSD IDs to start (or keyword 'all')
|
||||
required:
|
||||
- osds
|
||||
list-disks:
|
||||
description: |
|
||||
\
|
||||
|
||||
Reference in New Issue
Block a user