]>
git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
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 [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>
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>
Alfredo Deza [Wed, 27 Apr 2016 13:28:17 +0000 (09:28 -0400)]
create is_before_RELEASE vars as well
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 27 Apr 2016 13:19:32 +0000 (09:19 -0400)]
ceph-common: include the facts task always
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 27 Apr 2016 13:17:56 +0000 (09:17 -0400)]
ceph-common: create a facts task to define ceph versions
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Jim Curtis [Tue, 26 Apr 2016 23:34:57 +0000 (16:34 -0700)]
docker: Fix ordering of rgw docker tasks so directory is created befor fetch
Ben England [Tue, 26 Apr 2016 17:01:01 +0000 (13:01 -0400)]
cleanup /tmp/rh-storage-repo so newer repos are actually installed
Jim Curtis [Tue, 26 Apr 2016 15:20:02 +0000 (08:20 -0700)]
docker: fixes for OpenStack VMs
Leseb [Mon, 25 Apr 2016 19:56:52 +0000 (14:56 -0500)]
Merge pull request #731 from ivotron/issue-730
bind-mounts /dev in osd containers
Leseb [Mon, 25 Apr 2016 19:46:07 +0000 (14:46 -0500)]
Merge pull request #724 from ivotron/issue-723
Modifies docker image variable being referenced
Ivo Jimenez [Mon, 25 Apr 2016 16:42:06 +0000 (11:42 -0500)]
bind-mounts /dev in osd containers
This is needed in order to make ceph-disk work
Ivo Jimenez [Sun, 24 Apr 2016 21:32:17 +0000 (14:32 -0700)]
Modifies docker image variable being reference
These reference ceph_mon_docker_username instead of the corresponding
one
Leseb [Fri, 22 Apr 2016 23:00:23 +0000 (01:00 +0200)]
Merge pull request #721 from ceph/fix-admin-socket-warning
change defaults for rbd_client_directories and rbd_client_admin_socket_path
Andrew Schoen [Fri, 22 Apr 2016 17:39:16 +0000 (12:39 -0500)]
default rbd_client_log_path to /var/log/ceph
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Leseb [Fri, 22 Apr 2016 16:14:29 +0000 (18:14 +0200)]
Merge pull request #722 from ceph/rgw-civet-listen
ceph-rgw: ability to bind civetweb on an IP
Andrew Schoen [Fri, 22 Apr 2016 15:59:00 +0000 (10:59 -0500)]
default rbd_client_admin_socket_path to /var/run/ceph
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 22 Apr 2016 15:56:30 +0000 (10:56 -0500)]
default rbd_client_directories to true
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Sébastien Han [Fri, 22 Apr 2016 15:44:56 +0000 (17:44 +0200)]
ceph-rgw: ability to bind civetweb on an IP
Introducing a new config option: `radosgw_civetweb_bind_ip` which points
to the `ansible_default_ipv4` by default. You can override this
variable. Use ansible facts to put a proper value.
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Thu, 21 Apr 2016 14:55:45 +0000 (16:55 +0200)]
Merge pull request #720 from ceph/mon-addr-fix
correctly set mon addr when monitor_interface is defined in group_vars
Andrew Schoen [Thu, 21 Apr 2016 14:09:16 +0000 (09:09 -0500)]
correctly set mon addr when monitor_interface is defined in group_vars
This fixes the ceph.conf template so that it will look for an inventory
defined value for monitor_interface or for monitor_interface defined in
a group_vars file.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Leseb [Tue, 19 Apr 2016 08:09:48 +0000 (10:09 +0200)]
Merge pull request #664 from jsaintrocc/master
Add infernalis to list of stable releases comment
James Saint-Rossy [Mon, 18 Apr 2016 14:49:35 +0000 (10:49 -0400)]
Updated version compare to 0.84.0 per laseb comment
Leseb [Fri, 15 Apr 2016 08:55:42 +0000 (10:55 +0200)]
Merge pull request #715 from rootfs/jewel
some fixes to run containers on Atomic
Huamin Chen [Thu, 14 Apr 2016 21:57:27 +0000 (21:57 +0000)]
set path to find mon and osd systemd unit file templates
Signed-off-by: Huamin Chen <hchen@redhat.com>
Huamin Chen [Thu, 14 Apr 2016 13:41:05 +0000 (13:41 +0000)]
fix deployment on Atomic
Signed-off-by: Huamin Chen <hchen@redhat.com>
Leseb [Wed, 13 Apr 2016 20:25:59 +0000 (22:25 +0200)]
Merge pull request #713 from stpierre/fix-rbd-client-dirs
Fix creation of RBD client directories
Leseb [Wed, 13 Apr 2016 20:19:33 +0000 (22:19 +0200)]
Merge pull request #712 from ceph/monitor-interface-not-defined
Check to see if hostvars[host]['monitor_interface'] is defined
Chris St. Pierre [Wed, 13 Apr 2016 20:10:44 +0000 (15:10 -0500)]
Fix creation of RBD client directories
Need to use a template, not a bare variable name.
Andrew Schoen [Wed, 13 Apr 2016 18:34:51 +0000 (13:34 -0500)]
Check to see if hostvars[host]['monitor_interface'] is defined
This fixes https://github.com/ceph/ceph-ansible/issues/711
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Leseb [Wed, 13 Apr 2016 16:52:56 +0000 (18:52 +0200)]
Merge pull request #707 from cloudnull/ct_updates
Update the config_template plugin
James Saint-Rossy [Wed, 13 Apr 2016 01:26:59 +0000 (21:26 -0400)]
fixed handling of new ceph_version
James Saint-Rossy [Wed, 13 Apr 2016 01:08:42 +0000 (21:08 -0400)]
moved string parsing of ceph version into ansbile for better error handling
Leseb [Tue, 12 Apr 2016 15:01:04 +0000 (17:01 +0200)]
Merge pull request #710 from bengland2/limit-autodiscover-check
purge-cluster - fix osd_auto_discovery check
Ben England [Tue, 12 Apr 2016 13:49:44 +0000 (09:49 -0400)]
devices var is defined in context of osds role
Leseb [Tue, 12 Apr 2016 12:05:33 +0000 (14:05 +0200)]
Merge pull request #705 from ceph/no-agent-role-test
remove agent role, no packages for it upstream yet
Alfredo Deza [Tue, 12 Apr 2016 11:38:13 +0000 (07:38 -0400)]
remove rbd-mirror as well from testing. No packages are available yet
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 12 Apr 2016 11:17:35 +0000 (07:17 -0400)]
remove coreos from default testing as well
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Leseb [Tue, 12 Apr 2016 10:08:35 +0000 (12:08 +0200)]
Merge pull request #708 from ceph/docker-img
docker: do not hardcode image and user name
Leseb [Tue, 12 Apr 2016 10:07:45 +0000 (12:07 +0200)]
Merge pull request #706 from fultonj/patch-1
Balance tags on <your_host
Leseb [Tue, 12 Apr 2016 10:05:28 +0000 (12:05 +0200)]
Merge pull request #703 from ceph/issue-670
if ceph-disk fails to activate an OSD then bubble up the error
Leseb [Tue, 12 Apr 2016 10:04:39 +0000 (12:04 +0200)]
Merge pull request #688 from bengland2/safer-disk-zap
low-priority - more robust, simpler, idempotent purge-cluster.yml
Leseb [Tue, 12 Apr 2016 10:03:56 +0000 (12:03 +0200)]
Merge pull request #696 from stpierre/dedup-rbd-client-dirs
Deduplicate RBD client directory creation
Sébastien Han [Tue, 12 Apr 2016 10:01:53 +0000 (12:01 +0200)]
docker: do not hardcode image and user name
Signed-off-by: Sébastien Han <seb@redhat.com>
Kevin Carter [Tue, 12 Apr 2016 04:28:40 +0000 (23:28 -0500)]
Update the config_template plugin
These changes address 2 issues:
* The config template plugin in v1 mode was not respecting a list
of integers and would cause a stacktrace because the ConfigParese
module expects everything written to be a string.
* The config template plugin in v2 mode was not properly handingly
the multi-string-op type due to an oversight in the ``_option_write``
method.
With these updates the config template is now able to better support
all of the potential options that could be thrown at it when writing
an INI config file.
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
John Fulton [Tue, 12 Apr 2016 02:25:53 +0000 (22:25 -0400)]
Balance tags on <your_host
Third of occurrence of <your_host> didn't have a closing tag. This is a tiny change to add the he missing '>'.
This will let people quickly update this file with sed. For example: `sed s/\<your_host\>/192.168.1.41/g -i cluster-maintenance.yml`.
Ben England [Mon, 11 Apr 2016 20:53:45 +0000 (16:53 -0400)]
this is how ceph-disk partition really looks
Alfredo Deza [Mon, 11 Apr 2016 19:48:29 +0000 (15:48 -0400)]
remove agent role, no packages for it upstream yet
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Mon, 11 Apr 2016 14:28:03 +0000 (10:28 -0400)]
if ceph-disk fails to activate an OSD then bubble up the error
Signed-off-by: Alfredo Deza <adeza@redhat.com>
James Saint-Rossy [Sat, 9 Apr 2016 21:21:36 +0000 (17:21 -0400)]
Removed infernalis workaround because ceph_stable_releases now includes it by default
James Saint-Rossy [Sat, 9 Apr 2016 18:40:00 +0000 (14:40 -0400)]
Rebasing fork to account for upstream commits
Leseb [Fri, 8 Apr 2016 20:00:32 +0000 (22:00 +0200)]
Merge pull request #701 from ceph/conf-fixes
look at monitor_interface in hostvars when choosing interface or address
Andrew Schoen [Fri, 8 Apr 2016 19:23:12 +0000 (14:23 -0500)]
look at monitor_interface in hostvars when choosing interface or address
This fixes a bug where monitor_interface might be set in your inventory
file and not by using group_vars or --extra-vars causing the template to
use the default address of 0.0.0.0 instead of the defined
monitor_interface.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Chris St. Pierre [Thu, 7 Apr 2016 14:11:50 +0000 (09:11 -0500)]
Deduplicate RBD client directory creation
Instead of creating the RBD client socket path three different places
in three different ways, this creates it once. Ceph on OpenStack users
have the option to customize the permissions of the RBD client
directories.
Fixes #687
Ben England [Fri, 8 Apr 2016 17:01:11 +0000 (13:01 -0400)]
rebased
Leseb [Fri, 8 Apr 2016 10:32:30 +0000 (12:32 +0200)]
Merge pull request #700 from ceph/fix-readme-rbdmirror
rbd-mirror: fix readme title
Sébastien Han [Fri, 8 Apr 2016 10:32:05 +0000 (12:32 +0200)]
rbd-mirror: fix readme title
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Fri, 8 Apr 2016 10:31:11 +0000 (12:31 +0200)]
Merge pull request #699 from ceph/contrib-rbdmirror
contrib: update with ceph-rbd-mirror
Sébastien Han [Fri, 8 Apr 2016 10:30:14 +0000 (12:30 +0200)]
contrib: update with ceph-rbd-mirror
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Fri, 8 Apr 2016 10:18:35 +0000 (12:18 +0200)]
Merge pull request #698 from ceph/rbdmirror-license
ceph-rbd-mirorr: add license file
Sébastien Han [Fri, 8 Apr 2016 10:17:46 +0000 (12:17 +0200)]
ceph-rbd-mirorr: add license file
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Fri, 8 Apr 2016 10:12:30 +0000 (12:12 +0200)]
Merge pull request #678 from ceph/rbd-mirror
ceph-rbd-mirror: add new role
Sébastien Han [Sun, 3 Apr 2016 22:35:09 +0000 (00:35 +0200)]
ceph-rbd-mirror: add new role
Signed-off-by: Sébastien Han <seb@redhat.com>