Sébastien Han
b91d227b99
docker: make ceph docker osd script path
...
Since distro will not allow /usr/share to be writable (e.g: atomic) so
we let the operator decide where to put that script.
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-02-21 15:56:09 -05:00
Sébastien Han
7b216aa8e0
ci: add docker-cluster-dmcrypt-journal-collocation scenario
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-02-21 15:56:09 -05:00
Sébastien Han
7aabbc931d
tests: add scenario for dedicated-journal on docker
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-02-21 15:54:36 -05:00
Sébastien Han
6e9da95b33
ci: set replica count to 1 since we have a single osd
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-01-31 17:39:55 +01:00
Andrew Schoen
20705aa35a
tests/journal_collocation: adds testing values to ceph_conf_overrides
...
This gives test coverage to changes introduced in:
https://github.com/ceph/ceph-ansible/pull/1214
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-01-26 09:39:42 -06:00
Sébastien Han
48a8cd1a43
test: add tests for the client role
...
Here we test the client role.
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-01-20 12:22:18 +01:00
Sébastien Han
2d8ac4a586
docker: only use systemd to manage containers
...
Prior to this patch we had several ways to runs containers, we could use
ansible's docker module on some distro and on containers distros we were
using systemd. We strongly believe threating containers as services with
systemd is the right approach so this patch generalizes to all the
distros. These days most of the distros are running systemd so it's fair
assumption.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-12-16 19:37:05 +01:00
Sébastien Han
f0687995e1
common: add the name of the ceph conf file in the play
...
Just for clarity and because we can we now show the name of the
ceph configuration file that is generated.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-12-15 15:26:01 +01:00
Sébastien Han
a8ca0da5ad
test: add cluster name support test scenario
...
We need to test the cluster name support in this CI as well. This
commit might be prone to debate because it tests 2 things in a single
scenario. We first test our ability to deploy a cluster AND the cluster
name support. However it's easier to do it this way and will reduce the
amount of time for testingg. If we don't do this we will have a
duplicate those 2 existing tests into new ones 'only' to test the
cluster name support.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-12-15 15:26:01 +01:00
Andrew Schoen
55fee14bd0
tests: adds a docker: true var to the docker_cluster scenario
...
This lets the CI tests know that this scenario is using docker and
should skip certain tests.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-12-07 19:15:29 -06:00
Andrew Schoen
73705933c9
tests: with testinfra we don't need scenario.py files anymore
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-12-06 14:56:20 -06:00
Andrew Schoen
1574e8f4ab
tests: make centos7_cluster use three mons
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-12-01 17:27:09 -06:00
Andrew Schoen
155bcf5ae2
tests: rename the directory for centos7_cluster
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-12-01 16:59:27 -06:00
Andrew Schoen
9f887f6064
tests: remove unused group_vars/osds from docker_cluster
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-12-01 14:50:21 -06:00
Andrew Schoen
de711f2996
tests: docker_cluster does not need os_tuning_params
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-12-01 14:49:31 -06:00
Andrew Schoen
2223713525
tests: docker_cluster should run conf_tests
...
This also makes the conf_tests take the subnet as input
so multiple scenarios on differing subnets can use these tests.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-12-01 12:18:01 -06:00
Andrew Schoen
7abbab820e
tests: use journal_size in ceph_osd_docker_extra_env for docker_cluster
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-12-01 10:28:55 -06:00
Andrew Schoen
53a106a884
tests: remove unsued options from docker_cluster vagrant variables
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-12-01 10:28:55 -06:00
Andrew Schoen
330d64c541
tests: docker_cluster should use 3 mons
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-12-01 10:28:55 -06:00
Andrew Schoen
182f766cc4
tests: update the group_vars for docker_cluster
...
Fixes the monitor_interface and sets osd scenario config
options so the mandatory checks pass.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-12-01 10:28:54 -06:00
Andrew Schoen
11c13ad7c0
tests: adds a docker_cluster scenario
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-12-01 10:28:54 -06:00
Andrew Schoen
c7ea7f4e1e
tests: change the subnet on dmcrypt-journal-collocation
...
It was currently set conflicting with dmcrypt-journal
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-12-01 10:28:54 -06:00
Alfredo Deza
d0b2b13f4f
tests: specify the devices for OSDs in the scenario for collocation
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: colocated#tests
2016-11-29 10:05:49 -05:00
Andrew Schoen
138e5a9421
tests: change centos7-cluster to use raw_multi_journal
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-11-28 15:10:07 -06:00
Andrew Schoen
a05a1b9b0f
testing: change raw-multi-journal to journal-collocation
...
We want to test journal collocation here because we're gonna switch
xenial-cluster and centos7-cluster to use a dedicated journal.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-11-28 15:04:04 -06:00
Andrew Schoen
9a1863dd11
tests: make Vagrantfile a symlink for dmcrypt scenarios
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-11-28 12:06:25 -06:00
Andrew Schoen
c212162afb
tests: adds a scenario using OSD dmcrypt_journal_collocation
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-11-28 12:03:00 -06:00
Andrew Schoen
9f432bfb05
tests: adds a dmcrypt-dedicated-journal testing scenario
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-11-28 12:02:32 -06:00
Andrew Schoen
e3d45095d3
tests: rename the centos7-mon-osd scenario to raw-multi-journal
...
We really only need to test the raw-multi-journal OSD scenario on one
OS and it needed a better name to use with the CI.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-11-28 10:28:17 -06:00
Alfredo Deza
016a6624a7
testing: use the same sequence in the group_vars for every test scenario
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-11-18 13:20:59 -06:00
Alfredo Deza
b2af99f31b
testing: use a sequence in the subnets for every vagrant_variables.yml to avoid collisions
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-11-18 13:20:59 -06:00
Alfredo Deza
3c990d15c3
testing: disable vagrant sync folder add on centos 7 mon osd mds rgw scenario
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-11-15 07:53:22 -05:00
Alfredo Deza
193d61f90a
testing: disable vagrant sync folder add on centos 7 mon osd scenario
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-11-15 07:53:20 -05:00
Alfredo Deza
46bb2a803a
testing: add comment for ceph vagrant boxes on centos 7 mon osd scenario
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-11-15 07:53:09 -05:00
Alfredo Deza
ef948dbc02
testing: add comment for ceph vagrant boxes on centos 7 mon osd mds rgw scenario
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-11-15 07:53:07 -05:00
Andrew Schoen
ca68d7ce17
tests: make the centos7-mon-osd scenario use raw_multi_journal
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: vagrant#boxes
2016-11-10 12:05:23 -06:00
Andrew Schoen
588aa8d8f3
tests: adds a scenario for a centos7 1mon 1osd 1mds 1rgw cluster
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: vagrant#boxes
2016-11-10 12:05:23 -06:00
Andrew Schoen
0522d32e7e
tests: change the centos box to centos/7
...
This box supports both libvirt and virtualbox. Eventually we want to
be building our own boxes but this should work in the short term.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-11-08 16:49:26 -06:00
Andrew Schoen
df59ec6fae
tests: adds the vagrant_variables.yml that were previously ignored
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates
2016-11-08 12:37:05 -06:00
Andrew Schoen
44503487c5
tests: adds a 1mon 1osd centos7 test scenario
...
This uses journal collocation for the osd.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates
2016-11-08 12:37:04 -06:00