]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
ceph-ansible.git
8 years agotesting: disable vagrant sync folder add on xenial mon osd mds rgw scenario
Alfredo Deza [Mon, 14 Nov 2016 19:45:43 +0000 (14:45 -0500)]
testing: disable vagrant sync folder add on xenial mon osd mds rgw scenario

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agotesting: disable vagrant sync folder add on centos 7 mon osd mds rgw scenario
Alfredo Deza [Mon, 14 Nov 2016 19:45:07 +0000 (14:45 -0500)]
testing: disable vagrant sync folder add on centos 7 mon osd mds rgw scenario

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agotesting: disable vagrant sync folder add on centos 7 mon osd scenario
Alfredo Deza [Mon, 14 Nov 2016 19:44:49 +0000 (14:44 -0500)]
testing: disable vagrant sync folder add on centos 7 mon osd scenario

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agotesting: use ceph vagrant box on ubuntu xenial mon osd scenario
Alfredo Deza [Mon, 14 Nov 2016 19:43:02 +0000 (14:43 -0500)]
testing: use ceph vagrant box on ubuntu xenial mon osd scenario

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agotesting: use ceph vagrant box on ubuntu xenial mon osd mds rgw scenario
Alfredo Deza [Mon, 14 Nov 2016 19:42:35 +0000 (14:42 -0500)]
testing: use ceph vagrant box on ubuntu xenial mon osd mds rgw scenario

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agotesting: add comment for ceph vagrant boxes on centos 7 mon osd scenario
Alfredo Deza [Mon, 14 Nov 2016 19:41:39 +0000 (14:41 -0500)]
testing: add comment for ceph vagrant boxes on centos 7 mon osd scenario

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agotesting: add comment for ceph vagrant boxes on centos 7 mon osd mds rgw scenario
Alfredo Deza [Mon, 14 Nov 2016 19:41:23 +0000 (14:41 -0500)]
testing: add comment for ceph vagrant boxes on centos 7 mon osd mds rgw scenario

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agotesting: parse and set DISABLE_SYNCED_FOLDER in vagrant file
Alfredo Deza [Mon, 14 Nov 2016 18:25:26 +0000 (13:25 -0500)]
testing: parse and set DISABLE_SYNCED_FOLDER in vagrant file

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agotests: disable sync folder when testing
Alfredo Deza [Mon, 14 Nov 2016 18:24:25 +0000 (13:24 -0500)]
tests: disable sync folder when testing

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #1089 from ceph/vagrant-boxes
Alfredo Deza [Thu, 10 Nov 2016 21:16:07 +0000 (16:16 -0500)]
Merge pull request #1089 from ceph/vagrant-boxes

tests: adds a few more scenarios

8 years agotests: adds comments to tox.ini describing each scenario 1089/head
Andrew Schoen [Thu, 10 Nov 2016 18:04:56 +0000 (12:04 -0600)]
tests: adds comments to tox.ini describing each scenario

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: vagrant#boxes

8 years agotests: make the centos7-mon-osd scenario use raw_multi_journal
Andrew Schoen [Thu, 10 Nov 2016 17:59:45 +0000 (11:59 -0600)]
tests: make the centos7-mon-osd scenario use raw_multi_journal

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: vagrant#boxes

8 years agotests: adds the centos7-cluster scenario to tox.ini
Andrew Schoen [Wed, 9 Nov 2016 20:52:37 +0000 (14:52 -0600)]
tests: adds the centos7-cluster scenario to tox.ini

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: vagrant#boxes

8 years agotests: adds a scenario for a centos7 1mon 1osd 1mds 1rgw cluster
Andrew Schoen [Wed, 9 Nov 2016 20:51:54 +0000 (14:51 -0600)]
tests: adds a scenario for a centos7 1mon 1osd 1mds 1rgw cluster

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: vagrant#boxes

8 years agotests: adds the xenial mon-osd-mds-rgw scenario as xenial-cluster
Andrew Schoen [Wed, 9 Nov 2016 20:16:12 +0000 (14:16 -0600)]
tests: adds the xenial mon-osd-mds-rgw scenario as xenial-cluster

I tried adding the scenario as xenial-mon-osd-mds-rgw but for
whatever reason tox refused to select that environment. Changing the
name to xenial-cluster fixed that though.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: vagrant#boxes

8 years agotests: adds a scenario to test a xenial 1mon 1osd 1mds 1rgw cluster
Andrew Schoen [Wed, 9 Nov 2016 20:14:10 +0000 (14:14 -0600)]
tests: adds a scenario to test a xenial 1mon 1osd 1mds 1rgw cluster

This scenario duplicates what we are currently doing with our
ceph-ansible testing using OVH and a single node, except now
we are using 4 separate nodes.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: vagrant#boxes

8 years agotests: make xenial-mon-osd use raw_multi_journal instead of collocation
Andrew Schoen [Wed, 9 Nov 2016 20:12:59 +0000 (14:12 -0600)]
tests: make xenial-mon-osd use raw_multi_journal instead of collocation

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: vagrant#boxes

8 years agoMerge pull request #1087 from ceph/vagrant-boxes
Sébastien Han [Wed, 9 Nov 2016 11:09:00 +0000 (12:09 +0100)]
Merge pull request #1087 from ceph/vagrant-boxes

use vagrant boxes that support libvirt and virtualbox

8 years agotests: provide a way use libvirt with vagrant and tox 1087/head
Andrew Schoen [Tue, 8 Nov 2016 23:00:09 +0000 (17:00 -0600)]
tests: provide a way use libvirt with vagrant and tox

This allows for:

tox -- --provider=libvirt

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: vagrant#boxes

8 years agotests: change the centos box to centos/7
Andrew Schoen [Tue, 8 Nov 2016 21:53:58 +0000 (15:53 -0600)]
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>
8 years agotests: change the xenial box to yk0/ubuntu-xenial
Andrew Schoen [Tue, 8 Nov 2016 21:48:16 +0000 (15:48 -0600)]
tests: change the xenial box to yk0/ubuntu-xenial

This box supports both virtualbox and libvirt. Eventually
we want to be building our own vagrant boxes, but this might
work for now.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: vagrant#boxes

8 years agoMerge pull request #1086 from ceph/testing-updates
Alfredo Deza [Tue, 8 Nov 2016 18:39:32 +0000 (13:39 -0500)]
Merge pull request #1086 from ceph/testing-updates

testing: adds 3 new functional testing scenarios

8 years agotests: adds the vagrant_variables.yml that were previously ignored 1086/head
Andrew Schoen [Tue, 8 Nov 2016 17:29:47 +0000 (11:29 -0600)]
tests: adds the vagrant_variables.yml that were previously ignored

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates

8 years agodon't ignore vagrant_variables.yml in test directories
Andrew Schoen [Tue, 8 Nov 2016 17:03:25 +0000 (11:03 -0600)]
don't ignore vagrant_variables.yml in test directories

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates

8 years agotests: updates tox to test the new scenarios
Andrew Schoen [Tue, 8 Nov 2016 16:34:16 +0000 (10:34 -0600)]
tests: updates tox to test the new scenarios

This also turns on -vv for ansible and adds an environment for
ansible==1.9.4 testing.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates

8 years agotests: adds a 1mon 1osd centos7 test scenario
Andrew Schoen [Tue, 8 Nov 2016 16:32:39 +0000 (10:32 -0600)]
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

8 years agotests: adds a 1mon 1osd xenial test scenario
Andrew Schoen [Tue, 8 Nov 2016 16:24:36 +0000 (10:24 -0600)]
tests: adds a 1mon 1osd xenial test scenario

This sets up the osd using journal collocation

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates

8 years agotests: ceph.conf tests for the xenial 3 mon cluster
Andrew Schoen [Tue, 8 Nov 2016 16:18:11 +0000 (10:18 -0600)]
tests: ceph.conf tests for the xenial 3 mon cluster

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates

8 years agotests: adds a xenial 3 mon test scenario
Andrew Schoen [Tue, 8 Nov 2016 16:16:46 +0000 (10:16 -0600)]
tests: adds a xenial 3 mon test scenario

This can be used to test if mon hosts and
mon initial members are being set properly with
multiple hosts.

Also, to verify that monitor_address and monitor_interface
options both work as described.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates

8 years agotests: ignore folders created by ceph-ansible during testing
Andrew Schoen [Tue, 8 Nov 2016 16:12:59 +0000 (10:12 -0600)]
tests: ignore folders created by ceph-ansible during testing

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agocommon: reformat mon_initial_members with indention
Andrew Schoen [Tue, 8 Nov 2016 15:58:35 +0000 (09:58 -0600)]
common: reformat mon_initial_members with indention

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates

8 years agocommon: provide a default for monitor_address_block
Andrew Schoen [Tue, 8 Nov 2016 15:57:23 +0000 (09:57 -0600)]
common: provide a default for monitor_address_block

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates

8 years agotests: remove the initial_members scenario
Andrew Schoen [Tue, 8 Nov 2016 15:50:09 +0000 (09:50 -0600)]
tests: remove the initial_members scenario

This was just a placeholder until we could get more valid scenarios in
place.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates

8 years agocommon: check for monitor_interface before monitor_address in ceph.conf
Andrew Schoen [Sat, 5 Nov 2016 15:50:46 +0000 (10:50 -0500)]
common: check for monitor_interface before monitor_address in ceph.conf

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates

8 years agoMerge pull request #1074 from ceph/test-group-vars
Alfredo Deza [Mon, 7 Nov 2016 17:16:06 +0000 (12:16 -0500)]
Merge pull request #1074 from ceph/test-group-vars

functional test scenarios should include a group_vars dir

8 years agotests: require a group_vars folder in the scenario dir 1074/head
Andrew Schoen [Fri, 4 Nov 2016 21:35:45 +0000 (16:35 -0500)]
tests: require a group_vars folder in the scenario dir

This will allow for no changes needed in the ansible playbook command
when adding new scenarios. Each scenario will just need a hosts file and
a group_vars directory to define how the cluster should be setup.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1058 from ceph/pytest-harness
Andrew Schoen [Fri, 4 Nov 2016 19:08:35 +0000 (14:08 -0500)]
Merge pull request #1058 from ceph/pytest-harness

testing harness with py.test and Vagrant

8 years agotests: add a hosts file for the initial_members scenario 1058/head
Alfredo Deza [Fri, 4 Nov 2016 18:47:59 +0000 (14:47 -0400)]
tests: add a hosts file for the initial_members scenario

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: gitignore the .tox subdir
Alfredo Deza [Fri, 4 Nov 2016 18:09:29 +0000 (14:09 -0400)]
tests: gitignore the .tox subdir

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: make the tox.ini config call the ssh config helper script
Alfredo Deza [Fri, 4 Nov 2016 18:01:28 +0000 (14:01 -0400)]
tests: make the tox.ini config call the ssh config helper script

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: add a helper script to generate vagrant ssh configs
Alfredo Deza [Fri, 4 Nov 2016 17:58:07 +0000 (13:58 -0400)]
tests: add a helper script to generate vagrant ssh configs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: remove the need for a setenv entry per scenario in tox.ini
Andrew Schoen [Fri, 4 Nov 2016 17:49:18 +0000 (12:49 -0500)]
tests: remove the need for a setenv entry per scenario in tox.ini

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: pytest#harness

8 years agotests: adds a tox.ini to run the functional tests
Andrew Schoen [Fri, 4 Nov 2016 17:25:06 +0000 (12:25 -0500)]
tests: adds a tox.ini to run the functional tests

This currently tests the initial-members scenario for both ansible 2.1
and ansible 2.2. It assumes a hosts file and vagrant_ssh_config exists
in the scenario directory.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: pytest#harness

8 years agotests: mon_initial_members should look for the right hostname
Alfredo Deza [Thu, 3 Nov 2016 20:52:29 +0000 (16:52 -0400)]
tests: mon_initial_members should look for the right hostname

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: fix helper to use the actual lines form ceph.conf
Alfredo Deza [Thu, 3 Nov 2016 17:05:19 +0000 (13:05 -0400)]
tests: fix helper to use the actual lines form ceph.conf

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: use a different vagrant box
Alfredo Deza [Thu, 3 Nov 2016 12:07:38 +0000 (08:07 -0400)]
tests: use a different vagrant box

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: include the vagrant_variables.yml file specific to this scenario
Alfredo Deza [Fri, 28 Oct 2016 11:23:33 +0000 (07:23 -0400)]
tests: include the vagrant_variables.yml file specific to this scenario

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: create a README with some explanation on how to use the test harness
Alfredo Deza [Thu, 27 Oct 2016 20:55:27 +0000 (16:55 -0400)]
tests: create a README with some explanation on how to use the test harness

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: define a requirements.txt file
Alfredo Deza [Thu, 27 Oct 2016 19:44:38 +0000 (15:44 -0400)]
tests: define a requirements.txt file

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: create an example scenario file
Alfredo Deza [Thu, 27 Oct 2016 19:43:35 +0000 (15:43 -0400)]
tests: create an example scenario file

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: create the conftest file that does all the magic
Alfredo Deza [Thu, 27 Oct 2016 19:39:12 +0000 (15:39 -0400)]
tests: create the conftest file that does all the magic

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: add the symlinked Vagrantfile to initial_members
Alfredo Deza [Thu, 27 Oct 2016 19:37:52 +0000 (15:37 -0400)]
tests: add the symlinked Vagrantfile to initial_members

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agocreate a scenario config file for mon initial members
Alfredo Deza [Thu, 27 Oct 2016 19:30:40 +0000 (15:30 -0400)]
create a scenario config file for mon initial members

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: add __init__.py for functional tests
Alfredo Deza [Thu, 27 Oct 2016 19:29:28 +0000 (15:29 -0400)]
tests: add __init__.py for functional tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: common basic tests for after installation
Alfredo Deza [Thu, 27 Oct 2016 19:29:12 +0000 (15:29 -0400)]
tests: common basic tests for after installation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: add __init__.py for mon tests
Alfredo Deza [Thu, 27 Oct 2016 19:28:37 +0000 (15:28 -0400)]
tests: add __init__.py for mon tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: create a test to check for mon_initial_members
Alfredo Deza [Thu, 27 Oct 2016 19:24:44 +0000 (15:24 -0400)]
tests: create a test to check for mon_initial_members

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: placeholder pytest.ini to define test root dir
Alfredo Deza [Thu, 27 Oct 2016 18:10:48 +0000 (14:10 -0400)]
tests: placeholder pytest.ini to define test root dir

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agoMerge pull request #1073 from ceph/upgrade
Leseb [Fri, 4 Nov 2016 16:34:12 +0000 (17:34 +0100)]
Merge pull request #1073 from ceph/upgrade

rolling_update: add variable to upgrade ceph

8 years agorolling_update: add variable to upgrade ceph 1073/head
Sébastien Han [Fri, 4 Nov 2016 16:31:02 +0000 (17:31 +0100)]
rolling_update: add variable to upgrade ceph

My stupid self removed this crucial variable here: 217ce3ca thinking it
was another hard coded variable import where this is actually the
trigger for the upgrade.

Closes: #1071
Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1070 from ceph/RHBZ-1391675
Ivan Font [Thu, 3 Nov 2016 20:12:34 +0000 (13:12 -0700)]
Merge pull request #1070 from ceph/RHBZ-1391675

rolling update: fix restarts of radosgw

8 years agorolling update: fix restarts of radosgw 1070/head
Andrew Schoen [Thu, 3 Nov 2016 19:30:01 +0000 (14:30 -0500)]
rolling update: fix restarts of radosgw

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: rhbz#1391675
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1069 from ceph/dmycrypt-checks
Andrew Schoen [Thu, 3 Nov 2016 15:28:22 +0000 (10:28 -0500)]
Merge pull request #1069 from ceph/dmycrypt-checks

osd dmcrypt: add ability to check devices

8 years agoMerge pull request #1065 from ceph/fix-conf-template
Leseb [Thu, 3 Nov 2016 14:30:51 +0000 (15:30 +0100)]
Merge pull request #1065 from ceph/fix-conf-template

various fixes for the ceph.conf template

8 years agocommon: remove underscores in ceph.conf so config names are consistent 1065/head
Andrew Schoen [Thu, 3 Nov 2016 14:25:03 +0000 (09:25 -0500)]
common: remove underscores in ceph.conf so config names are consistent

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoosd dmcrypt: add ability to check devices 1069/head
Sébastien Han [Thu, 3 Nov 2016 14:20:07 +0000 (15:20 +0100)]
osd dmcrypt: add ability to check devices

Even for dmcrypt we need to check the "devices" status and
"raw_journal_devices" as well so we can fix them if there is something
wrong with them.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1066 from eduardegorov/egorove_missed_file_for_PR_#1024
Leseb [Thu, 3 Nov 2016 10:57:00 +0000 (11:57 +0100)]
Merge pull request #1066 from eduardegorov/egorove_missed_file_for_PR_#1024

Adjust 'devices' list check for being not defined in purge-cluster pl…

8 years agoAdjust 'devices' list check for being not defined in purge-cluster playbook (see... 1066/head
Eduard Egorov [Thu, 3 Nov 2016 06:34:01 +0000 (06:34 +0000)]
Adjust 'devices' list check for being not defined in purge-cluster playbook (see PR #1024)

Signed-off-by: Eduard Egorov <eduard.egorov@icl-services.com>
8 years agoceph-common: remove unused mon_addr_interface.j2 template
Andrew Schoen [Wed, 2 Nov 2016 20:36:03 +0000 (15:36 -0500)]
ceph-common: remove unused mon_addr_interface.j2 template

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoceph-common: remove unused mon_addr_address.j2 template
Andrew Schoen [Wed, 2 Nov 2016 20:35:07 +0000 (15:35 -0500)]
ceph-common: remove unused mon_addr_address.j2 template

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agofixes monitor_address and monitor_interface features
Andrew Schoen [Wed, 2 Nov 2016 17:53:32 +0000 (12:53 -0500)]
fixes monitor_address and monitor_interface features

Before this commit if you had set monitor_interface in your
inventory file for a specific host it would be ignored and the value
in group_vars/all would have been used.

Also, this enables support for monitor_address again as it had been
broken by previous changes to this template.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1024 from eduardegorov/egorove_make_devices_optional
Leseb [Wed, 2 Nov 2016 14:12:02 +0000 (15:12 +0100)]
Merge pull request #1024 from eduardegorov/egorove_make_devices_optional

Make {{ devices }} list optional

8 years agoMerge pull request #1063 from eduardegorov/egorove_purge-cluster_hardcoded_group_names
Leseb [Tue, 1 Nov 2016 18:18:06 +0000 (19:18 +0100)]
Merge pull request #1063 from eduardegorov/egorove_purge-cluster_hardcoded_group_names

Fix hard-coded group names in include tasks for group variable file names

8 years agoFix typos 1063/head
Eduard Egorov [Tue, 1 Nov 2016 12:29:21 +0000 (12:29 +0000)]
Fix typos

Signed-off-by: Eduard Egorov <eduard.egorov@icl-services.com>
8 years agoFix rbd-mirrors group name
Eduard Egorov [Tue, 1 Nov 2016 12:09:44 +0000 (12:09 +0000)]
Fix rbd-mirrors group name

Signed-off-by: Eduard Egorov <eduard.egorov@icl-services.com>
8 years agoFix hard-coded host group names in include tasks for group variables' file paths.
Eduard Egorov [Tue, 1 Nov 2016 11:39:21 +0000 (11:39 +0000)]
Fix hard-coded host group names in include tasks for group variables' file paths.

Signed-off-by: Eduard Egorov <eduard.egorov@icl-services.com>
8 years agoFix 'raw_journal_devices' to be initialized as a list in ceph-common defaults. Add... 1024/head
Eduard Egorov [Tue, 25 Oct 2016 06:19:42 +0000 (06:19 +0000)]
Fix 'raw_journal_devices' to be initialized as a list in ceph-common defaults. Add empty 'devices' list there as well. Adjust 'devices' and 'raw_journal_devices' checks.

This is done for preventing of their use-before-definition for osd scenarios checks (should be removed after a refactor has properly seperated all the checks into appropriate roles).

Signed-off-by: Eduard Egorov <eduard.egorov@icl-services.com>
8 years agoMake {{ raw_journal_devices }} list optional: define it as empty list by default...
Eduard Egorov [Mon, 24 Oct 2016 18:37:28 +0000 (18:37 +0000)]
Make {{ raw_journal_devices }} list optional: define it as empty list by default, remove unneccessary 'default([])' checks

Signed-off-by: Eduard Egorov <eduard.egorov@icl-services.com>
8 years agoMake {{ devices }} list optional: define it as empty list by default, remove unnecces...
Eduard Egorov [Mon, 10 Oct 2016 13:16:03 +0000 (13:16 +0000)]
Make {{ devices }} list optional: define it as empty list by default, remove unneccessary 'default([])' checks

Signed-off-by: Eduard Egorov <eduard.egorov@icl-services.com>
8 years agoMerge pull request #1045 from wind0204/pr-monitor_interface_with_hyphens
Leseb [Mon, 31 Oct 2016 20:15:55 +0000 (21:15 +0100)]
Merge pull request #1045 from wind0204/pr-monitor_interface_with_hyphens

now you can use a network link name with a hyphen

8 years agoMerge pull request #1052 from verdurin/revert-1042-centos-extras-ini_file
Leseb [Mon, 31 Oct 2016 15:31:51 +0000 (16:31 +0100)]
Merge pull request #1052 from verdurin/revert-1042-centos-extras-ini_file

Revert "Change enabling of extras repo for CentOS to use ini_file"

8 years agoMerge pull request #1060 from ceph/issue-1054
Leseb [Mon, 31 Oct 2016 11:24:17 +0000 (12:24 +0100)]
Merge pull request #1060 from ceph/issue-1054

raw_multi_journal is not required when using dmcrypt_dedicated_journal

8 years agoMerge pull request #1048 from cloudnull/config_template_v22
Leseb [Mon, 31 Oct 2016 10:25:48 +0000 (11:25 +0100)]
Merge pull request #1048 from cloudnull/config_template_v22

Updated config_template for 2.2 compat

8 years agoraw_multi_journal is not required when using dmcrypt_dedicated_journal 1060/head
Andrew Schoen [Fri, 28 Oct 2016 16:12:55 +0000 (11:12 -0500)]
raw_multi_journal is not required when using dmcrypt_dedicated_journal

Fixes: https://github.com/ceph/ceph-ansible/issues/1054
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: issue#1054

8 years agoMerge pull request #1057 from ceph/RHBZ-1389456
Alfredo Deza [Thu, 27 Oct 2016 19:23:27 +0000 (15:23 -0400)]
Merge pull request #1057 from ceph/RHBZ-1389456

rolling_update: define mon_group_name when upgrading the mons

8 years agorolling_update: define mon_group_name when upgrading the mons 1057/head
Andrew Schoen [Thu, 27 Oct 2016 19:17:56 +0000 (14:17 -0500)]
rolling_update: define mon_group_name when upgrading the mons

see: https://bugzilla.redhat.com/show_bug.cgi?id=1389456

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: rhbz#1389456

8 years agoMerge pull request #1050 from ceph/issue-1041
Alfredo Deza [Thu, 27 Oct 2016 12:08:16 +0000 (08:08 -0400)]
Merge pull request #1050 from ceph/issue-1041

ceph-osd: use ini_file instead of yum_repository to enable Centos extras

8 years agoMerge pull request #1055 from ceph/update-role-path
Alfredo Deza [Wed, 26 Oct 2016 18:12:26 +0000 (14:12 -0400)]
Merge pull request #1055 from ceph/update-role-path

rebased rolling_update: fix wrong indent

8 years agorolling_update: fix wrong indent 1055/head
Sébastien Han [Tue, 25 Oct 2016 08:28:53 +0000 (10:28 +0200)]
rolling_update: fix wrong indent

Fixing: https://bugzilla.redhat.com/show_bug.cgi?id=1388295
Also add some notes in the README on how to run infrastructure
playbooks.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1049 from font/rolling_update
Andrew Schoen [Wed, 26 Oct 2016 17:11:11 +0000 (12:11 -0500)]
Merge pull request #1049 from font/rolling_update

Update for infrastructure-playbooks execution

8 years agoUpdate for infrastructure-playbooks execution 1049/head
Ivan Font [Tue, 25 Oct 2016 16:27:49 +0000 (09:27 -0700)]
Update for infrastructure-playbooks execution

- Updates to allow running infrastructure-playbooks both from within its
  directory or root directory of ceph-ansible.

Signed-off-by: Ivan Font <ifont@redhat.com>
8 years agoMerge pull request #1051 from ceph/syntax-fixes
Alfredo Deza [Wed, 26 Oct 2016 12:41:37 +0000 (08:41 -0400)]
Merge pull request #1051 from ceph/syntax-fixes

infrastructure-playbooks: fix syntax errors in all playbooks

8 years agoRevert "Change enabling of extras repo for CentOS to use ini_file" 1052/head
Adam Huffman [Wed, 26 Oct 2016 08:04:59 +0000 (10:04 +0200)]
Revert "Change enabling of extras repo for CentOS to use ini_file"

8 years agoinfrastructure-playbooks: fix syntax errors in all playbooks 1051/head
Andrew Schoen [Tue, 25 Oct 2016 21:56:58 +0000 (16:56 -0500)]
infrastructure-playbooks: fix syntax errors in all playbooks

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoceph-osd: use ini_file instead of yum_repository to enable Centos extras 1050/head
Andrew Schoen [Tue, 25 Oct 2016 19:16:42 +0000 (14:16 -0500)]
ceph-osd: use ini_file instead of yum_repository to enable Centos extras

Fixes issue #1041

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: issue#1041

8 years agoUpdated config_template for 2.2 compat 1048/head
Kevin Carter [Tue, 25 Oct 2016 15:38:09 +0000 (10:38 -0500)]
Updated config_template for 2.2 compat

Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
8 years agoMerge pull request #1029 from badone/wip-python2
Leseb [Tue, 25 Oct 2016 08:15:05 +0000 (10:15 +0200)]
Merge pull request #1029 from badone/wip-python2

site.yml.sample: Attempt to install python2

8 years agoMerge pull request #1042 from verdurin/centos-extras-ini_file
Leseb [Tue, 25 Oct 2016 07:50:52 +0000 (09:50 +0200)]
Merge pull request #1042 from verdurin/centos-extras-ini_file

Change enabling of extras repo for CentOS to use ini_file

8 years agonow you can use a network link name with a hyphen 1045/head
Gunwoo Gim (a.k.a. Nicho1as) [Mon, 24 Oct 2016 15:49:11 +0000 (00:49 +0900)]
now you can use a network link name with a hyphen

8 years agoMerge pull request #1043 from ceph/rbd-pg
Leseb [Fri, 21 Oct 2016 23:32:49 +0000 (01:32 +0200)]
Merge pull request #1043 from ceph/rbd-pg

mon: destroy and recreate rbd pool if necessary