]>
git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
Leseb [Fri, 3 Jun 2016 08:46:12 +0000 (10:46 +0200)]
Merge pull request #837 from ceph/rhbz-
1342117
Do not ignore ceph-disk issues
Leseb [Thu, 2 Jun 2016 22:23:33 +0000 (00:23 +0200)]
Merge pull request #836 from ceph/RHBZ-
1337601
include the red hat storage apt-key as a file
Leseb [Thu, 2 Jun 2016 22:19:05 +0000 (00:19 +0200)]
Merge pull request #838 from ksingh7/fix-819
Fix for #819
Alfredo Deza [Thu, 2 Jun 2016 21:16:21 +0000 (17:16 -0400)]
ceph-osd: do not ignore ceph-disk errors in raw multi journal
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#
1342117
Alfredo Deza [Thu, 2 Jun 2016 21:16:05 +0000 (17:16 -0400)]
ceph-osd: do not ignore ceph-disk errors in journal_collocation
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#
1342117
Alfredo Deza [Thu, 2 Jun 2016 21:15:35 +0000 (17:15 -0400)]
ceph-osd: do not ignore ceph-disk errors in bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#
1342117
Andrew Schoen [Thu, 2 Jun 2016 20:20:04 +0000 (15:20 -0500)]
include the red hat storage apt-key as a file
This will allow nodes to install rhcs that do
not have access to the internet.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: rhbz#
1337601
Leseb [Thu, 2 Jun 2016 16:52:48 +0000 (18:52 +0200)]
Merge pull request #833 from ceph/template-path
ceph-common: uniformize template path calls
Sébastien Han [Thu, 2 Jun 2016 08:52:23 +0000 (10:52 +0200)]
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>
Leseb [Thu, 2 Jun 2016 15:18:32 +0000 (17:18 +0200)]
Merge pull request #831 from SamYaple/fix_when
The when conditional was improperly being checked
Sam Yaple [Thu, 2 Jun 2016 14:54:36 +0000 (14:54 +0000)]
Add undefined vars to ceph-common role
This is a temporary action to get the playbooks functional before a
refactor to better correct this issue.
Sam Yaple [Thu, 2 Jun 2016 14:45:00 +0000 (14:45 +0000)]
Revert "Fix commit conditionals"
This reverts commit
9ed45f7367bc03ccaa5c40e574e5a5036493c856 .
karan singh [Thu, 2 Jun 2016 10:08:19 +0000 (13:08 +0300)]
Fix for #819
This commit removes /etc/yum.repos.d/rh_storage.repo file
for RedHat OS with RHCS ISO install during cluster purge
Leseb [Thu, 2 Jun 2016 09:32:48 +0000 (11:32 +0200)]
Merge pull request #832 from ceph/RHBZ-
1339439
remove the gpgkey line from the red hat storage repo template
Leseb [Thu, 2 Jun 2016 08:55:53 +0000 (10:55 +0200)]
Merge pull request #828 from jimcurtis/master
docker: enable rgw container on Atomic host environment
Andrew Schoen [Wed, 1 Jun 2016 19:00:31 +0000 (14:00 -0500)]
remove the gpgkey line from the red hat storage repo template
See: https://bugzilla.redhat.com/show_bug.cgi?id=
1339439
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: rhbz#
1339439
Sam Yaple [Wed, 1 Jun 2016 18:31:30 +0000 (18:31 +0000)]
Add defaults to False for undefined variables
Sam Yaple [Wed, 1 Jun 2016 18:14:13 +0000 (18:14 +0000)]
Fix commit conditionals
The goal is to _fail_ this when conditional when one (and only one) is
set. The 'not's were incorrectly added.
Sam Yaple [Wed, 1 Jun 2016 17:58:26 +0000 (17:58 +0000)]
The when conditional was improperly being checked
The scenarios were not being accurately compared to ensure that:
* A single scenario was choosen
* ONLY a single scenario was choosen
This solution does not scale for long, but that can be addressed in a
different patchset.
Jim Curtis [Wed, 1 Jun 2016 16:55:08 +0000 (09:55 -0700)]
docker: review feedback on PR #828
Leseb [Wed, 1 Jun 2016 09:41:51 +0000 (11:41 +0200)]
Merge pull request #827 from gcharot/gcharot-master
LSB Release is not installed by default on minimal OS installs (for e…
Jim Curtis [Tue, 31 May 2016 19:59:05 +0000 (12:59 -0700)]
docker: enable rgw container on Atomic host environment
Alfredo Deza [Tue, 31 May 2016 18:53:56 +0000 (14:53 -0400)]
Merge pull request #823 from ceph/rhbz-
1339096
ceph-common: ceph-base is not part of rhstorage, remove it
root [Tue, 31 May 2016 14:49:40 +0000 (10:49 -0400)]
LSB Release is not installed by default on minimal OS installs (for example cloud-images). Script fails with a "command not found" erroor.
Checking if lsb_release is present BEFORE doing the test
Change os_VERSION to grab the major OS version instead of the distro codename
When installing EPEL, use $os_VERSION to grab the correct rpm instead of using hardcoded '7' package that would fail on other versions.
os_Version can also be use to deprecate old version on which ceph-ansible is not supported.
Alfredo Deza [Tue, 31 May 2016 16:09:50 +0000 (12:09 -0400)]
ceph-common: install ceph-common packages for clients on debian for rhcs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#
1339096
Alfredo Deza [Tue, 31 May 2016 16:09:31 +0000 (12:09 -0400)]
ceph-common: install ceph-common packages for clients on redhat for rhcs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#
1339096
Leseb [Tue, 31 May 2016 13:05:17 +0000 (15:05 +0200)]
Merge pull request #822 from gcharot/patch-2
Specify OSD journal size unit
Leseb [Tue, 31 May 2016 13:03:52 +0000 (15:03 +0200)]
Merge pull request #821 from gcharot/patch-1
Ambiguous "version is only supported on RHEL 7.1"
Grégory Charot [Tue, 31 May 2016 12:45:42 +0000 (14:45 +0200)]
Specify OSD journal size unit
Specify unit to use for the journal_size parameter.
Grégory Charot [Tue, 31 May 2016 12:32:04 +0000 (14:32 +0200)]
Ambiguous "version is only supported on RHEL 7.1"
Change from "only supported on RHEL 7.1" to "only supported on RHEL >= 7.1" for RHS
Leseb [Sun, 29 May 2016 13:56:04 +0000 (15:56 +0200)]
Merge pull request #816 from pamelia/master
allow dash in cluster name
Marcus Pamelia [Sun, 29 May 2016 07:20:46 +0000 (09:20 +0200)]
allow dash in cluster name
Leseb [Wed, 25 May 2016 13:07:59 +0000 (15:07 +0200)]
Merge pull request #810 from ceph/rhbz-
1339096
Include rh_storage repo/installs when specified
Alfredo Deza [Tue, 24 May 2016 14:10:37 +0000 (10:10 -0400)]
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
Alfredo Deza [Tue, 24 May 2016 14:07:34 +0000 (10:07 -0400)]
ceph-common: create a new install task for rh storage on redhat
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#
1339096
Leseb [Tue, 24 May 2016 13:47:01 +0000 (15:47 +0200)]
Merge pull request #809 from ceph/rhbz-
1339068
ceph-common: specify file path for repo key
Alfredo Deza [Tue, 24 May 2016 12:28:34 +0000 (08:28 -0400)]
ceph-common: specify file path for repo key
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#
1339068
Leseb [Tue, 24 May 2016 08:39:30 +0000 (10:39 +0200)]
Merge pull request #808 from jimcurtis/master
docker: Prefix OpenStack VM names to prevent collision
Leseb [Tue, 24 May 2016 08:32:15 +0000 (10:32 +0200)]
Merge pull request #789 from ceph/default-ceph-path
ceph-common: fix ceph options default path again
Jim Curtis [Mon, 23 May 2016 23:30:27 +0000 (16:30 -0700)]
docker: Prefix OpenStack VM names to prevent collision
Leseb [Mon, 23 May 2016 13:17:09 +0000 (15:17 +0200)]
Merge pull request #806 from ceph/BZ-
1338548
ceph-common: there is no Installer repo, it is now the Tools repo
Alfredo Deza [Mon, 23 May 2016 13:09:00 +0000 (09:09 -0400)]
ceph-common: there is no Installer repo, it is now the Tools repo
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Leseb [Fri, 20 May 2016 12:32:16 +0000 (14:32 +0200)]
Merge pull request #787 from ceph/civet-threads
ceph-rgw: implement num_threads for civetweb
Sébastien Han [Mon, 16 May 2016 15:38:02 +0000 (17:38 +0200)]
ceph-rgw: implement num_threads for civetweb
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Fri, 20 May 2016 12:18:07 +0000 (14:18 +0200)]
Merge pull request #800 from ceph/BZ-
1337320
ceph-common: on rh storage on debian add the repositories and keys (ISO)
Leseb [Fri, 20 May 2016 12:07:02 +0000 (14:07 +0200)]
Merge pull request #797 from ceph/rgw-debian-rhcs
install ceph-mds and radosgw on debian systems when using red hat ceph storage
Leseb [Fri, 20 May 2016 12:05:33 +0000 (14:05 +0200)]
Merge pull request #802 from ceph/BZ-
1337305
ceph-common: redhat repo template: remove the Calamari reference
Leseb [Fri, 20 May 2016 12:03:38 +0000 (14:03 +0200)]
Merge pull request #801 from ceph/fix-shell-typo
ceph-osd: fix typo when calling sgdisk second time around
Alfredo Deza [Thu, 19 May 2016 20:17:02 +0000 (16:17 -0400)]
ceph-common: redhat repo template: remove the Calamari reference, no longer a distinct repo
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 19 May 2016 19:16:18 +0000 (15:16 -0400)]
ceph-common: on rh storage on debian do not add the rh key by default
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 19 May 2016 18:46:43 +0000 (14:46 -0400)]
ceph-osd: fix typo when calling sgdisk second time around
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 19 May 2016 18:20:47 +0000 (14:20 -0400)]
ceph-common: on rh storage on debian add the repositories and keys
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Leseb [Thu, 19 May 2016 15:14:32 +0000 (16:14 +0100)]
Merge pull request #796 from ceph/fix-rgw-frontends
fix the radosgw_civetweb_bind_ip default value
Andrew Schoen [Thu, 19 May 2016 14:56:06 +0000 (09:56 -0500)]
install ceph-mds on debian systems when using red hat ceph storage
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 19 May 2016 14:52:18 +0000 (09:52 -0500)]
install radosgw on debian systems when using red hat ceph storage
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Leseb [Wed, 18 May 2016 21:22:07 +0000 (22:22 +0100)]
Merge pull request #795 from ceph/ubuntu-iso
ceph-common: remove RedHat-only constraint for RH ISO install
Andrew Schoen [Wed, 18 May 2016 20:53:47 +0000 (15:53 -0500)]
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>
Alfredo Deza [Wed, 18 May 2016 20:40:28 +0000 (16:40 -0400)]
ceph-common: remove RedHat-only constraint for RH ISO install
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Sébastien Han [Tue, 17 May 2016 09:47:25 +0000 (11:47 +0200)]
ceph-common: list impacted versions
For the ceph option default path
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Wed, 18 May 2016 12:27:17 +0000 (13:27 +0100)]
Merge pull request #794 from ceph/issue-780
ceph-osd: fail when ceph-disk fails to prepare an OSD
Alfredo Deza [Wed, 18 May 2016 12:09:26 +0000 (08:09 -0400)]
ceph-osd: fail when ceph-disk fails to prepare an OSD
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Leseb [Tue, 17 May 2016 07:26:02 +0000 (09:26 +0200)]
Merge pull request #793 from ceph/server-package-split-doc
README: add some doc for use_server_package_split
Sébastien Han [Tue, 17 May 2016 07:24:08 +0000 (09:24 +0200)]
README: add some doc for use_server_package_split
Closing #783
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Mon, 16 May 2016 16:55:54 +0000 (18:55 +0200)]
ceph-common: add explanation message
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Mon, 16 May 2016 16:38:40 +0000 (18:38 +0200)]
Merge pull request #781 from ceph/no-symlink-systemd
Do not create symlinks for systemd manually
Sébastien Han [Mon, 16 May 2016 16:37:28 +0000 (18:37 +0200)]
ceph-common: fix ceph options default path again
closes: #788
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Mon, 16 May 2016 15:36:49 +0000 (17:36 +0200)]
Merge pull request #786 from rnowling/readme-fixes
Fix some spelling, formatting in README
RJ Nowling [Mon, 16 May 2016 15:35:03 +0000 (15:35 +0000)]
Fix some spelling, formatting in README
Signed-off-by: RJ Nowling <rnowling@gmail.com>
Leseb [Mon, 16 May 2016 07:41:04 +0000 (09:41 +0200)]
Merge pull request #785 from gbraad/master
Trivial; grammar changes
Gerard Braad [Mon, 16 May 2016 03:51:12 +0000 (03:51 +0000)]
Trivial; grammar changes
Leseb [Sat, 14 May 2016 17:14:54 +0000 (19:14 +0200)]
Merge pull request #784 from ceph/fix-debian-cluster-name
fix the /etc/default/ceph path on debian when setting cluster name
Andrew Schoen [Fri, 13 May 2016 20:01:00 +0000 (15:01 -0500)]
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:
https://github.com/ceph/ceph/commit/
791eba81a5467dd5de4f1680ed0deb647eb3fb8b
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 13 May 2016 18:19:29 +0000 (13:19 -0500)]
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>
Leseb [Thu, 12 May 2016 13:56:57 +0000 (15:56 +0200)]
Merge pull request #777 from rootfs/fix
don't recreate /etc/ceph with wrong mode
Huamin Chen [Thu, 12 May 2016 13:47:52 +0000 (13:47 +0000)]
don't recreate /etc/ceph with wrong mode
Signed-off-by: Huamin Chen <hchen@redhat.com>
Leseb [Wed, 11 May 2016 12:40:15 +0000 (14:40 +0200)]
Merge pull request #771 from ceph/client-role
ceph-client: introduce new client role
Sébastien Han [Tue, 10 May 2016 16:29:27 +0000 (18:29 +0200)]
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>
Leseb [Wed, 11 May 2016 07:16:05 +0000 (09:16 +0200)]
Merge pull request #773 from ceph/purge-conf-2
ceph-common: update the README for purge config
Sébastien Han [Wed, 11 May 2016 07:14:55 +0000 (09:14 +0200)]
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>
Leseb [Tue, 10 May 2016 21:20:45 +0000 (23:20 +0200)]
Merge pull request #772 from smatzek/add_debian_ppc64le_support
Add Debian ppc64le support
Samuel Matzek [Tue, 10 May 2016 19:20:29 +0000 (14:20 -0500)]
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>
Leseb [Tue, 10 May 2016 16:24:07 +0000 (18:24 +0200)]
Merge pull request #694 from ceph/purge-ceph-conf-options
ceph-common: purge ceph.conf file
Sébastien Han [Thu, 7 Apr 2016 08:46:42 +0000 (10:46 +0200)]
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>
Leseb [Tue, 10 May 2016 08:24:02 +0000 (10:24 +0200)]
Merge pull request #768 from mcsage/master
Make install-ansible.sh work with Linux Mint and enable swap by default but decrease vm.swappiness
Stephan Hohn [Tue, 10 May 2016 08:20:23 +0000 (10:20 +0200)]
align group_vars/all.sample with roles/ceph-common/defaults/main.yml
Stephan Hohn [Mon, 9 May 2016 20:05:01 +0000 (22:05 +0200)]
Increase system stabillity by re-enabling swap and setting vm.swappiness to 10
Stephan Hohn [Mon, 9 May 2016 19:00:56 +0000 (21:00 +0200)]
Make install-ansible.sh work with Linux Mint
Leseb [Mon, 9 May 2016 16:25:37 +0000 (18:25 +0200)]
Merge pull request #749 from SamYaple/unified_when
Unify formatting of when conditional
Sam Yaple [Mon, 9 May 2016 15:26:37 +0000 (15:26 +0000)]
Add in missing is_before_infernalis statement
Leseb [Mon, 9 May 2016 15:05:21 +0000 (17:05 +0200)]
Merge pull request #766 from ceph/retry-sgdisk
try to zap a device again if sgdisk fails on the first try
Sam Yaple [Mon, 9 May 2016 14:17:14 +0000 (14:17 +0000)]
Fixed a few missed when conditionals from rebase
Sam Yaple [Mon, 9 May 2016 14:08:33 +0000 (14:08 +0000)]
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>
Alfredo Deza [Mon, 9 May 2016 13:12:28 +0000 (09:12 -0400)]
try to zap a device again if sgdisk fails on the first try
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Leseb [Mon, 9 May 2016 09:09:22 +0000 (11:09 +0200)]
Merge pull request #765 from flyd1005/wip-fix-typo
cleanup: fix typos and inappropriate variable names
Li Peng [Mon, 9 May 2016 07:14:13 +0000 (15:14 +0800)]
cleanup: fix inappropriate variable names
Signed-off-by: Li Peng <lip@dtdream.com>
Li Peng [Mon, 9 May 2016 07:12:01 +0000 (15:12 +0800)]
cleanup: fix typos
Signed-off-by: Li Peng <lip@dtdream.com>
Leseb [Sun, 8 May 2016 23:13:54 +0000 (01:13 +0200)]
Merge pull request #748 from ceph/use-jewel
ceph: use jewel release
Leseb [Sun, 8 May 2016 23:00:02 +0000 (01:00 +0200)]
Merge pull request #764 from ceph/systemd
Several fixes
Sébastien Han [Sun, 8 May 2016 22:41:44 +0000 (00:41 +0200)]
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>
Sébastien Han [Sun, 8 May 2016 22:36:15 +0000 (00:36 +0200)]
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>