Sébastien Han
c6232bed21
ceph-common: uniformize template path calls
...
In order to align all Ansible versions, we now use the full path for the
template. We rely on `role_path` variable. Now all the tasks using
the template module have a uniform syntax.
Might fix issue raised in #483
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-06-02 18:19:03 +02:00
Alfredo Deza
254d75f671
ceph-common: install ceph-common packages for clients on debian for rhcs
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#1339096
2016-05-31 12:09:50 -04:00
Alfredo Deza
3b52b263eb
ceph-common: install ceph-common packages for clients on redhat for rhcs
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#1339096
2016-05-31 12:09:31 -04:00
Leseb
06b855d071
Merge pull request #816 from pamelia/master
...
allow dash in cluster name
2016-05-29 15:56:04 +02:00
Marcus Pamelia
d694c59278
allow dash in cluster name
2016-05-29 09:20:46 +02:00
Alfredo Deza
312f72dc5b
ceph-common: include the new install_rh_storage_on_redhat playbook when ceph_stable_rh_storage is on:
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#1339096
2016-05-25 08:45:22 -04:00
Alfredo Deza
aced6751f7
ceph-common: create a new install task for rh storage on redhat
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#1339096
2016-05-25 08:45:16 -04:00
Alfredo Deza
130d425d26
ceph-common: specify file path for repo key
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#1339068
2016-05-24 08:28:34 -04:00
Leseb
866fcb7794
Merge pull request #789 from ceph/default-ceph-path
...
ceph-common: fix ceph options default path again
2016-05-24 10:32:15 +02:00
Alfredo Deza
570c01a04d
ceph-common: there is no Installer repo, it is now the Tools repo
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-05-23 09:13:30 -04:00
Sébastien Han
82aec38a71
ceph-rgw: implement num_threads for civetweb
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-20 14:31:49 +02:00
Leseb
cc894d4044
Merge pull request #800 from ceph/BZ-1337320
...
ceph-common: on rh storage on debian add the repositories and keys (ISO)
2016-05-20 14:18:07 +02:00
Leseb
5984888a2f
Merge pull request #797 from ceph/rgw-debian-rhcs
...
install ceph-mds and radosgw on debian systems when using red hat ceph storage
2016-05-20 14:07:02 +02:00
Leseb
3aaeaf8940
Merge pull request #802 from ceph/BZ-1337305
...
ceph-common: redhat repo template: remove the Calamari reference
2016-05-20 14:05:33 +02:00
Alfredo Deza
ed22cfa213
ceph-common: redhat repo template: remove the Calamari reference, no longer a distinct repo
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-05-19 16:17:02 -04:00
Alfredo Deza
c78313d19f
ceph-common: on rh storage on debian do not add the rh key by default
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-05-19 15:16:18 -04:00
Alfredo Deza
41bb446857
ceph-osd: fix typo when calling sgdisk second time around
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-05-19 14:46:43 -04:00
Alfredo Deza
329ac01d49
ceph-common: on rh storage on debian add the repositories and keys
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-05-19 14:20:47 -04:00
Leseb
7f85b0d5ff
Merge pull request #796 from ceph/fix-rgw-frontends
...
fix the radosgw_civetweb_bind_ip default value
2016-05-19 16:14:32 +01:00
Andrew Schoen
eb92cb57e4
install ceph-mds on debian systems when using red hat ceph storage
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-05-19 09:56:06 -05:00
Andrew Schoen
7157afc7ce
install radosgw on debian systems when using red hat ceph storage
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-05-19 09:52:18 -05:00
Andrew Schoen
a6a946d86b
fix the radosgw_civetweb_bind_ip default value
...
We want just the address for ansible_default_ipv4, not the entire
dictionary in ceph.conf.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-05-18 15:53:47 -05:00
Alfredo Deza
7b8c16b4e9
ceph-common: remove RedHat-only constraint for RH ISO install
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-05-18 16:40:28 -04:00
Sébastien Han
1d5d438e5d
ceph-common: list impacted versions
...
For the ceph option default path
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-18 15:25:49 +01:00
Alfredo Deza
52f73f30c5
ceph-osd: fail when ceph-disk fails to prepare an OSD
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-05-18 08:09:26 -04:00
Sébastien Han
e071b773d8
ceph-common: add explanation message
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-16 18:55:54 +02:00
Leseb
746a384e03
Merge pull request #781 from ceph/no-symlink-systemd
...
Do not create symlinks for systemd manually
2016-05-16 18:38:40 +02:00
Sébastien Han
e7aae27801
ceph-common: fix ceph options default path again
...
closes : #788
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-16 18:37:28 +02:00
Andrew Schoen
85fb03fc99
fix the /etc/default/ceph path on debian when setting cluster name
...
In ceph version 10.2.1 a bug was fixed that corrects the path:
791eba81a5
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-05-13 15:22:24 -05:00
Andrew Schoen
d2b94c2a4c
Do not create symlinks for systemd manually
...
Instead use 'systemctl enable' to create the symlinks.
This fixes: https://github.com/ceph/ceph-ansible/issues/779
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-05-13 13:21:08 -05:00
Huamin Chen
7f85c2512f
don't recreate /etc/ceph with wrong mode
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-05-12 13:47:52 +00:00
Leseb
82a249e742
Merge pull request #771 from ceph/client-role
...
ceph-client: introduce new client role
2016-05-11 14:40:15 +02:00
Sébastien Han
40df8fb814
ceph-client: introduce new client role
...
By default, this roles will create a ceph config file and get the admin
key. You can optionnally add other users, keys and pools for your tests.
Closes : #769
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-11 14:36:35 +02:00
Samuel Matzek
9fec57a583
Add Debian ppc64le support
...
Add support to allow ceph-ansible to install and
configure Ceph on Debian on the ppc64le architecture.
Canonical has ppc64le Debian packages in Ubuntu distros
and on Ubuntu Cloud Archive. Both of which can be installed
and configured using the 'distro' or 'uca' options in
ceph-ansible when this patch is used.
Signed-off-by: Samuel Matzek <smatzek@us.ibm.com>
2016-05-10 14:26:30 -05:00
Leseb
52b2f1cb85
Merge pull request #694 from ceph/purge-ceph-conf-options
...
ceph-common: purge ceph.conf file
2016-05-10 18:24:07 +02:00
Sébastien Han
47860a887f
ceph-common: purge ceph.conf file
...
Since ##461 we have been having the ability to override ceph default
options. Previously we had to add a new line in the template and then
another variable as well. Doing a PR for one option was such a pain. As
a result, we now have tons of options that we need to maintain across
all the ceph version, yet another painful thing to do.
This commit removes all the ceph options so they are handled by ceph
directly. If you want to add a new option, feel free to to use the
`ceph_conf_overrides` variable of your `group_vars/all`.
Risks, for those who have been managing their ceph using ceph-ansible
this is not a trivial change as it will trigger a change in your
`ceph.conf` and then restart all your ceph services. Moreover if you did
some specific tweaks as well, prior to run ansible you should update the
`ceph_conf_overrides` variable to reflect your previous changes.
To avoid service restart, you need to know a bit of ansible for this,
but generally the idea would be to run ansible on a dummy host to
generate the ceph.conf, then scp this file to all your ceph hosts and
you should be good.
Closes : #693
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-10 16:51:42 +02:00
Stephan Hohn
4dad21c481
Increase system stabillity by re-enabling swap and setting vm.swappiness to 10
2016-05-09 22:05:01 +02:00
Leseb
f748f8683c
Merge pull request #749 from SamYaple/unified_when
...
Unify formatting of when conditional
2016-05-09 18:25:37 +02:00
Sam Yaple
14d31c7bcd
Add in missing is_before_infernalis statement
2016-05-09 15:26:37 +00:00
Sam Yaple
1d5406c4a3
Fixed a few missed when conditionals from rebase
2016-05-09 14:17:14 +00:00
Sam Yaple
069c93a238
Unify formatting of when conditional
...
This is purely a refactor. Converts when 'and' conditionals into lists
rather than multiline strings. This does not work for nested
conditionals, but those can be formated with indents.
Moves one line when statements onto the same line as the when command
itself.
A small logic bug was found in ceph-osd/tasks/check_devices.yml which
which was also fixed.
Signed-off-by: Sam Yaple <sam@yaple.net>
2016-05-09 14:08:33 +00:00
Alfredo Deza
2aea592b21
try to zap a device again if sgdisk fails on the first try
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-05-09 09:12:28 -04:00
Li Peng
92c48f3f2b
cleanup: fix inappropriate variable names
...
Signed-off-by: Li Peng <lip@dtdream.com>
2016-05-09 15:14:13 +08:00
Li Peng
aaeadcab12
cleanup: fix typos
...
Signed-off-by: Li Peng <lip@dtdream.com>
2016-05-09 15:12:01 +08:00
Leseb
30f7208334
Merge pull request #748 from ceph/use-jewel
...
ceph: use jewel release
2016-05-09 01:13:54 +02:00
Leseb
1b8d021ef0
Merge pull request #764 from ceph/systemd
...
Several fixes
2016-05-09 01:00:02 +02:00
Sébastien Han
c8e5e49552
ceph-mon: fix monitor startup
...
Somehow on CentOS 7.2 with Jewel, the service enablement by the Ansible service module
does not seem to work properly.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-09 00:41:44 +02:00
Sébastien Han
b3971354bf
ceph-mds: fix the handler
...
Moving the mds_name fact in the common role so the MDS can properly
be restarted.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-09 00:39:03 +02:00
Sébastien Han
7949c2d512
ceph-mds: fix MDS conditions
...
We don't need to set is_systemd when we are applying a configuration for
a sysvinit init.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-09 00:34:44 +02:00
Sébastien Han
c4f3ab5649
ceph-common: install ceph-mds package
...
We kinda ommitted this package, now Jewel is out and the metadata server
is considered as stable.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-07 02:37:09 +02:00