mirror of
https://github.com/ceph/ceph
synced 2025-02-21 09:57:26 +00:00
Merge pull request #12610 from tmuthamizhan/wip-ansible-suite
qa/suite: Added a smoke suite for ceph-ansible Reviewed-by: Yuri Weinstein <yweins@redhat.com>
This commit is contained in:
commit
dd51d2e09b
@ -1,6 +0,0 @@
|
||||
meta:
|
||||
- desc: "3-node cluster"
|
||||
roles:
|
||||
- [mon.a, mds.a, osd.0, osd.1, client.0]
|
||||
- [mon.b, mds.b, osd.2, osd.3]
|
||||
- [mon.c, mds.c, osd.4, osd.5]
|
@ -1,4 +0,0 @@
|
||||
meta:
|
||||
- desc: "1-node cluster"
|
||||
roles:
|
||||
- [mon.a, osd.0, client.0]
|
@ -1 +0,0 @@
|
||||
../../../distros/supported
|
@ -1,19 +0,0 @@
|
||||
meta:
|
||||
- desc: "Build the cluster using ceph-ansible; then check health and make the keyring readable"
|
||||
tasks:
|
||||
- ceph_ansible:
|
||||
- exec:
|
||||
mon.a:
|
||||
- "sudo ceph health"
|
||||
- exec:
|
||||
all:
|
||||
- "KEYRING=/etc/ceph/ceph.client.admin.keyring; test -f $KEYRING && sudo chmod o+r $KEYRING"
|
||||
- install.ship_utilities:
|
||||
overrides:
|
||||
ceph_ansible:
|
||||
vars:
|
||||
ceph_test: true
|
||||
openstack:
|
||||
- volumes:
|
||||
count: 3
|
||||
size: 20 # GB
|
@ -1,6 +0,0 @@
|
||||
meta:
|
||||
- desc: "Set os_tuning_params to values that are safe for VMs"
|
||||
overrides:
|
||||
ceph_ansible:
|
||||
vars:
|
||||
os_tuning_params: '[{"name": "kernel.pid_max", "value": 4194303},{"name": "fs.file-max", "value": 26234859}]'
|
@ -1,7 +0,0 @@
|
||||
meta:
|
||||
- desc: "Use a stable upstream Ceph release"
|
||||
overrides:
|
||||
ceph_ansible:
|
||||
vars:
|
||||
ceph_origin: upstream
|
||||
ceph_stable: true
|
@ -1,6 +0,0 @@
|
||||
meta:
|
||||
- desc: "Have teuthology tell ceph-ansible which OSD devices to use"
|
||||
overrides:
|
||||
ceph_ansible:
|
||||
vars:
|
||||
osd_auto_discovery: false
|
@ -1,6 +0,0 @@
|
||||
meta:
|
||||
- desc: "Tell ceph-ansible to discover OSD devices automatically"
|
||||
overrides:
|
||||
ceph_ansible:
|
||||
vars:
|
||||
osd_auto_discovery: true
|
@ -1,7 +0,0 @@
|
||||
meta:
|
||||
- desc: "Use a collocated journal"
|
||||
overrides:
|
||||
ceph_ansible:
|
||||
vars:
|
||||
journal_collocation: true
|
||||
journal_size: 1024
|
@ -0,0 +1,6 @@
|
||||
meta:
|
||||
- desc: "3-node cluster"
|
||||
roles:
|
||||
- [mon.a, mds.a, osd.0, osd.1, osd.2]
|
||||
- [mon.b, osd.3, osd.4, osd.5]
|
||||
- [mon.c, osd.6, osd.7, osd.8, client.0]
|
@ -0,0 +1,2 @@
|
||||
os_type: centos
|
||||
os_version: "7.2"
|
@ -0,0 +1,2 @@
|
||||
os_type: ubuntu
|
||||
os_version: "14.04"
|
@ -0,0 +1,2 @@
|
||||
os_type: ubuntu
|
||||
os_version: "16.04"
|
@ -0,0 +1,23 @@
|
||||
meta:
|
||||
- desc: "Build the ceph cluster using ceph-ansible"
|
||||
|
||||
overrides:
|
||||
ceph_ansible:
|
||||
vars:
|
||||
ceph_conf_overrides:
|
||||
global:
|
||||
osd default pool size: 2
|
||||
mon pg warn min per osd: 2
|
||||
ceph_dev: true
|
||||
ceph_dev_branch: jewel
|
||||
ceph_dev_key: https://download.ceph.com/keys/autobuild.asc
|
||||
ceph_origin: upstream
|
||||
ceph_test: true
|
||||
journal_collocation: true
|
||||
journal_size: 1024
|
||||
osd_auto_discovery: false
|
||||
|
||||
tasks:
|
||||
- ssh-keys:
|
||||
- ceph_ansible:
|
||||
- install.ship_utilities:
|
@ -0,0 +1,8 @@
|
||||
meta:
|
||||
- desc: "Run the cephfs blogbench tests"
|
||||
tasks:
|
||||
- ceph-fuse:
|
||||
- workunit:
|
||||
clients:
|
||||
all:
|
||||
- suites/blogbench.sh
|
Loading…
Reference in New Issue
Block a user