]>
git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
Andrew Schoen [Mon, 5 Dec 2016 22:27:19 +0000 (16:27 -0600)]
tests: with testinfra we don't need scenario.py files anymore
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 5 Dec 2016 22:23:15 +0000 (16:23 -0600)]
tests: tests for collocated journals
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 5 Dec 2016 22:21:52 +0000 (16:21 -0600)]
tests: add a journal_collocation tag to collocated journal tests
The test will be skipped if journal_collocation is not True in the
group_vars for the scenario.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 5 Dec 2016 22:21:10 +0000 (16:21 -0600)]
tests: ensure ceph-mon is installed on mons
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 5 Dec 2016 21:54:11 +0000 (15:54 -0600)]
tests: make sure all osds are mounted
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 5 Dec 2016 21:05:23 +0000 (15:05 -0600)]
tests: adds some basic tests for OSD nodes
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 5 Dec 2016 21:03:44 +0000 (15:03 -0600)]
testing: CephNode should return osd_ids
This is an empty list on anything but an OSD node. These ids will be
used for further OSD testing.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 5 Dec 2016 18:07:53 +0000 (12:07 -0600)]
tests: remove test files that are not used anymore
These tests have been replaced by the ones in test_install.py
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 5 Dec 2016 18:06:46 +0000 (12:06 -0600)]
tests: test ceph.conf using testinfra modules
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 5 Dec 2016 16:07:04 +0000 (10:07 -0600)]
tests: ensure tests marked with 'all' run on every node
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 5 Dec 2016 15:47:33 +0000 (09:47 -0600)]
tests: the CephNode fixture should provide the cluster subnet
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Sun, 4 Dec 2016 02:10:35 +0000 (20:10 -0600)]
tests: tests mon services to ensure they are running correctly
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Sun, 4 Dec 2016 02:09:37 +0000 (20:09 -0600)]
tests: run testinfra with --sudo
It needs this so that the modules can use sudo
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Sun, 4 Dec 2016 02:08:53 +0000 (20:08 -0600)]
tests: run the setup.yml playbook with tox
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Sun, 4 Dec 2016 02:02:05 +0000 (20:02 -0600)]
tests: include a playbook to install net-tools for socket checks
This playbook could be used in the future to install anything else we
need on these nodes for testing purposes.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Sun, 4 Dec 2016 02:01:30 +0000 (20:01 -0600)]
tests: return address and ansible vars from CephNode
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Sat, 3 Dec 2016 14:10:54 +0000 (08:10 -0600)]
tests: port tests/functional/test_install.py to use testinfra fixtures
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Sat, 3 Dec 2016 14:07:09 +0000 (08:07 -0600)]
tests: change conftest.py to support dynamic markers and test selection
This applies correct markers to tests depending on their file path.
Tests that live at the root of tests/functional/tests will be given a
marker of 'all' and apply to any type of ceph node.
Tests that live in tests/functional/tests/mon will get the
'mons' marker and will only run for nodes in the 'mons' group.
Tests that live in tests/functional/tests/osd will get the 'osds'
marker and will only run for nodes in the 'osds' group.
All tests must use the CephNode fixture for this to work and be
parameterized by testinfra.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Sat, 3 Dec 2016 14:06:20 +0000 (08:06 -0600)]
tests: use testinfra in tox.ini instead of pytest directly
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Sébastien Han [Tue, 6 Dec 2016 15:04:52 +0000 (16:04 +0100)]
Merge pull request #1155 from ceph/take-over-fix
take-over: use more precise ceph.conf detection
Sébastien Han [Tue, 6 Dec 2016 14:02:49 +0000 (15:02 +0100)]
take-over: use more precise ceph.conf detection
Prior to this patch we were just looking for any *.conf file which
sometimes could results in multiple matches. The new command looks for a
.conf file that must contain [global] and 'fsid' patterns. This will
definitely get us the ceph.conf file. We can not directly use ceph.conf
because of a different cluster name.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Tue, 6 Dec 2016 09:19:23 +0000 (10:19 +0100)]
Merge pull request #1152 from ceph/gitignore-travis
Gitignore travis
Sébastien Han [Thu, 1 Dec 2016 15:34:03 +0000 (16:34 +0100)]
git: update gitignore
* ignore yml files in general
* refactor based on commit
f8e043b6ea5ac4e886532d4f2f675c507b44b955 that
changed directory layouts
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit
ec5c6f5da566611c4e0b88f925cbd26dc90368d6 )
Sébastien Han [Thu, 1 Dec 2016 15:28:56 +0000 (16:28 +0100)]
ci: remove travis
since now we have the ceph CI taking care of the syntax check we don't
need travis anymore. Thanks Travis you served us well!
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit
9fbe65cb72e01c586af3a27788c8e3e9549e0abf )
Sébastien Han [Mon, 5 Dec 2016 09:14:58 +0000 (10:14 +0100)]
Merge pull request #1144 from yanshanchen/fix-shrink-osd-regex
the pattern in regex_replace is not right when the pid of osd is bigger than 9999
chenyanshan [Mon, 5 Dec 2016 05:40:38 +0000 (13:40 +0800)]
this patch fix the regex pattern in infrastructure-playbooks/shrink-osd.yml when the osd's pid num is bigger than 9999
Signed-off-by: chenyanshan <yanshanchen@139.com>
Alfredo Deza [Fri, 2 Dec 2016 15:27:05 +0000 (10:27 -0500)]
Merge pull request #1141 from ceph/more-mons
centos7_cluster and xenial_cluster scenarios should use 3 mons
Andrew Schoen [Thu, 1 Dec 2016 23:27:09 +0000 (17:27 -0600)]
tests: make centos7_cluster use three mons
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 1 Dec 2016 22:59:27 +0000 (16:59 -0600)]
tests: rename the directory for centos7_cluster
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 1 Dec 2016 22:56:06 +0000 (16:56 -0600)]
tests: removes unused xenial_conf_tests and xenial_mon_osd scenarios
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 1 Dec 2016 22:48:06 +0000 (16:48 -0600)]
tests: rename the directory for xenial_cluster
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 1 Dec 2016 22:46:05 +0000 (16:46 -0600)]
tests: add 2 more mons to xenial_cluster
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Ivan Font [Thu, 1 Dec 2016 21:56:54 +0000 (13:56 -0800)]
Merge pull request #1138 from ceph/docker-scenario
tests: adds a docker_cluster scenario
Andrew Schoen [Thu, 1 Dec 2016 20:50:21 +0000 (14:50 -0600)]
tests: remove unused group_vars/osds from docker_cluster
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 1 Dec 2016 20:49:31 +0000 (14:49 -0600)]
tests: docker_cluster does not need os_tuning_params
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 1 Dec 2016 17:12:46 +0000 (11:12 -0600)]
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>
Andrew Schoen [Thu, 1 Dec 2016 16:27:48 +0000 (10:27 -0600)]
tests: use journal_size in ceph_osd_docker_extra_env for docker_cluster
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 1 Dec 2016 16:24:30 +0000 (10:24 -0600)]
tests: remove unsued options from docker_cluster vagrant variables
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 1 Dec 2016 16:21:29 +0000 (10:21 -0600)]
tests: docker_cluster should use 3 mons
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 1 Dec 2016 16:19:19 +0000 (10:19 -0600)]
tests: docker_cluster should use the site-docker.yml playbook
This commits allows for scenarios to pick their own playbook while
defaulting to use site.yml.sample.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 30 Nov 2016 22:47:51 +0000 (16:47 -0600)]
ceph-rgw: default rgw_config_keys in defaults/main.yml
This avoid an issue with it being undefined if nfs_obj_gw is
set to False.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 30 Nov 2016 21:21:12 +0000 (15:21 -0600)]
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>
Andrew Schoen [Wed, 30 Nov 2016 21:18:36 +0000 (15:18 -0600)]
ceph-rgw: no need to use playbook_dir when fetching configs for docker
This avoids a bug when fetch_directory is not a relative to the playbook
directory.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 30 Nov 2016 21:11:24 +0000 (15:11 -0600)]
ceph-osd: no need to use playbook_dir when fetching configs for docker
This causes a bug when fetch_directory is not relative to the playbook
directory.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 30 Nov 2016 21:08:42 +0000 (15:08 -0600)]
ceph-mon: no need to include playbook_dir when fetching configs
This causes a bug when fetch_directory is not a relative path to the
playbook location.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 30 Nov 2016 21:06:06 +0000 (15:06 -0600)]
ceph-mon: adds static: no to an include to avoid an ansible bug
Adding that avoids this bug:
https://github.com/ansible/ansible/issues/18206
Without that you'll get failures like:
TASK [ceph-mon : set keys permissions]
*****************************************
task path:
/home/andrewschoen/ceph-ansible/roles/ceph-mon/tasks/ceph_keys.yml:31
fatal: [mon0]: FAILED! => {"failed": true, "msg": "'dict object' has no attribute 'stdout_lines'"}
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 30 Nov 2016 18:20:07 +0000 (12:20 -0600)]
tests: adds a docker_cluster scenario
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 28 Nov 2016 21:43:51 +0000 (15:43 -0600)]
tests: change the subnet on dmcrypt-journal-collocation
It was currently set conflicting with dmcrypt-journal
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Sébastien Han [Thu, 1 Dec 2016 10:04:48 +0000 (11:04 +0100)]
Merge pull request #1139 from ceph/last-cleanup-apache
common: remove apache file
Sébastien Han [Thu, 1 Dec 2016 10:02:31 +0000 (11:02 +0100)]
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>
Sébastien Han [Wed, 30 Nov 2016 16:17:48 +0000 (17:17 +0100)]
Merge pull request #1135 from guits/master
Add gluster nfs ganesha repo only for Ubuntu
Guillaume Abrioux [Wed, 30 Nov 2016 15:30:43 +0000 (16:30 +0100)]
Add gluster nfs ganesha repo only for Ubuntu
According to the official documentation, adding PPA is not available for Debian.
Sébastien Han [Wed, 30 Nov 2016 14:50:23 +0000 (15:50 +0100)]
Merge pull request #1125 from guits/master
Use 'package' module instead of yum, apt and dnf
Sébastien Han [Wed, 30 Nov 2016 14:46:15 +0000 (15:46 +0100)]
Merge pull request #1131 from guits/refact_code
Refact temporary vars in ceph-common defaults.
Guillaume Abrioux [Tue, 29 Nov 2016 17:14:03 +0000 (18:14 +0100)]
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.
Andrew Schoen [Tue, 29 Nov 2016 22:21:51 +0000 (16:21 -0600)]
Merge pull request #1132 from ktdreyer/no-ceph-extra
rm ceph-extra.repo and redhat_distro_ceph_extra variable
Ken Dreyer [Tue, 29 Nov 2016 20:02:58 +0000 (13:02 -0700)]
rm ceph-extra.repo and redhat_distro_ceph_extra variable
We removed the "apache" setting for "radosgw_frontend" in
adfdf6871e1172b542342064c13147789f39571a .
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.
Andrew Schoen [Tue, 29 Nov 2016 21:40:25 +0000 (15:40 -0600)]
Merge pull request #1130 from ceph/colocated-tests
initial pass on tests for collocated journals
Alfredo Deza [Tue, 29 Nov 2016 20:01:31 +0000 (15:01 -0500)]
tests: use underscores to prevent tox combinatorial issues
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: colocated#tests
Guillaume Abrioux [Mon, 28 Nov 2016 14:16:56 +0000 (15:16 +0100)]
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)
Alfredo Deza [Tue, 29 Nov 2016 15:05:49 +0000 (10:05 -0500)]
tests: specify the devices for OSDs in the scenario for collocation
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: colocated#tests
Alfredo Deza [Tue, 29 Nov 2016 15:05:16 +0000 (10:05 -0500)]
tests: create tests for collocated journals
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: colocated#tests
Sébastien Han [Mon, 28 Nov 2016 22:22:49 +0000 (23:22 +0100)]
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>
Alfredo Deza [Mon, 28 Nov 2016 21:47:50 +0000 (16:47 -0500)]
Merge pull request #1127 from ceph/osd-scenarios
testing dmcrypt OSD scenarios
Andrew Schoen [Mon, 28 Nov 2016 21:10:07 +0000 (15:10 -0600)]
tests: change centos7-cluster to use raw_multi_journal
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 28 Nov 2016 21:05:48 +0000 (15:05 -0600)]
tests: change xenial-cluster to use raw_multi_journal
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 28 Nov 2016 21:02:16 +0000 (15:02 -0600)]
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>
Andrew Schoen [Mon, 28 Nov 2016 20:58:09 +0000 (14:58 -0600)]
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>
Sébastien Han [Mon, 28 Nov 2016 18:07:52 +0000 (19:07 +0100)]
contrib: don't fetch tags since we push force
reverting
4be9c52bafdf4b55edde2aebce9607268a7871e3
Signed-off-by: Sébastien Han <seb@redhat.com>
Andrew Schoen [Mon, 28 Nov 2016 18:06:25 +0000 (12:06 -0600)]
tests: make Vagrantfile a symlink for dmcrypt scenarios
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 28 Nov 2016 18:03:00 +0000 (12:03 -0600)]
tests: adds a scenario using OSD dmcrypt_journal_collocation
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 28 Nov 2016 17:20:31 +0000 (11:20 -0600)]
tests: adds a dmcrypt-dedicated-journal testing scenario
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Sébastien Han [Mon, 28 Nov 2016 17:54:14 +0000 (18:54 +0100)]
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>
Andrew Schoen [Mon, 28 Nov 2016 16:28:17 +0000 (10:28 -0600)]
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>
Sébastien Han [Mon, 28 Nov 2016 15:46:30 +0000 (16:46 +0100)]
contrib: do a fetch all so we don't push force
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Mon, 28 Nov 2016 14:14:44 +0000 (15:14 +0100)]
Merge pull request #1124 from ceph/galaxy
contrib: It doesn't make sense to pull all tags
Sébastien Han [Mon, 28 Nov 2016 14:12:40 +0000 (15:12 +0100)]
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>
Sébastien Han [Mon, 28 Nov 2016 13:35:35 +0000 (14:35 +0100)]
Merge pull request #1123 from ceph/galaxy
contrib: add a goto basedir function
Sébastien Han [Mon, 28 Nov 2016 13:27:28 +0000 (14:27 +0100)]
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>
Sébastien Han [Mon, 28 Nov 2016 09:26:15 +0000 (10:26 +0100)]
Merge pull request #1121 from D3N14L/master
Reviewed all roles and site.yml.sample and added "always_run: true" where appropriate
Daniel Marks [Sun, 27 Nov 2016 13:27:28 +0000 (14:27 +0100)]
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).
Daniel Marks [Sun, 27 Nov 2016 13:16:36 +0000 (14:16 +0100)]
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).
Daniel Marks [Sat, 26 Nov 2016 21:21:42 +0000 (22:21 +0100)]
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).
Daniel Marks [Sat, 26 Nov 2016 21:16:07 +0000 (22:16 +0100)]
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).
Daniel Marks [Sat, 26 Nov 2016 20:31:56 +0000 (21:31 +0100)]
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).
Daniel Marks [Sat, 26 Nov 2016 20:05:32 +0000 (21:05 +0100)]
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).
Daniel Marks [Sat, 26 Nov 2016 19:52:24 +0000 (20:52 +0100)]
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).
Daniel Marks [Sat, 26 Nov 2016 19:42:08 +0000 (20:42 +0100)]
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).
Daniel Marks [Sat, 26 Nov 2016 19:39:12 +0000 (20:39 +0100)]
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).
Daniel Marks [Sat, 26 Nov 2016 16:48:06 +0000 (17:48 +0100)]
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).
Daniel Marks [Sat, 26 Nov 2016 16:35:57 +0000 (17:35 +0100)]
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).
Sébastien Han [Fri, 25 Nov 2016 15:07:34 +0000 (16:07 +0100)]
Merge pull request #1102 from Logan2211/fix-default-syntax
Fix jinja defaulting syntax
Sébastien Han [Fri, 25 Nov 2016 10:21:51 +0000 (11:21 +0100)]
Merge pull request #1118 from guits/master
[shrink-mon]: force playbook to fail if there is only one mon
Guillaume Abrioux [Thu, 24 Nov 2016 21:46:46 +0000 (22:46 +0100)]
[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
Logan V [Thu, 17 Nov 2016 17:10:01 +0000 (11:10 -0600)]
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 '/'
Sébastien Han [Thu, 24 Nov 2016 15:43:15 +0000 (16:43 +0100)]
Merge pull request #1117 from D3N14L/master
Improve --check compatibility for ceph-common, ceph-mon and ceph-rgw roles
Sébastien Han [Thu, 24 Nov 2016 14:19:29 +0000 (15:19 +0100)]
Merge pull request #1113 from guits/master
All `include_vars` need to have `*.yml`, `*.yaml` or `*.json` extension.
Guillaume Abrioux [Wed, 23 Nov 2016 10:14:32 +0000 (11:14 +0100)]
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.
Daniel Marks [Thu, 24 Nov 2016 10:54:43 +0000 (11:54 +0100)]
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).
Daniel Marks [Thu, 24 Nov 2016 10:54:10 +0000 (11:54 +0100)]
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).