]>
git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
Ali Maredia [Wed, 19 Apr 2017 16:30:40 +0000 (12:30 -0400)]
rgw: set tuning parameters
Change civetweb_num_thread default to 100
Add capability to override number of pgs for
rgw pools.
Add ceph.conf vars to enable default bucket
object quota at users choosing into the ceph.conf.j2
template
Resolves: rhbz#
1437173
Resolves: rhbz#
1391500
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Alfredo Deza [Tue, 25 Apr 2017 18:12:49 +0000 (14:12 -0400)]
Merge pull request #1464 from ceph/purge-ceph-target
purge-cluster: remove unneeded tasks
Andrew Schoen [Tue, 25 Apr 2017 12:35:13 +0000 (07:35 -0500)]
purge-cluster: check for any running ceph process after purge
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 24 Apr 2017 14:34:41 +0000 (07:34 -0700)]
Merge pull request #1466 from ceph/upgrade-calamari
mon: upgrade calamari when running rolling_update playbook
Andrew Schoen [Mon, 24 Apr 2017 13:54:07 +0000 (06:54 -0700)]
Merge pull request #1455 from ceph/restart_daemons
Common: Restore check_socket
Guillaume Abrioux [Tue, 18 Apr 2017 10:40:43 +0000 (12:40 +0200)]
Common: Restore check_socket
Restore the check_socket that was removed by `
5bec62b `.
This commit also improves the logging in `restart_*_daemon.sh` scripts
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Sébastien Han [Mon, 24 Apr 2017 09:04:06 +0000 (11:04 +0200)]
mon: upgrade calamari when running rolling_update playbook
Prior to this change, ansible was only checking for the existence of the
package, now if upgrade_ceph_packages is true this means we are
performing an upgrade.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1442016
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Mon, 24 Apr 2017 08:54:54 +0000 (10:54 +0200)]
Merge pull request #1461 from ceph/wip-remove-osd-directory-scenario
remove osd directory scenario
Gregory Meno [Thu, 20 Apr 2017 23:47:06 +0000 (16:47 -0700)]
remove osd directory scenario
Proof-of-concept clusters or actual production clusters will never want to use this. We also do not test it anywhere for this same reason.
Signed-off-by: Gregory Meno <gmeno@redhat.com>
Andrew Schoen [Fri, 21 Apr 2017 22:14:38 +0000 (15:14 -0700)]
purge-cluster: we don't support sysv or upstart anymore
Now that ceph-ansible only supports > jewel we don't need
to bother with sysv or upstart
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 21 Apr 2017 22:12:46 +0000 (15:12 -0700)]
purge-cluster: do not need to check for running ceph processes
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 21 Apr 2017 22:11:03 +0000 (15:11 -0700)]
purge-cluster: no need to remove ceph.target
The package uninstalls will stop ceph.target
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Alfredo Deza [Fri, 21 Apr 2017 19:48:13 +0000 (12:48 -0700)]
Merge pull request #1463 from ceph/mgr-rhcs
tests: mgr nodes should have the ceph-mon repo install
Sébastien Han [Fri, 21 Apr 2017 18:34:46 +0000 (13:34 -0500)]
Merge pull request #1459 from jcsp/wip-19713
mon: update mgr key capabilities
Andrew Schoen [Fri, 21 Apr 2017 17:45:33 +0000 (10:45 -0700)]
tests: mgr nodes should have the ceph-mon repo install
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
John Spray [Thu, 20 Apr 2017 14:17:45 +0000 (15:17 +0100)]
mon: update mgr key capabilities
This is to allow ceph-mgr daemons to remote control
osd and mds daemons with MCommand messages.
Fixes: http://tracker.ceph.com/issues/19713
Signed-off-by: John Spray <john.spray@redhat.com>
Sébastien Han [Wed, 19 Apr 2017 19:25:41 +0000 (14:25 -0500)]
Merge pull request #1456 from netservers/master
Apparmor on Ubuntu Xenial will not permit containers to mount devices.
John McEleney [Wed, 19 Apr 2017 09:12:04 +0000 (10:12 +0100)]
Apparmor on Ubuntu Xenial will not permit containers to mount devices, even with CAP SYS_ADMIN.
Andrew Schoen [Mon, 17 Apr 2017 20:46:02 +0000 (15:46 -0500)]
Merge pull request #1453 from ceph/docs-fixtures
[docs] fixtures and Python tests
Alfredo Deza [Mon, 17 Apr 2017 20:43:05 +0000 (16:43 -0400)]
Merge pull request #1454 from ceph/tox-docs
docs: write docs for tox.ini file
Andrew Schoen [Mon, 17 Apr 2017 20:39:01 +0000 (15:39 -0500)]
docs: review feedback on testing/tox.rst
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 17 Apr 2017 20:15:33 +0000 (15:15 -0500)]
docs: fix rst error in scenarios.rst
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 13 Apr 2017 19:50:43 +0000 (14:50 -0500)]
docs: write docs for tox.ini file
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Alfredo Deza [Mon, 17 Apr 2017 19:39:54 +0000 (15:39 -0400)]
docs: describe Python tests and fixtures
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Mon, 17 Apr 2017 19:39:27 +0000 (15:39 -0400)]
docs: conventions for test layouts
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Andrew Schoen [Mon, 17 Apr 2017 18:27:53 +0000 (13:27 -0500)]
Merge pull request #1452 from ceph/rhcs-mgr
ceph-common: install ceph-mgr for rhcs
Andrew Schoen [Mon, 17 Apr 2017 13:40:24 +0000 (08:40 -0500)]
ceph-common: install ceph-mgr for rhcs on debian
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 17 Apr 2017 13:37:34 +0000 (08:37 -0500)]
ceph-common: install ceph-mgr for rhcs on rhel
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Sébastien Han [Fri, 14 Apr 2017 21:23:32 +0000 (23:23 +0200)]
Merge pull request #1430 from ceph/mgr-fix
test: add mgr section to the host inventory file
Sébastien Han [Tue, 11 Apr 2017 12:20:11 +0000 (14:20 +0200)]
test: add mgr section to the host inventory file
Without this, we don't test the mgr role so we need to add it.
Co-Authored-by: Guillaume Abrioux <gabrioux@redhat.com>
Signed-off-by: Sébastien Han <seb@redhat.com>
Andrew Schoen [Thu, 13 Apr 2017 16:40:46 +0000 (11:40 -0500)]
Merge pull request #1448 from ceph/docs-scenario-files
docs: describe all required scenario files
Alfredo Deza [Thu, 13 Apr 2017 15:57:38 +0000 (11:57 -0400)]
docs: describe all required scenario files
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Sébastien Han [Thu, 13 Apr 2017 14:45:57 +0000 (16:45 +0200)]
Merge pull request #1443 from WingkaiHo/osds-journal-migrate
Migrate osd(s) journal to ssd
Andrew Schoen [Thu, 13 Apr 2017 14:24:11 +0000 (09:24 -0500)]
Merge pull request #1441 from ceph/docs-scenario
docs: scenario files and section descriptions
Alfredo Deza [Wed, 12 Apr 2017 17:12:00 +0000 (13:12 -0400)]
docs: scenario files and section descriptions
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Sébastien Han [Thu, 13 Apr 2017 13:21:26 +0000 (15:21 +0200)]
Merge pull request #1442 from ceph/fix-hung-command
ceph-mon: change command to see if rbd exists
Andrew Schoen [Thu, 13 Apr 2017 12:23:07 +0000 (07:23 -0500)]
Merge pull request #1439 from ceph/rhcs-tests
tests: fix ceph_rhcs setup
WingkaiHo [Thu, 13 Apr 2017 02:56:38 +0000 (10:56 +0800)]
Migrate osd(s) journal to ssd
Andrew Schoen [Wed, 12 Apr 2017 20:07:10 +0000 (15:07 -0500)]
ceph-mon: change command to see if rbd exists
The previous command was hanging, see this issue:
https://github.com/ceph/ceph-ansible/issues/1440
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 12 Apr 2017 14:23:21 +0000 (09:23 -0500)]
tests: print contents of group_vars/all after modification
This is just nice to see in the test output so we know exactly what
configuration is going to be used.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 12 Apr 2017 12:55:03 +0000 (07:55 -0500)]
ceph-common: is ceph_rchs is True do not include install_on_redhat.yml
That task includes logic for upstream installs that we do not want to
run when deploying RHCS.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 12 Apr 2017 12:53:49 +0000 (07:53 -0500)]
tests: set needed config in group_vars/all for rhcs testing
Instead of relying on environment variables and --extra-vars simply
modify the group_vars/all that ships with the specific testing scenario
to enable ceph_rchs testing.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 12 Apr 2017 12:50:41 +0000 (07:50 -0500)]
tests: remove CEPH_STABLE environment variable
I'm removing this because when we use an 'rhcs' scenario then we attempt
to set CEPH_STABLE=false as an environment variable. The issue with that
is because the value is coming from an environment variable it is always
treated as a string and ansible treats that as a boolean True. I plan to
set the ceph_stable value with our rhcs_setup.yml playbook instead of
relying on ---extra-vars and environment variables.
Related ansible issue: https://github.com/ansible/ansible/issues/17193
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Sébastien Han [Wed, 12 Apr 2017 09:25:11 +0000 (11:25 +0200)]
Merge pull request #1435 from dlupescu/purge_cluster_nvme_fix
purge-cluster: fix grep match for NVMe and HP Smart Array devices
Sébastien Han [Wed, 12 Apr 2017 09:04:25 +0000 (11:04 +0200)]
Merge pull request #1431 from mcv21/restricted_assemble
Only assemble {{ cluster }}.conf and osd.conf
Alfredo Deza [Tue, 11 Apr 2017 13:48:03 +0000 (09:48 -0400)]
Merge pull request #1434 from ceph/docs-missing-static-master
Docs missing static master
Matthew Vernon [Tue, 11 Apr 2017 13:33:21 +0000 (14:33 +0100)]
Only include cluster.conf and osd.conf when building ceph.conf
This is the same fix as
bc846b7da6d9af16d9611fef7f00df6557f19def
applied to the other part of the code-base that builds ceph.conf (I'd
missed that
349b9ab3e72f188c50b5f84f3ce5ee2fddcfbf80 had duplicated
this code).
Signed-off-by: Matthew Vernon <mv3@sanger.ac.uk>
Daniel Lupescu [Tue, 11 Apr 2017 12:59:49 +0000 (15:59 +0300)]
purge-cluster: fix grep match for NVMe and HP Smart Array devices
raw_device would return invalid block device names for NVMe and HPSA
devices which would cause sgdisk partition deletion to fail
$ echo /dev/nvme1n1p3 | egrep -o '/dev/([hsv]d[a-z]{1,2}|cciss/c[0-9]d[0-9]p|nvme[0-9]n[0-9]p){1,2}'
/dev/nvme1n1p
$ echo /dev/cciss/c0d0p2 | egrep -o '/dev/([hsv]d[a-z]{1,2}|cciss/c[0-9]d[0-9]p|nvme[0-9]n[0-9]p){1,2}'
/dev/cciss/c0d0p
Alfredo Deza [Tue, 11 Apr 2017 13:08:08 +0000 (09:08 -0400)]
docs: force an empty _static dir so sphinx is happy
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
aacbbf0efe802e9282793dfc8bf7b175596c5aad )
Alfredo Deza [Tue, 11 Apr 2017 13:08:45 +0000 (09:08 -0400)]
docs: force an empty _templates dir so sphinx is happy
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
66a9817e56d69b046425dc04a03869fb9a9d8369 )
Matthew Vernon [Tue, 11 Apr 2017 12:27:19 +0000 (13:27 +0100)]
Only assemble {{ cluster }}.conf and osd.conf
Ansible's assemble module by default will put all files in the src
directory together into dest. We only want to put {{ cluster }}.conf
and osd.conf together, not anything that might have found its way into
/etc/ceph/ceph.d (e.g. files left by the sysadmin taking backups
before an ansible run). So specify a regexp that matches only those
two files.
Signed-off-by: Matthew Vernon <mv3@sanger.ac.uk>
Sébastien Han [Tue, 11 Apr 2017 11:53:42 +0000 (13:53 +0200)]
Merge pull request #1428 from ceph/fix-mgr
mon: fix with_items being evaluated before when
Sébastien Han [Tue, 11 Apr 2017 10:10:55 +0000 (12:10 +0200)]
mon: fix with_items being evaluated before when
Ansible evaluates the 'with_items' before the 'when' so if the inventory
does not have the group declared it'll fail. To fix this, we set an
empty array to make the with_items happy and then evaluate with the
'when'.
Signed-off-by: Sébastien Han <seb@redhat.com>
Alfredo Deza [Mon, 10 Apr 2017 18:55:30 +0000 (14:55 -0400)]
Merge pull request #1427 from ceph/downstream-testing
tests: updates for rhcs testing
Andrew Schoen [Mon, 10 Apr 2017 18:46:03 +0000 (13:46 -0500)]
tests: enable the rhcs-7-extras-nightly repo on test nodes
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 10 Apr 2017 18:39:16 +0000 (13:39 -0500)]
tests: change centos/atomic-host box name to rhel7
We'd like to test everything rhcs on the same rhel7 box.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Sébastien Han [Mon, 10 Apr 2017 17:03:39 +0000 (19:03 +0200)]
Merge pull request #1425 from ceph/bump-kraken
common: bump ceph version to kraken
Sébastien Han [Mon, 10 Apr 2017 14:20:49 +0000 (16:20 +0200)]
common: bump ceph version to kraken
Kraken has been out for a couple of weeks now and the CI can test both
Kraken and Jewel.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Mon, 10 Apr 2017 15:50:24 +0000 (17:50 +0200)]
Merge pull request #1377 from ceph/ceph-mgr
mgr: add new role for ceph-mgr
Sébastien Han [Thu, 6 Apr 2017 15:26:52 +0000 (17:26 +0200)]
test: add mgr bootstrap support
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Tue, 28 Mar 2017 12:15:27 +0000 (14:15 +0200)]
docker: fix monitors name
Prior to this change we were deploying a monitor using tis fqdn name but
we were checking its state and performing actions on it using its
shortname.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Thu, 16 Mar 2017 09:17:08 +0000 (10:17 +0100)]
mgr: add new role for ceph-mgr
The Ceph Manager daemon (ceph-mgr) runs alongside monitor daemons, to
provide additional monitoring and interfaces to external monitoring and
management systems.
Only works as of the Kraken release.
Co-Authored-By: Guillaume Abrioux <gabrioux@redhat.com>
Signed-off-by: Sébastien Han <seb@redhat.com>
Alfredo Deza [Mon, 10 Apr 2017 11:56:40 +0000 (07:56 -0400)]
Merge pull request #1421 from ceph/tox-docs
tox-driven docs
Sébastien Han [Mon, 10 Apr 2017 09:07:39 +0000 (11:07 +0200)]
Merge pull request #1422 from k0ste/newfeature
ceph-common: persist "disable_transparent_hugepage"
Konstantin Shalygin [Sat, 8 Apr 2017 06:06:18 +0000 (13:06 +0700)]
ceph-common: disable_transparent_hugepage now persist
Alfredo Deza [Fri, 7 Apr 2017 16:18:15 +0000 (12:18 -0400)]
docs: add missing sections/refs in scenarios.rst
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 7 Apr 2017 16:17:53 +0000 (12:17 -0400)]
docs: include testing conventions and testinfra in layout.rst
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 7 Apr 2017 16:17:31 +0000 (12:17 -0400)]
docs: fix typo in testing/index.rst
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 7 Apr 2017 16:17:13 +0000 (12:17 -0400)]
docs: include the tests and tox files in the glossary
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 7 Apr 2017 16:07:42 +0000 (12:07 -0400)]
docs: create a tests doc file
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 7 Apr 2017 16:07:26 +0000 (12:07 -0400)]
docs: create a separate tox doc file
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 7 Apr 2017 16:06:36 +0000 (12:06 -0400)]
docs: use glossary for the :doc: directive
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 7 Apr 2017 16:06:16 +0000 (12:06 -0400)]
docs: add the testing glossary in the toctree
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 7 Apr 2017 16:05:55 +0000 (12:05 -0400)]
docs: normalize the glossary vs. contents files
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 7 Apr 2017 15:41:59 +0000 (11:41 -0400)]
docs: create a separate docs tox.ini
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Sébastien Han [Fri, 7 Apr 2017 00:36:27 +0000 (02:36 +0200)]
Merge pull request #1412 from guits/fix_handlers
Common: Fix handlers that are not properly triggered.
Sébastien Han [Fri, 7 Apr 2017 00:36:17 +0000 (02:36 +0200)]
Merge pull request #1416 from ceph/WingkaiHo-master
enable ceph-mon.target service after monitor start
Andrew Schoen [Thu, 6 Apr 2017 20:05:40 +0000 (15:05 -0500)]
Merge pull request #1418 from ceph/docs
Docs: an initial take on only test documentation
Alfredo Deza [Thu, 6 Apr 2017 17:17:35 +0000 (13:17 -0400)]
docs: initial structure for tests docs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 6 Apr 2017 17:14:45 +0000 (13:14 -0400)]
docs create a separate glossary file
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 6 Apr 2017 17:10:54 +0000 (13:10 -0400)]
docs: the master doc is the glossary file
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 5 Apr 2017 16:27:25 +0000 (12:27 -0400)]
docs: ignore build contents from git
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 5 Apr 2017 16:27:06 +0000 (12:27 -0400)]
docs: initial take on doc structure
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Andrew Schoen [Thu, 6 Apr 2017 17:11:16 +0000 (12:11 -0500)]
Merge pull request #1417 from ceph/docker-env-vars
tests: add docker environment variables to tox.ini
Andrew Schoen [Thu, 6 Apr 2017 15:29:16 +0000 (10:29 -0500)]
tests: add docker environment variables to tox.ini
This allows us to control the docker registry, image name and tag name
for the containers.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
WingkaiHo [Wed, 29 Mar 2017 03:11:04 +0000 (11:11 +0800)]
enable ceph-mon.target service after monitor start
ceph-create-keys unit file was removed here:
* https://github.com/ceph/ceph/commit/
8bcb4646b6b9846bb965cdec3ca2a21eb3b26bab
* https://github.com/ceph/ceph/commit/
dc5fe8d415858358bd0baf5d8dce0a753f5e0cea
As a consequence the systemctl preset command now fails to run since the
unit does not exist anymore. Due to the redirection in /dev/null we
don't know what's happening.
Ultimately the mon unit doesn't get enabled and the mon service won't
start after reboot.
Removing the old/non-existent unit makes the command succeed now.
ceph fix: https://github.com/ceph/ceph/pull/14226
Signed-off-by: WingkaiHo <sanguosfiang@163.com>
Co-Authored-By: Sébastien Han <seb@redhat.com>
Guillaume Abrioux [Mon, 3 Apr 2017 17:55:11 +0000 (19:55 +0200)]
Common: Fix handlers that are not properly triggered.
Until now, only the first task were executed.
The idea here is to use `listen` statement to be able to notify multiple
handler and regroup all of them in `./handlers/main.yml` as notifying an
included handler task is not possible.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Sébastien Han [Thu, 6 Apr 2017 08:56:42 +0000 (10:56 +0200)]
Merge pull request #1415 from dahorak/osd-autodiscovery-fix-check-holders
osd autodiscovery mode: fix holders detection
Daniel Horak [Thu, 6 Apr 2017 07:11:32 +0000 (09:11 +0200)]
osd autodiscovery mode: fix holders detection
Small fix for (probably copy&paste) issue from
42ffe6301 .
Signed-off-by: Daniel Horak <dahorak@redhat.com>
Alfredo Deza [Wed, 5 Apr 2017 21:42:06 +0000 (17:42 -0400)]
Merge pull request #1414 from ceph/scenario-alias
tests: add an alias of cluster for the centos7_cluster scenario
Andrew Schoen [Wed, 5 Apr 2017 18:36:51 +0000 (13:36 -0500)]
tests: add an alias of cluster for the centos7_cluster scenario
When testing this downstream it makes more sense for this scenario to be
named just 'cluster' because have 'centos7' in the name is misleading.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Sébastien Han [Wed, 5 Apr 2017 14:03:20 +0000 (16:03 +0200)]
Merge pull request #1411 from ceph/bump-ansible
tests: bump the version of ansible to 2.2.2
Sébastien Han [Wed, 5 Apr 2017 13:58:41 +0000 (15:58 +0200)]
Merge pull request #1409 from ceph/auto-dm
osd: autodiscovery mode, use holders to detect device
Sébastien Han [Wed, 5 Apr 2017 11:53:17 +0000 (13:53 +0200)]
Merge pull request #1410 from ceph/kraken-tests
tests: run all tests for jewel and kraken
Alfredo Deza [Wed, 5 Apr 2017 11:38:58 +0000 (07:38 -0400)]
tests: bump the version of ansible to 2.2.2
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Sébastien Han [Tue, 4 Apr 2017 08:33:22 +0000 (10:33 +0200)]
osd: autodiscovery mode, use holders to detect device
As reported in
https://github.com/ceph/ceph-ansible/issues/1403 when devices are held
by lvm and `osd_auto_discovery` is set to true, it's not enough to check
for a partition count = 0 since Ansible does not report.
This patch also looks for 'holders' which in a case of lvm corresponds
to the name of the pv. Now we also look for holders = 0.
Fixes: #1403
Signed-off-by: Sébastien Han <seb@redhat.com>
Andrew Schoen [Mon, 3 Apr 2017 21:11:55 +0000 (16:11 -0500)]
tests: run all tests for jewel and kraken
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Sébastien Han [Thu, 30 Mar 2017 12:52:58 +0000 (14:52 +0200)]
Merge pull request #1404 from ceph/check-osd-id
playbook: homogenize the way list osd ids
Sébastien Han [Thu, 30 Mar 2017 09:51:38 +0000 (11:51 +0200)]
playbook: homogenize the way list osd ids
Problem: too many different commands to do the same thing. The 'cut'
command on infrastructure-playbooks/purge-cluster.yml was also wrong.
This sed command from osixia in ceph-docker
https://github.com/ceph/ceph-docker/pull/580/ addresses all the
scenarios.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Wed, 29 Mar 2017 09:50:27 +0000 (11:50 +0200)]
Merge pull request #1399 from guits/fix_ntp_install
Common: Do not install ntp when ntp_service_enabled is false