]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
ceph-ansible.git
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

8 years agomon: destroy and recreate rbd pool if necessary 1043/head
Sébastien Han [Thu, 20 Oct 2016 16:19:19 +0000 (18:19 +0200)]
mon: destroy and recreate rbd pool if necessary

Users reported that pool_default_pg_num is not honoured for the default
pool 'rbd'. So now we check the pg num value for the RBD pool and if it
does not match pool_default_pg_num then we delete and recreate it.
We also make sure the pool is empty first, just in case someone changed
the value manually and didn't reflect the change in ceph-ansible.

The only issue with this patch is that the pool ID will not be 0 anymore
but more likely 1.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1044 from batrick/no-vagrant-dev-branch
Leseb [Fri, 21 Oct 2016 20:57:48 +0000 (22:57 +0200)]
Merge pull request #1044 from batrick/no-vagrant-dev-branch

vagrant: use group_vars for ceph pkg source

8 years agovagrant: use group_vars for ceph pkg source 1044/head
Patrick Donnelly [Fri, 21 Oct 2016 14:46:11 +0000 (10:46 -0400)]
vagrant: use group_vars for ceph pkg source

This was a holdout from the Linode merge that shouldn't have been
included. The right way to set the installation source is through
group_vars.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoChange enabling of extras repo for CentOS to use ini_file 1042/head
Adam Huffman [Wed, 19 Oct 2016 21:15:14 +0000 (22:15 +0100)]
Change enabling of extras repo for CentOS to use ini_file

Signed-off-by: Adam Huffman <bloch@verdurin.com>
8 years agoMerge pull request #1039 from analbeard/master
Leseb [Wed, 19 Oct 2016 12:47:52 +0000 (14:47 +0200)]
Merge pull request #1039 from analbeard/master

fixed breakage on Debian under ansible v2.0 caused by #74d73d1e65b672

8 years agofixed breakage on Debian under ansible v2.0 caused by #74d73d1e65b6720c0372c61aea7a62... 1039/head
Simon Weald [Wed, 19 Oct 2016 11:36:49 +0000 (12:36 +0100)]
fixed breakage on Debian under ansible v2.0 caused by #74d73d1e65b6720c0372c61aea7a627e4e571a3b

8 years agoMerge pull request #1035 from verdurin/centos-extras
Leseb [Tue, 18 Oct 2016 16:23:40 +0000 (18:23 +0200)]
Merge pull request #1035 from verdurin/centos-extras

Ensure extras repo enabled on CentOS

8 years agoMerge pull request #1036 from analbeard/master
Leseb [Tue, 18 Oct 2016 11:52:08 +0000 (13:52 +0200)]
Merge pull request #1036 from analbeard/master

forced an apt-get update prior to installing any packages from Ceph r…

8 years agoEnsure extras repo enabled for CentOS across different roles 1035/head
Adam Huffman [Mon, 17 Oct 2016 20:44:30 +0000 (21:44 +0100)]
Ensure extras repo enabled for CentOS across different roles

Signed-off-by: Adam Huffman <bloch@verdurin.com>
8 years agoforced an apt-get update prior to installing any packages from Ceph repos 1036/head
Simon Weald [Mon, 17 Oct 2016 14:37:26 +0000 (15:37 +0100)]
forced an apt-get update prior to installing any packages from Ceph repos

8 years agoRemove superfluous distro family check
Adam Huffman [Mon, 17 Oct 2016 09:39:06 +0000 (10:39 +0100)]
Remove superfluous distro family check

Signed-off-by: Adam Huffman <bloch@verdurin.com>
8 years agosite.yml.sample: Attempt to install python2 1029/head
Brad Hubbard [Wed, 12 Oct 2016 04:03:52 +0000 (14:03 +1000)]
site.yml.sample: Attempt to install python2

Some modern distros ship without python2 so we need to install it blindly,
before any module is run. Fedora > 23 also requires some aditional packages be
installed.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoEnsure extras repo enabled on CentOS
Adam Huffman [Sun, 16 Oct 2016 22:23:43 +0000 (23:23 +0100)]
Ensure extras repo enabled on CentOS

8 years agoMerge pull request #1022 from jsaintrocc/vagrant-xenial
Leseb [Thu, 13 Oct 2016 09:45:50 +0000 (18:45 +0900)]
Merge pull request #1022 from jsaintrocc/vagrant-xenial

Updated to use xenial by default.  Added OSD specific controller.

8 years agoMerge pull request #1028 from badone/wip-vagrant_box_url
Leseb [Wed, 12 Oct 2016 03:59:06 +0000 (12:59 +0900)]
Merge pull request #1028 from badone/wip-vagrant_box_url

vagrant_variables.yml.sample: vagrant_url should be vagrant_box_url

8 years agovagrant_variables.yml.sample: vagrant_url should be vagrant_box_url 1028/head
Brad Hubbard [Wed, 12 Oct 2016 02:35:01 +0000 (12:35 +1000)]
vagrant_variables.yml.sample: vagrant_url should be vagrant_box_url

As per the variable in Vagrantfile and vagrant_variables.yml.linode

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #1023 from ceph/fix-copy-rundep
Leseb [Tue, 11 Oct 2016 02:59:40 +0000 (11:59 +0900)]
Merge pull request #1023 from ceph/fix-copy-rundep

common: fix rundep installation

8 years agoSwitched to using the bento/ubuntu-16.04 box 1022/head
James Saint-Rossy [Mon, 10 Oct 2016 19:10:30 +0000 (15:10 -0400)]
Switched to using the bento/ubuntu-16.04 box