]> git.proxmox.com Git - ceph.git/blame - ceph/qa/suites/orch/cephadm/smoke-roleless/2-services/client-keyring.yaml
import ceph pacific 16.2.5
[ceph.git] / ceph / qa / suites / orch / cephadm / smoke-roleless / 2-services / client-keyring.yaml
CommitLineData
b3b6e05e
TL
1tasks:
2- cephadm.shell:
3 host.a:
4 - ceph orch host label add `hostname` foo
5 - ceph auth get-or-create client.foo mon 'allow r'
6 - ceph orch client-keyring set client.foo label:foo --mode 770 --owner 11111:22222
7- exec:
8 host.a:
9 - while ! test -e /etc/ceph/ceph.client.foo.keyring ; do sleep 1 ; done
10 - ls -al /etc/ceph/ceph.client.foo.keyring | grep rwxrwx---
11 - ls -al /etc/ceph/ceph.client.foo.keyring | grep 11111
12 - ls -al /etc/ceph/ceph.client.foo.keyring | grep 22222
13 - test -e /etc/ceph/ceph.conf
14- exec:
15 host.b:
16 - test ! -e /etc/ceph/ceph.client.foo.keyring
17- cephadm.shell:
18 host.b:
19 - ceph orch host label add `hostname` foo
20- exec:
21 host.b:
22 - while ! test -e /etc/ceph/ceph.client.foo.keyring ; do sleep 1 ; done
23 - ls -al /etc/ceph/ceph.client.foo.keyring | grep rwxrwx---
24 - ls -al /etc/ceph/ceph.client.foo.keyring | grep 11111
25 - ls -al /etc/ceph/ceph.client.foo.keyring | grep 22222
26- cephadm.shell:
27 host.b:
28 - ceph orch host label rm `hostname` foo
29- exec:
30 host.b:
31 - while test -e /etc/ceph/ceph.client.foo.keyring ; do sleep 1 ; done
32- exec:
33 host.a:
34 - test -e /etc/ceph/ceph.client.foo.keyring
35- cephadm.shell:
36 host.a:
37 - ceph orch client-keyring rm client.foo
38- exec:
39 host.a:
40 - while test -e /etc/ceph/ceph.client.foo.keyring ; do sleep 1 ; done