tests: adds a 1mon 1osd xenial test scenario

This sets up the osd using journal collocation

Signed-off-by: Andrew Schoen <aschoen@redhat.com>

Resolves: testing#updates
pull/1086/head
Andrew Schoen 2016-11-08 10:24:36 -06:00
parent a96d51fdfa
commit 4dd51ee3c6
5 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1 @@
../../../../../Vagrantfile

View File

@ -0,0 +1,13 @@
---
ceph_stable: True
public_network: "192.168.42.0/24"
cluster_network: "192.168.43.0/24"
journal_size: 100
devices:
- '/dev/sdb'
- '/dev/sdc'
journal_collocation: True
os_tuning_params:
- { name: kernel.pid_max, value: 4194303 }
- { name: fs.file-max, value: 26234859 }

View File

@ -0,0 +1,4 @@
---
os_tuning_params:
- { name: kernel.pid_max, value: 4194303 }
- { name: fs.file-max, value: 26234859 }

View File

@ -0,0 +1,5 @@
[mons]
mon0 monitor_interface=eth1
[osds]
osd0

View File

@ -0,0 +1,19 @@
# Basic information about ceph and its configuration
ceph = {
'releases': ['infernalis', 'jewel'],
'cluster_name': 'ceph'
}
# remote nodes to test, with anything specific to them that might be useful for
# tests to get. Each one of these can get requested as a py.test fixture to
# validate information.
nodes = {
'mon0': {
'username': 'vagrant',
'components': ['mon', 'mon_initial_members']
},
'osd0': {
'username': 'vagrant',
'components': ['mon', 'mon_initial_members']
}
}