add actions from ceph charm

This commit is contained in:
Chris MacNaughton 2016-01-31 10:41:45 +01:00
parent 2bac24b736
commit a0482d8841
3 changed files with 16 additions and 0 deletions

4
actions.yaml Normal file
View File

@ -0,0 +1,4 @@
pause:
description: Pause ceph health operations
resume:
description: Resume ceph health operations

6
actions/pause Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
set -eux
ceph osd set nodown
ceph osd set noout

6
actions/resume Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
set -eux
ceph osd unset nodown
ceph osd unset noout