]> git.proxmox.com Git - ceph.git/blob - ceph/qa/workunits/test_telemetry_pacific.sh
bump version to 18.2.2-pve1
[ceph.git] / ceph / qa / workunits / test_telemetry_pacific.sh
1 #!/bin/bash -ex
2
3 # Set up ident details for cluster
4 ceph config set mgr mgr/telemetry/channel_ident true
5 ceph config set mgr mgr/telemetry/organization 'ceph-qa'
6 ceph config set mgr mgr/telemetry/description 'upgrade test cluster'
7
8 # Opt-in
9 ceph telemetry on --license sharing-1-0
10
11 # Check last_opt_revision
12 LAST_OPT_REVISION=$(ceph config get mgr mgr/telemetry/last_opt_revision)
13 if [ $LAST_OPT_REVISION -ne 3 ]; then
14 echo "last_opt_revision is incorrect."
15 exit 1
16 fi
17
18 # Check reports
19 ceph telemetry show
20 ceph telemetry show-device
21 ceph telemetry show-all
22
23 echo OK