Commit Graph

1273 Commits (570c01a04d048b4a292dd1fb6ad01b1c2820e17d)
 

Author SHA1 Message Date
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
Leseb a61da9bd81 Merge pull request #787 from ceph/civet-threads
ceph-rgw: implement num_threads for civetweb
2016-05-20 14:32:16 +02: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
Leseb 7f466858cd Merge pull request #801 from ceph/fix-shell-typo
ceph-osd: fix typo when calling sgdisk second time around
2016-05-20 14:03:38 +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
Leseb d91701ab11 Merge pull request #795 from ceph/ubuntu-iso
ceph-common: remove RedHat-only constraint for RH ISO install
2016-05-18 22:22:07 +01: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
Leseb 2f073584f2 Merge pull request #794 from ceph/issue-780
ceph-osd: fail when ceph-disk fails to prepare an OSD
2016-05-18 13:27:17 +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
Leseb 60b3121d2b Merge pull request #793 from ceph/server-package-split-doc
README: add some doc for use_server_package_split
2016-05-17 09:26:02 +02:00
Sébastien Han 35cb054a7d README: add some doc for use_server_package_split
Closing #783

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-17 09:24:08 +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
Leseb 6cd473317b Merge pull request #786 from rnowling/readme-fixes
Fix some spelling, formatting in README
2016-05-16 17:36:49 +02:00
RJ Nowling b18c7282ee Fix some spelling, formatting in README
Signed-off-by: RJ Nowling <rnowling@gmail.com>
2016-05-16 15:35:03 +00:00
Leseb 5b354bac31 Merge pull request #785 from gbraad/master
Trivial; grammar changes
2016-05-16 09:41:04 +02:00
Gerard Braad 6b7fc157b4 Trivial; grammar changes 2016-05-16 03:51:12 +00:00
Leseb 46b223bd8e Merge pull request #784 from ceph/fix-debian-cluster-name
fix the /etc/default/ceph path on debian when setting cluster name
2016-05-14 19:14:54 +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
Leseb 6589a6f090 Merge pull request #777 from rootfs/fix
don't recreate /etc/ceph with wrong mode
2016-05-12 15:56:57 +02: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
Leseb 9fe212c924 Merge pull request #773 from ceph/purge-conf-2
ceph-common: update the README for purge config
2016-05-11 09:16:05 +02:00
Sébastien Han ce833157cb ceph-common: update the README for purge config
Highlight the variables that were used prior to this path:
https://github.com/ceph/ceph-ansible/pull/694

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-11 09:14:55 +02:00
Leseb a12249c315 Merge pull request #772 from smatzek/add_debian_ppc64le_support
Add Debian ppc64le support
2016-05-10 23:20:45 +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
Leseb 7a9a62302a Merge pull request #768 from mcsage/master
Make install-ansible.sh work with Linux Mint and enable swap by default but decrease vm.swappiness
2016-05-10 10:24:02 +02:00
Stephan Hohn 6ae24541ce align group_vars/all.sample with roles/ceph-common/defaults/main.yml 2016-05-10 10:20:23 +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
Stephan Hohn fe07fad877 Make install-ansible.sh work with Linux Mint 2016-05-09 21:14:34 +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
Leseb 39bda5b41f Merge pull request #766 from ceph/retry-sgdisk
try to zap a device again if sgdisk fails on the first try
2016-05-09 17:05:21 +02: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
Leseb 4cf2d98de3 Merge pull request #765 from flyd1005/wip-fix-typo
cleanup: fix typos and inappropriate variable names
2016-05-09 11:09:22 +02:00