Alfredo Deza
69632b3ed2
tests: define a requirements.txt file
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness
2016-11-04 13:59:33 -04:00
Alfredo Deza
ab805824ea
tests: create an example scenario file
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness
2016-11-04 13:59:33 -04:00
Alfredo Deza
05dace442d
tests: create the conftest file that does all the magic
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness
2016-11-04 13:59:33 -04:00
Alfredo Deza
4b93837e4d
tests: add the symlinked Vagrantfile to initial_members
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness
2016-11-04 13:59:33 -04:00
Alfredo Deza
f828b3d3fc
create a scenario config file for mon initial members
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness
2016-11-04 13:59:33 -04:00
Alfredo Deza
cdac170cbf
tests: add __init__.py for functional tests
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness
2016-11-04 13:59:33 -04:00
Alfredo Deza
757356d57e
tests: common basic tests for after installation
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness
2016-11-04 13:59:32 -04:00
Alfredo Deza
fe7bfbb62f
tests: add __init__.py for mon tests
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness
2016-11-04 13:59:32 -04:00
Alfredo Deza
d73843c36c
tests: create a test to check for mon_initial_members
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness
2016-11-04 13:59:32 -04:00
Alfredo Deza
d8b380c536
tests: placeholder pytest.ini to define test root dir
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness
2016-11-04 13:59:32 -04:00
Leseb
dbb4968f68
Merge pull request #1073 from ceph/upgrade
...
rolling_update: add variable to upgrade ceph
2016-11-04 17:34:12 +01:00
Sébastien Han
991341f525
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>
2016-11-04 17:31:02 +01:00
Ivan Font
85b766034b
Merge pull request #1070 from ceph/RHBZ-1391675
...
rolling update: fix restarts of radosgw
2016-11-03 13:12:34 -07:00
Andrew Schoen
8262ce5e40
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>
2016-11-03 14:36:42 -05:00
Andrew Schoen
6115ad11d5
Merge pull request #1069 from ceph/dmycrypt-checks
...
osd dmcrypt: add ability to check devices
2016-11-03 10:28:22 -05:00
Leseb
d4320d4dea
Merge pull request #1065 from ceph/fix-conf-template
...
various fixes for the ceph.conf template
2016-11-03 15:30:51 +01:00
Andrew Schoen
f87aabcb21
common: remove underscores in ceph.conf so config names are consistent
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-11-03 09:25:03 -05:00
Sébastien Han
32018f80a1
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>
2016-11-03 15:20:07 +01:00
Leseb
08415f49c5
Merge pull request #1066 from eduardegorov/egorove_missed_file_for_PR_#1024
...
Adjust 'devices' list check for being not defined in purge-cluster pl…
2016-11-03 11:57:00 +01:00
Eduard Egorov
ab5c9f2a67
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>
2016-11-03 06:36:42 +00:00
Andrew Schoen
65544fb6aa
ceph-common: remove unused mon_addr_interface.j2 template
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-11-02 15:36:03 -05:00
Andrew Schoen
66bf9eca20
ceph-common: remove unused mon_addr_address.j2 template
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-11-02 15:35:07 -05:00
Andrew Schoen
49dba08c05
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>
2016-11-02 15:27:12 -05:00
Leseb
899c8b309f
Merge pull request #1024 from eduardegorov/egorove_make_devices_optional
...
Make {{ devices }} list optional
2016-11-02 15:12:02 +01:00
Leseb
228470a51f
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
2016-11-01 19:18:06 +01:00
Eduard Egorov
e5473ee565
Fix typos
...
Signed-off-by: Eduard Egorov <eduard.egorov@icl-services.com>
2016-11-01 12:29:21 +00:00
Eduard Egorov
3652bb708b
Fix rbd-mirrors group name
...
Signed-off-by: Eduard Egorov <eduard.egorov@icl-services.com>
2016-11-01 12:21:47 +00:00
Eduard Egorov
645b5efebf
Fix hard-coded host group names in include tasks for group variables' file paths.
...
Signed-off-by: Eduard Egorov <eduard.egorov@icl-services.com>
2016-11-01 12:21:40 +00:00
Eduard Egorov
557d26ca8e
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>
2016-11-01 10:07:03 +00:00
Eduard Egorov
4895c2864e
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>
2016-11-01 09:57:25 +00:00
Eduard Egorov
f33c1cd2d2
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>
2016-11-01 09:57:25 +00:00
Leseb
59ee496088
Merge pull request #1045 from wind0204/pr-monitor_interface_with_hyphens
...
now you can use a network link name with a hyphen
2016-10-31 21:15:55 +01:00
Leseb
fb8167cf79
Merge pull request #1052 from verdurin/revert-1042-centos-extras-ini_file
...
Revert "Change enabling of extras repo for CentOS to use ini_file"
2016-10-31 16:31:51 +01:00
Leseb
a74dbc338f
Merge pull request #1060 from ceph/issue-1054
...
raw_multi_journal is not required when using dmcrypt_dedicated_journal
2016-10-31 12:24:17 +01:00
Leseb
0e028f9043
Merge pull request #1048 from cloudnull/config_template_v22
...
Updated config_template for 2.2 compat
2016-10-31 11:25:48 +01:00
Andrew Schoen
4146edb3d2
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
2016-10-28 11:12:55 -05:00
Alfredo Deza
3cba5172be
Merge pull request #1057 from ceph/RHBZ-1389456
...
rolling_update: define mon_group_name when upgrading the mons
2016-10-27 15:23:27 -04:00
Andrew Schoen
0897c965ff
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
2016-10-27 14:17:56 -05:00
Alfredo Deza
63239e05cf
Merge pull request #1050 from ceph/issue-1041
...
ceph-osd: use ini_file instead of yum_repository to enable Centos extras
2016-10-27 08:08:16 -04:00
Alfredo Deza
d2cd0d9557
Merge pull request #1055 from ceph/update-role-path
...
rebased rolling_update: fix wrong indent
2016-10-26 14:12:26 -04:00
Sébastien Han
b0989c700f
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>
2016-10-26 12:51:08 -05:00
Andrew Schoen
77e428b182
Merge pull request #1049 from font/rolling_update
...
Update for infrastructure-playbooks execution
2016-10-26 12:11:11 -05:00
Ivan Font
534b188396
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>
2016-10-26 09:43:37 -07:00
Alfredo Deza
4e3bc748e0
Merge pull request #1051 from ceph/syntax-fixes
...
infrastructure-playbooks: fix syntax errors in all playbooks
2016-10-26 08:41:37 -04:00
Adam Huffman
3b9f4f7de3
Revert "Change enabling of extras repo for CentOS to use ini_file"
2016-10-26 10:04:59 +02:00
Andrew Schoen
bebf412c92
infrastructure-playbooks: fix syntax errors in all playbooks
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-10-25 16:56:58 -05:00
Andrew Schoen
3b2bd02c14
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
2016-10-25 14:16:42 -05:00
Kevin Carter
7da0c7913b
Updated config_template for 2.2 compat
...
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-10-25 10:38:09 -05:00
Leseb
860ee8cfc9
Merge pull request #1029 from badone/wip-python2
...
site.yml.sample: Attempt to install python2
2016-10-25 10:15:05 +02:00
Leseb
4883fa6161
Merge pull request #1042 from verdurin/centos-extras-ini_file
...
Change enabling of extras repo for CentOS to use ini_file
2016-10-25 09:50:52 +02:00