mirror of https://github.com/ceph/ceph-ansible.git
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#updatespull/1086/head
parent
a96d51fdfa
commit
4dd51ee3c6
|
@ -0,0 +1 @@
|
|||
../../../../../Vagrantfile
|
|
@ -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 }
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
os_tuning_params:
|
||||
- { name: kernel.pid_max, value: 4194303 }
|
||||
- { name: fs.file-max, value: 26234859 }
|
|
@ -0,0 +1,5 @@
|
|||
[mons]
|
||||
mon0 monitor_interface=eth1
|
||||
|
||||
[osds]
|
||||
osd0
|
|
@ -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']
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue