]>
git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
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>
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
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>
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>
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
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>
Sébastien Han [Sun, 8 May 2016 22:34:24 +0000 (00:34 +0200)]
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>
Leseb [Sat, 7 May 2016 00:52:45 +0000 (02:52 +0200)]
Merge pull request #763 from ceph/install-mds
ceph-common: install ceph-mds package
Sébastien Han [Sat, 7 May 2016 00:37:09 +0000 (02:37 +0200)]
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>
Leseb [Sat, 7 May 2016 00:16:32 +0000 (02:16 +0200)]
Merge pull request #762 from ceph/install-script
install: remove epel
Sébastien Han [Sat, 7 May 2016 00:14:46 +0000 (02:14 +0200)]
install: remove epel
We just add epel to conviently install Ansible. However we don't keep it
as it could disrupt ceph's installation and dependancies.
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Fri, 6 May 2016 23:03:35 +0000 (01:03 +0200)]
Merge pull request #761 from dang/docker-fixes
Docker fixes for MDS
Leseb [Fri, 6 May 2016 23:02:49 +0000 (01:02 +0200)]
Merge pull request #758 from ceph/ubuntu_use_systemd
Adds an use_systemd fact
Andrew Schoen [Fri, 6 May 2016 14:14:06 +0000 (09:14 -0500)]
strip any newlines from the init_system fact
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 5 May 2016 21:53:56 +0000 (16:53 -0500)]
add a mdss group to the CLI testing inventory
The ceph-mds role is being tested, but there was not group for it in the
inventory so ceph-mds was not being installed on the testing machine.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 5 May 2016 20:00:47 +0000 (15:00 -0500)]
Use the use_systemd fact when starting rbd
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 5 May 2016 19:54:50 +0000 (14:54 -0500)]
Use the use_systemd fact when starting mdss
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Daniel Gryniewicz [Fri, 6 May 2016 13:46:58 +0000 (09:46 -0400)]
Docker fixes for MDS
Fixes to make the ceph-mds role work with Docker
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Andrew Schoen [Thu, 5 May 2016 19:31:12 +0000 (14:31 -0500)]
Use the use_systemd fact when starting rgw
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 5 May 2016 18:59:36 +0000 (13:59 -0500)]
use the use_systemd fact when starting OSDs
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 5 May 2016 18:56:32 +0000 (13:56 -0500)]
use the use_systemd fact when starting monitors
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 4 May 2016 17:16:27 +0000 (12:16 -0500)]
Adds an use_systemd fact
This adds a helper fact that uses the ``init_system`` fact to determine if
we should be using systemd or not when controlling services.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Leseb [Wed, 4 May 2016 15:34:34 +0000 (17:34 +0200)]
Merge pull request #756 from ceph/fix-ansible-install
install-ansible: refactor install on Red Hat
Sébastien Han [Wed, 4 May 2016 15:33:07 +0000 (17:33 +0200)]
install-ansible: refactor install on Red Hat
Merge both lsb_release and /etc/redhat-release cases.
Also testing if epel is already installed or not.
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Wed, 4 May 2016 14:40:46 +0000 (16:40 +0200)]
Merge pull request #750 from ceph/osd-id-fix
Get the correct OSD ID when the cluster name includes numbers
Leseb [Wed, 4 May 2016 14:39:41 +0000 (16:39 +0200)]
Merge pull request #755 from mattt416/fix_issue_741
Set init_system fact and reference in ceph-osd role
Matt Thompson [Wed, 4 May 2016 10:47:24 +0000 (11:47 +0100)]
Set init_system fact and reference in ceph-osd role
The ceph-osd role currently uses ansible_service_mgr, which is a fact
only available on ansible 2.x and greater. This commit sets a similar
fact called init_system which will store the contents of /proc/1/comm
(systemd, init, etc.) and then references it ceph-osd instead.
Closes #741
Leseb [Wed, 4 May 2016 09:50:25 +0000 (11:50 +0200)]
Merge pull request #747 from smatzek/add_ubuntu_cloud_archive
Add support for install from Ubuntu Cloud Archive
Leseb [Wed, 4 May 2016 09:44:21 +0000 (11:44 +0200)]
Merge pull request #752 from ivotron/issue-751
Mounts /run when executing osd container
Leseb [Wed, 4 May 2016 08:38:43 +0000 (10:38 +0200)]
Merge pull request #753 from ceph/take-over-2
take-over: remove the connection local
Sébastien Han [Wed, 4 May 2016 08:37:59 +0000 (10:37 +0200)]
take-over: remove the connection local
Signed-off-by: Sébastien Han <seb@redhat.com>
Ivo Jimenez [Tue, 3 May 2016 22:47:01 +0000 (15:47 -0700)]
Mounts /run when executing osd container
Leseb [Tue, 3 May 2016 20:16:18 +0000 (22:16 +0200)]
Merge pull request #728 from ivotron/issue727
docker: use ceph_docker_osd_devices variable for purging docker cluster
Andrew Schoen [Tue, 3 May 2016 19:47:47 +0000 (14:47 -0500)]
Get the correct OSD ID when the cluster name includes numbers
If the ceph cluster name includes numbers, the grep used to find the OSD
IDs from /var/lib/ceph/osd/ would also return the numbers that were in
the cluster name.
For example, if the cluster was named 'mine123' and there was only one
OSD on the node, then the task that finds the OSD IDs would return
'123' and '0'.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Ivo Jimenez [Mon, 25 Apr 2016 14:40:41 +0000 (09:40 -0500)]
docker: uses ceph_osd_docker_devices variable in purge
Also checks for the existence of gdisk
Samuel Matzek [Mon, 2 May 2016 16:25:52 +0000 (11:25 -0500)]
Add support for install from Ubuntu Cloud Archive
This adds support to allow the install of Ceph from the
Ubuntu Cloud Archive. The Ubuntu Cloud Archive provides newer
release of Ceph than the normal Ubuntu distro repository.
Signed-off-by: Samuel Matzek <smatzek@us.ibm.com>
Sébastien Han [Sun, 1 May 2016 14:22:43 +0000 (16:22 +0200)]
ceph: use jewel release
Also fix the repo url.
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Mon, 2 May 2016 16:53:06 +0000 (18:53 +0200)]
Merge pull request #746 from dang/docker-fixes
Docker fixes and cleanups
Daniel Gryniewicz [Mon, 2 May 2016 14:33:16 +0000 (10:33 -0400)]
Docker fixes and cleanups
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Leseb [Mon, 2 May 2016 14:43:41 +0000 (16:43 +0200)]
Merge pull request #744 from ceph/take-over
take over an existing cluster with ceph ansible
Leseb [Mon, 2 May 2016 13:05:31 +0000 (15:05 +0200)]
Merge pull request #745 from ceph/dev-package
ceph-common: install ceph-mon/osd for ceph dev
Sébastien Han [Mon, 2 May 2016 12:18:33 +0000 (14:18 +0200)]
ceph-common: install ceph-mon/osd for ceph dev
Since developement versions of Ceph are after infernalis a package split
happened. So basically ceph-mon, ceph-osd, ceph-mds need to be
installed.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Sun, 1 May 2016 14:46:28 +0000 (16:46 +0200)]
take over an existing cluster with ceph ansible
Introducing a playbook helper to control a ceph cluster that was not
deployed with ceph ansible.
The procedure is rather simple. If the cluster was deployed with the
following project there won’t be any issue:
* Ceph Deploy
* Puppet Ceph
* Chef Ceph
* Any other deployment tool that relies on ceph-disk
The procedure comes as fellow:
1. Install Ansible and add your monitors and osds hosts in it. For more
detailed information you can read the Ceph Ansible Wiki
2. Set generate_fsid: false in group_vars
3. Get your current cluster fsid with ceph fsid and set cluster_fsid
accordingly in group_vars
4. Run the playbook called: take-over-existing-cluster.yml like this
ansible-playbook take-over-existing-cluster.yml.
5. Eventually run Ceph Ansible to validate everything by doing:
ansible-playbook site.yml.
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Sun, 1 May 2016 14:42:54 +0000 (16:42 +0200)]
Merge pull request #743 from ceph/centos-install
ansible-install: allow CentOS
Sébastien Han [Sun, 1 May 2016 14:42:12 +0000 (16:42 +0200)]
ansible-install: allow CentOS
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Fri, 29 Apr 2016 14:23:13 +0000 (09:23 -0500)]
Merge pull request #742 from dang/restapi
Allow RESTAPI to be optional
Daniel Gryniewicz [Fri, 29 Apr 2016 14:07:10 +0000 (10:07 -0400)]
Allow RESTAPI to be optional
When running via Vagrant, rather than always starting RESTAPI on each
monitor, make it optional via a configuration option in
vagrant_variables.yml.
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Leseb [Thu, 28 Apr 2016 19:46:04 +0000 (14:46 -0500)]
Merge pull request #734 from bengland2/cleanup-tmp-rh-storage
cleanup /tmp/rh-storage-repo so newer repos are actually installed
Leseb [Thu, 28 Apr 2016 19:45:37 +0000 (14:45 -0500)]
Merge pull request #733 from jimcurtis/master
docker: fixes for OpenStack VMs
Leseb [Thu, 28 Apr 2016 14:54:02 +0000 (09:54 -0500)]
Merge pull request #739 from ceph/use-package-split
Adds a use_server_package_split var
Andrew Schoen [Wed, 27 Apr 2016 21:10:39 +0000 (16:10 -0500)]
Adds a use_server_package_split var
This will allow a user to conditionally install the ceph package on rpm
based systems. Installing this package is not required or wanted in
versions passed infernalis.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Leseb [Thu, 28 Apr 2016 14:07:59 +0000 (09:07 -0500)]
Merge pull request #737 from ceph/issue-736
Define readable vars for Ceph version comparisons
Alfredo Deza [Wed, 27 Apr 2016 14:51:15 +0000 (10:51 -0400)]
ceph-rgw: port start_radosgw task to use new ceph version facts
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 27 Apr 2016 14:48:46 +0000 (10:48 -0400)]
ceph-rbd-mirror: port start_rbd_mirror task to use new ceph version facts
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 27 Apr 2016 14:43:09 +0000 (10:43 -0400)]
ceph-osd: port activate_osds task to use new ceph version facts
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 27 Apr 2016 14:41:39 +0000 (10:41 -0400)]
ceph-mon: port start_monitor task to use new ceph version facts
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 27 Apr 2016 14:39:57 +0000 (10:39 -0400)]
ceph-mds: port pre_requisite task to use new ceph version facts
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 27 Apr 2016 14:34:08 +0000 (10:34 -0400)]
ceph-common: port main handler to use new ceph version facts
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Ben England [Wed, 27 Apr 2016 17:36:32 +0000 (13:36 -0400)]
requested format cleanup
Jim Curtis [Wed, 27 Apr 2016 17:31:27 +0000 (10:31 -0700)]
docker: typo in comment
Alfredo Deza [Wed, 27 Apr 2016 14:01:02 +0000 (10:01 -0400)]
ceph-mon: port deploy_monitors task to use new ceph version facts
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 27 Apr 2016 13:50:10 +0000 (09:50 -0400)]
ceph-common: port main task to use new ceph version facts
Signed-off-by: Alfredo Deza <adeza@redhat.com>