Sébastien Han
bb57238115
Merge pull request #1139 from ceph/last-cleanup-apache
...
common: remove apache file
2016-12-01 11:04:48 +01:00
Sébastien Han
20a11a3111
common: remove apache file
...
we recently dropped the support for apache with rgw, so this commit
removes the last remaining file.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-12-01 11:02:31 +01:00
Sébastien Han
75d0c5d4fd
Merge pull request #1135 from guits/master
...
Add gluster nfs ganesha repo only for Ubuntu
2016-11-30 17:17:48 +01:00
Guillaume Abrioux
c4b972cfd7
Add gluster nfs ganesha repo only for Ubuntu
...
According to the official documentation, adding PPA is not available for Debian.
2016-11-30 16:50:52 +01:00
Sébastien Han
153837c195
Merge pull request #1125 from guits/master
...
Use 'package' module instead of yum, apt and dnf
2016-11-30 15:50:23 +01:00
Sébastien Han
945525934e
Merge pull request #1131 from guits/refact_code
...
Refact temporary vars in ceph-common defaults.
2016-11-30 15:46:15 +01:00
Guillaume Abrioux
07b953f420
Refact temporary vars in ceph-common defaults.
...
These variables were defined here to be sure that
`roles/ceph-common/tasks/checks/check_mandatory_vars.yml` has all variables defined.
2016-11-30 14:36:56 +01:00
Andrew Schoen
c3cda79738
Merge pull request #1132 from ktdreyer/no-ceph-extra
...
rm ceph-extra.repo and redhat_distro_ceph_extra variable
2016-11-29 16:21:51 -06:00
Ken Dreyer
9f0b3ceb6b
rm ceph-extra.repo and redhat_distro_ceph_extra variable
...
We removed the "apache" setting for "radosgw_frontend" in
adfdf6871e
.
As part of that change, we removed the final references to
ceph-extra.repo, but I failed to clean up this file itself.
Now that nothing uses this file, delete it.
This file contained the sole reference to redhat_distro_ceph_extra, so
we can drop that variable as well.
2016-11-29 14:42:34 -07:00
Andrew Schoen
91ed7049b9
Merge pull request #1130 from ceph/colocated-tests
...
initial pass on tests for collocated journals
2016-11-29 15:40:25 -06:00
Alfredo Deza
10df63dcf9
tests: use underscores to prevent tox combinatorial issues
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: colocated#tests
2016-11-29 16:08:42 -05:00
Guillaume Abrioux
76220ed719
Use 'package' module instead of yum, apt and dnf
...
Refactor the code using 'package' module
Fix Issue #520
(However it doesn't cover all cases because some cases are not refactorable.
Ex: because of diverging packages name between distribution)
2016-11-29 17:29:11 +01: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
Alfredo Deza
e7f734a082
tests: create tests for collocated journals
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: colocated#tests
2016-11-29 10:05:16 -05:00
Sébastien Han
3bdae23e42
contrib: untrap before calling popd
...
we need to untrap before calling popd if the script is being run from a
directory different than the git repo. popd will go back to the previous
directory and trap will execute reset_hard_origin function on EXIT.
If we are not in the righ directory, this will fail.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-11-28 23:22:49 +01:00
Alfredo Deza
9924712a36
Merge pull request #1127 from ceph/osd-scenarios
...
testing dmcrypt OSD scenarios
2016-11-28 16:47:50 -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
eae3463a9e
tests: change xenial-cluster to use raw_multi_journal
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-11-28 15:05:48 -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
c6e96897ba
testing: rename the dmcrypt-dedicated-journal to dmcrypt-journal
...
We're going to assume all scenarios use a dedicated journal unless
otherwise specified.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-11-28 14:58:09 -06:00
Sébastien Han
34a59695f8
contrib: don't fetch tags since we push force
...
reverting 4be9c52baf
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-11-28 19:07:52 +01: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
Sébastien Han
eb22286452
contrib: use push force because of the CI
...
If we don't force push we won't be able to push new content from
jenkins.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-11-28 18:54:14 +01: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
Sébastien Han
4be9c52baf
contrib: do a fetch all so we don't push force
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-11-28 16:46:30 +01:00
Sébastien Han
ace0ec4ebc
Merge pull request #1124 from ceph/galaxy
...
contrib: It doesn't make sense to pull all tags
2016-11-28 15:14:44 +01:00
Sébastien Han
0530ff86f9
contrib: It doesn't make sense to pull all tags
...
On certain git versions running: git pull origin --tags ends up with the
following error: It doesn't make sense to pull all tags; you probably
meant: git fetch --tags
So removing the --tags since later in the execution we do a git fetch
--tags
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-11-28 15:12:40 +01:00
Sébastien Han
9281a564f2
Merge pull request #1123 from ceph/galaxy
...
contrib: add a goto basedir function
2016-11-28 14:35:35 +01:00
Sébastien Han
e9de87d66b
contrib: add a goto basedir function
...
This way if the script is not executed from the git directory we jump
into it, do our stuff and then go back to the dir where the user was.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-11-28 14:27:28 +01:00
Sébastien Han
06c75c6939
Merge pull request #1121 from D3N14L/master
...
Reviewed all roles and site.yml.sample and added "always_run: true" where appropriate
2016-11-28 10:26:15 +01:00
Daniel Marks
74cf3532a9
Better --check compatibility for ceph-rgw role
...
Carefully chosen "always_run: true" parameters for read-only tasks that
register variables. This enables --check runs (at least on deployed
clusters).
2016-11-27 15:00:10 +01:00
Daniel Marks
4c76001961
Better --check compatibility for ceph-restapi role
...
Carefully chosen "always_run: true" parameters for read-only tasks that
register variables. This enables --check runs (at least on deployed
clusters).
2016-11-27 15:00:10 +01:00
Daniel Marks
404ad8f484
Better --check compatibility for ceph-rbd-mirror role
...
Carefully chosen "always_run: true" parameters for read-only tasks that
register variables. This enables --check runs (at least on deployed
clusters).
2016-11-27 15:00:10 +01:00
Daniel Marks
ba0f16f485
Better --check compatibility for ceph-osd role
...
Carefully chosen "always_run: true" parameters for read-only tasks that
register variables. This enables --check runs (at least on deployed
clusters).
2016-11-27 15:00:10 +01:00
Daniel Marks
444c8fad40
Better --check compatibility for ceph-nfs role
...
Carefully chosen "always_run: true" parameters for read-only tasks that
register variables. This enables --check runs (at least on deployed
clusters).
2016-11-26 21:31:56 +01:00
Daniel Marks
9337b19ac0
Better --check compatibility for ceph-mon role
...
Carefully chosen "always_run: true" parameters for read-only tasks that
register variables. This enables --check runs (at least on deployed
clusters).
2016-11-26 21:05:32 +01:00
Daniel Marks
7b1dbbbdf8
Better --check compatibility for ceph-mds role
...
Carefully chosen "always_run: true" parameters for read-only tasks that
register variables. This enables --check runs (at least on deployed
clusters).
2016-11-26 20:52:24 +01:00
Daniel Marks
7371e9a668
Better --check compatibility for ceph-fetch-keys role
...
Carefully chosen "always_run: true" parameters for read-only tasks that
register variables. This enables --check runs (at least on deployed
clusters).
2016-11-26 20:42:08 +01:00
Daniel Marks
c561d2635e
Better --check compatibility for ceph-common role
...
Carefully chosen "always_run: true" parameters for read-only tasks that
register variables. This enables --check runs (at least on deployed
clusters).
2016-11-26 20:39:12 +01:00
Daniel Marks
2e50e5ba88
Better --check compatibility for ceph-common-coreos role
...
Carefully chosen "always_run: true" parameters for read-only tasks that
register variables. This enables --check runs (at least on deployed
clusters).
2016-11-26 17:48:06 +01:00
Daniel Marks
767c5c1c86
Better --check compatibility for ceph-agent role
...
Carefully chosen "always_run: true" parameters for read-only tasks that
register variables. This enables --check runs (at least on deployed
clusters).
2016-11-26 17:35:57 +01:00
Sébastien Han
0753e6e3bf
Merge pull request #1102 from Logan2211/fix-default-syntax
...
Fix jinja defaulting syntax
2016-11-25 16:07:34 +01:00
Sébastien Han
69a2ed4847
Merge pull request #1118 from guits/master
...
[shrink-mon]: force playbook to fail if there is only one mon
2016-11-25 11:21:51 +01:00
Guillaume Abrioux
b2b7222b3a
[shrink-mon]: force playbook to fail if there is only one mon
...
The playbook will fail if only 1 mon is in the cluster
and advise to use the `purge-cluster` playbook instead.
Fix #1083
2016-11-25 11:20:11 +01:00
Logan V
684a513258
Fix jinja defaulting syntax
...
a397922
introduced a syntax error by attempting to default an unquoted
string, which causes execution failures on some ansible versions with:
Failed to template {{ ceph_rhcs_mount_path }}: Failed to template {{ ceph_stable_rh_storage_mount_path | default(/tmp/rh-storage-mount) }}: template error while templating string: unexpected '/'
2016-11-24 17:47:49 -06:00
Sébastien Han
78b6ae7dae
Merge pull request #1117 from D3N14L/master
...
Improve --check compatibility for ceph-common, ceph-mon and ceph-rgw roles
2016-11-24 16:43:15 +01:00
Sébastien Han
25b04feff8
Merge pull request #1113 from guits/master
...
All `include_vars` need to have `*.yml`, `*.yaml` or `*.json` extension.
2016-11-24 15:19:29 +01:00
Guillaume Abrioux
a680707f6f
All `include_vars` need to have `*.yml`, `*.yaml` or `*.json` extension.
...
As introduced in the following PR:
- https://github.com/ansible/ansible/pull/17207
we need to refactor our code.
2016-11-24 14:03:49 +01:00