From: Andrew Schoen Date: Thu, 1 Dec 2016 22:46:05 +0000 (-0600) Subject: tests: add 2 more mons to xenial_cluster X-Git-Tag: v2.1.0~31^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5b9cb48774416211c8a4a803db26a88d8a0a011a;p=ceph-ansible.git tests: add 2 more mons to xenial_cluster Signed-off-by: Andrew Schoen --- diff --git a/tests/functional/ubuntu/16.04/mon-osd-mds-rgw/hosts b/tests/functional/ubuntu/16.04/mon-osd-mds-rgw/hosts index 356860f9b..b87a69737 100644 --- a/tests/functional/ubuntu/16.04/mon-osd-mds-rgw/hosts +++ b/tests/functional/ubuntu/16.04/mon-osd-mds-rgw/hosts @@ -1,5 +1,7 @@ [mons] -mon0 monitor_interface=eth1 +mon0 monitor_address=192.168.5.10 +mon1 monitor_address=192.168.5.11 +mon2 monitor_interface=eth1 [osds] osd0 diff --git a/tests/functional/ubuntu/16.04/mon-osd-mds-rgw/scenario.py b/tests/functional/ubuntu/16.04/mon-osd-mds-rgw/scenario.py index 4597b589f..61e80611a 100644 --- a/tests/functional/ubuntu/16.04/mon-osd-mds-rgw/scenario.py +++ b/tests/functional/ubuntu/16.04/mon-osd-mds-rgw/scenario.py @@ -1,7 +1,8 @@ # Basic information about ceph and its configuration ceph = { 'releases': ['infernalis', 'jewel'], - 'cluster_name': 'ceph' + 'cluster_name': 'ceph', + 'subnet': '192.168.5', } # remote nodes to test, with anything specific to them that might be useful for @@ -10,7 +11,15 @@ ceph = { nodes = { 'mon0': { 'username': 'vagrant', - 'components': ['mon', 'mon_initial_members'] + 'components': ['conf_tests'] + }, + 'mon1': { + 'username': 'vagrant', + 'components': ['conf_tests'] + }, + 'mon2': { + 'username': 'vagrant', + 'components': ['conf_tests'] }, 'osd0': { 'username': 'vagrant', diff --git a/tests/functional/ubuntu/16.04/mon-osd-mds-rgw/vagrant_variables.yml b/tests/functional/ubuntu/16.04/mon-osd-mds-rgw/vagrant_variables.yml index 15e4c038f..f894771c0 100644 --- a/tests/functional/ubuntu/16.04/mon-osd-mds-rgw/vagrant_variables.yml +++ b/tests/functional/ubuntu/16.04/mon-osd-mds-rgw/vagrant_variables.yml @@ -4,7 +4,7 @@ docker: false # DEFINE THE NUMBER OF VMS TO RUN -mon_vms: 1 +mon_vms: 3 osd_vms: 1 mds_vms: 1 rgw_vms: 1