Sébastien Han
81a72cb85d
Merge pull request #1068 from ceph/v2.2
...
moving to ansible v2.2 compatibility
2016-11-16 16:33:40 +01:00
Sébastien Han
200388d532
Merge pull request #1082 from albertomurillo/v2.2
...
sync config_template plugin with master branch
2016-11-16 15:50:55 +01:00
Sébastien Han
97165abd8a
Merge pull request #1091 from ceph/rgw-when
...
ceph-rgw: add systemd condition
2016-11-14 16:25:26 +01:00
Sébastien Han
d4cf547f0e
Merge pull request #1032 from ceph/backward-compat-rhcs
...
common: backward compatibility name for rhcs
2016-11-14 15:49:42 +01:00
Sébastien Han
c16fd4b148
ceph-rgw: add systemd condition
...
We have a fact that detects the package manager, so we can detect if
systemd is used. Radosgw was still using some old logic from Ubuntu.
Ubuntu 16.04 now has systemd so we don't need to configure rgw as it was
running on upstart.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-11-14 15:12:20 +01:00
Andrew Schoen
06ce643f7d
common: reformat mon_initial_members with indention
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates
2016-11-08 10:35:43 -06:00
Andrew Schoen
dea9fbe9d0
common: provide a default for monitor_address_block
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates
2016-11-08 10:35:43 -06:00
Andrew Schoen
fcacf90939
common: check for monitor_interface before monitor_address in ceph.conf
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates
2016-11-08 10:35:42 -06:00
Alberto Murillo Silva
d16a6b47f0
sync config_template plugin with master branch
...
ansible 2.2 deprecates first_available_file option which is used in
the config_template module by 'generate ceph configuration file' task.
This change syncs the config_module files from their master repository
in github.com/openstack/openstack/ansible-plugins which includes the fix
2f6cac2cf6
Signed-off-by: Alberto Murillo Silva <alberto.murillo.silva@intel.com>
2016-11-08 10:12:16 -06:00
Sébastien Han
a2fcd222d2
moving to ansible v2.2 compatibility
...
Signed-off-by: Sébastien Han <seb@redhat.com>
Co-Authored-By: Julien Francoz julien@francoz.net
2016-11-04 10:09:38 +01: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
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
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
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
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
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
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
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
Gunwoo Gim (a.k.a. Nicho1as)
0421ade0df
now you can use a network link name with a hyphen
2016-10-25 00:49:11 +09:00
Sébastien Han
1e6c418a65
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>
2016-10-22 01:31:15 +02:00
Adam Huffman
68bafc1fd0
Change enabling of extras repo for CentOS to use ini_file
...
Signed-off-by: Adam Huffman <bloch@verdurin.com>
2016-10-19 22:15:14 +01:00
Simon Weald
5973f67b7b
fixed breakage on Debian under ansible v2.0 caused by #74d73d1e65b6720c0372c61aea7a627e4e571a3b
2016-10-19 12:36:49 +01:00
Leseb
74d73d1e65
Merge pull request #1035 from verdurin/centos-extras
...
Ensure extras repo enabled on CentOS
2016-10-18 18:23:40 +02:00
Adam Huffman
9de16e4d94
Ensure extras repo enabled for CentOS across different roles
...
Signed-off-by: Adam Huffman <bloch@verdurin.com>
2016-10-17 21:44:30 +01:00
Simon Weald
6adab85df2
forced an apt-get update prior to installing any packages from Ceph repos
2016-10-17 15:37:26 +01:00
Adam Huffman
4315166e91
Remove superfluous distro family check
...
Signed-off-by: Adam Huffman <bloch@verdurin.com>
2016-10-17 10:39:06 +01:00
Adam Huffman
f3dea0d40a
Ensure extras repo enabled on CentOS
2016-10-16 23:23:43 +01:00
Sébastien Han
a3979229fb
common: backward compatibility name for rhcs
...
backward compatibility for ceph-ansible version running latest code but
using variables defined before commit: 492518a2
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-10-14 15:19:11 +02:00
Sébastien Han
dafb100e2a
common: fix rundep installation
...
see: https://bugzilla.redhat.com/show_bug.cgi?id=1382878
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-10-10 16:57:37 +09:00
9seconds
ff629f749b
Merge remote-tracking branch 'upstream/master' into cluster_name_for_ceph_fetch_keys
2016-10-07 16:08:58 +03:00
suuuper
1abed53f7d
Fixed packages for red hat
2016-10-07 10:36:19 +02:00
9seconds
0184469229
Allow to propagate cluster name to ceph-fetch-keys
...
ceph-fetch-keys role currently works only if cluster name is 'ceph'.
This commit allows to set custom cluster name in 'defaults' in the same
fashion as other roles do.
2016-10-07 09:06:22 +03:00
Sébastien Han
9753e29bae
osd: clarify osd scenarios
...
Co-Authored-By: Rachana Patel <racpatel@redhat.com>
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-10-06 12:01:29 +02:00
Leseb
bceb892a8e
Merge pull request #1006 from ceph/fix-autodiscovery
...
osd: fix autodiscovery disk
2016-10-06 11:34:43 +02:00
Sébastien Han
860303c265
osd: fix autodiscovery disk
...
Signed-off-by: Sébastien Han <seb@redhat.com>
Co-Authored-By: Christoph Dwertmann
2016-10-06 11:12:23 +02:00
Musee Ullah
564a8486b0
Remove dupes in raw_journal_devices in a consistent manner
2016-10-05 14:36:41 -07:00
OrFriedmann
14bb9026b9
Update install_on_debian.yml
2016-10-05 16:13:30 +03:00
OrFriedmann
cbaa71d198
add installation of jemalloc for nfs-ganesha
2016-10-05 16:07:25 +03:00
OrFriedmann
1294d94850
add repositories required for nfs-ganesha
2016-10-05 16:04:39 +03:00
Leseb
393765c973
Merge pull request #966 from ceph/nfs-ganesha-repo
...
common: add gluster ganesha repo on Debian
2016-10-05 14:10:25 +02:00
Leseb
afd0389361
Merge pull request #996 from batrick/multimds
...
multimds: add commands to enable and set max_mds
2016-10-04 17:43:29 +02:00
Patrick Donnelly
4127828094
multimds: add commands to enable and set max_mds
...
Also regenerated group_vars.
Fixes #986 .
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2016-10-04 09:40:20 -06:00
Patrick Donnelly
c5d2170d96
secure_cluster: fix leftover version check
...
Missed by #953 .
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2016-10-04 09:39:44 -06:00