mirror of
https://github.com/ceph/ceph
synced 2024-12-12 14:39:05 +00:00
0a8c11d172
`rest/test-restful.sh` calls `test_mgr_rest_api.py`, which in turn calls ``` ('patch', '/config/osd', {'pause': True}), ``` and rest module translates it to `ceph osd set key=pause` Signed-off-by: Kefu Chai <kchai@redhat.com>
31 lines
623 B
YAML
31 lines
623 B
YAML
openstack:
|
|
- volumes: # attached to each instance
|
|
count: 3
|
|
size: 10 # GB
|
|
roles:
|
|
- [mon.a, mgr.x, osd.0, osd.1, osd.2, mds.a, client.a]
|
|
tasks:
|
|
- install:
|
|
- ceph:
|
|
log-whitelist:
|
|
- overall HEALTH_
|
|
- \(MGR_DOWN\)
|
|
- \(PG_
|
|
- \(OSD_
|
|
- \(OBJECT_
|
|
- \(OSDMAP_FLAGS\)
|
|
- exec:
|
|
mon.a:
|
|
- ceph restful create-key admin
|
|
- ceph restful create-self-signed-cert
|
|
- ceph restful restart
|
|
- workunit:
|
|
clients:
|
|
client.a:
|
|
- rest/test-restful.sh
|
|
- exec:
|
|
mon.a:
|
|
- ceph restful delete-key admin
|
|
- ceph restful list-keys | jq ".admin" | grep null
|
|
|