summaryrefslogtreecommitdiffstats
path: root/qa/workunits/mgr/test_per_module_finisher.sh
blob: dc66bce23b1eae88ed06eb91fa79ef0b4b3410f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/env bash
set -ex

# This testcase tests the per module finisher stats for enabled modules
# using check counter (qa/tasks/check_counter.py).

# 'balancer' commands
ceph balancer pool ls

# 'crash' commands
ceph crash ls
ceph crash ls-new

# 'device' commands
ceph device query-daemon-health-metrics mon.a

# 'iostat' command
ceph iostat &
pid=$!
sleep 3
kill -SIGTERM $pid

# 'pg_autoscaler' command
ceph osd pool autoscale-status

# 'progress' command
ceph progress
ceph progress json

# 'status' commands
ceph fs status
ceph osd status

# 'telemetry' commands
ceph telemetry status
ceph telemetry diff

echo OK