tests: Add debug to ceph-override.json

It's usefull to have logs in debug mode enabled in order to have
more information for developpers.
Also reindent to json file.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit d25af1b872)
pull/3854/head
Dimitri Savineau 2019-04-09 12:20:35 -04:00 committed by mergify[bot]
parent e3e6285aa9
commit f3785ef7dd
2 changed files with 24 additions and 19 deletions

View File

@ -2,7 +2,12 @@
"ceph_conf_overrides": { "ceph_conf_overrides": {
"global": { "global": {
"osd_pool_default_pg_num": 12, "osd_pool_default_pg_num": 12,
"osd_pool_default_size": 1 "osd_pool_default_size": 1,
"debug_ms": 20
},
"osd": {
"debug_bluefs": 20,
"debug_bluestore": 20
} }
}, },
"cephfs_pools": [ "cephfs_pools": [

View File

@ -60,7 +60,7 @@ commands=
ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/tests/functional/lvm_setup.yml ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/tests/functional/lvm_setup.yml
# set up the cluster again # set up the cluster again
ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars "\ ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars @ceph-override.json --extra-vars "\
ceph_stable_release={env:CEPH_STABLE_RELEASE:luminous} \ ceph_stable_release={env:CEPH_STABLE_RELEASE:luminous} \
fetch_directory={env:FETCH_DIRECTORY:{changedir}/fetch} \ fetch_directory={env:FETCH_DIRECTORY:{changedir}/fetch} \
ceph_docker_registry={env:CEPH_DOCKER_REGISTRY:docker.io} \ ceph_docker_registry={env:CEPH_DOCKER_REGISTRY:docker.io} \