]>
git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
Sébastien Han [Mon, 4 Apr 2016 13:09:44 +0000 (15:09 +0200)]
misc: add a script for vm test env
Vagrant will not always be available everywhere, sometimes we want to
bootstrap a ceph on a virtual machine. This script will help you
bootstrapping a ceph cluster from a development branch only.
So you can run it like this: ./ceph-aio-no-vagrant.sh v10.1.0
To get the v10.1.0 version installed. If the first argument ($1) is
empty then master will be used in consequence.
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Mon, 4 Apr 2016 08:55:32 +0000 (10:55 +0200)]
Merge pull request #677 from ceph/fix-key-perms
ceph-mon: fix ceph keys permissions
Sébastien Han [Sun, 3 Apr 2016 22:36:59 +0000 (00:36 +0200)]
ceph-mon: fix ceph keys permissions
Certain daemons will not start because of the wrong permissions.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Fri, 1 Apr 2016 15:33:11 +0000 (17:33 +0200)]
ceph-osd: docker fix typo again...
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Fri, 1 Apr 2016 15:32:08 +0000 (17:32 +0200)]
Merge pull request #675 from ceph/fix-typo-docker-osd
ceph-osd: docker start typo...
Sébastien Han [Fri, 1 Apr 2016 15:31:34 +0000 (17:31 +0200)]
ceph-osd: docker start typo...
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Fri, 1 Apr 2016 13:44:47 +0000 (15:44 +0200)]
Merge pull request #673 from ceph/docker-perm
ceph-docker: fix permissions on directories
Sébastien Han [Fri, 1 Apr 2016 13:40:19 +0000 (15:40 +0200)]
ceph-docker: osd fix container prep and start
We now check if the device has already been prepared, if we detect a
ceph partition we do not prepare the device.
Also fixed some issues while running on Atomic or CoreOS.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Fri, 1 Apr 2016 09:18:40 +0000 (11:18 +0200)]
ceph-docker: fix permissions on directories
fixing the can't open /var/lib/ceph/bootstrap-osd/ceph.keyring: can't
open /var/lib/ceph/bootstrap-osd/ceph.keyring: (13) Permission denied
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Fri, 1 Apr 2016 11:16:32 +0000 (13:16 +0200)]
Merge pull request #666 from PiotrProkop/ceph-mon-fix
Adding support for non atomic and non CoreOS machines for deploying containerized mons with kv backend
Leseb [Fri, 1 Apr 2016 11:16:22 +0000 (13:16 +0200)]
Merge pull request #665 from PiotrProkop/ceph-osd-kv
Adding support for non atomic and non CoreOS machines for deploying containerized osds with kv backend
pprokop [Fri, 1 Apr 2016 11:02:02 +0000 (13:02 +0200)]
Changed when statements due to review
pprokop [Fri, 1 Apr 2016 10:57:58 +0000 (12:57 +0200)]
Changes due to review
Leseb [Fri, 1 Apr 2016 09:11:43 +0000 (11:11 +0200)]
Merge pull request #671 from squizzi/fix-admin-key-wait
Added when: cephx to prevent waiting on keyring with cephx: false
Kyle Squizzato [Thu, 31 Mar 2016 19:23:12 +0000 (15:23 -0400)]
Added when: cephx to prevent waiting on keyring with cephx: false
Signed-off-by: Kyle Squizzato <ksquizz@gmail.com>
Leseb [Thu, 31 Mar 2016 22:36:55 +0000 (00:36 +0200)]
Merge pull request #669 from ceph/fix-atomic
ceph-mon: docker fix run on atomic host
Leseb [Thu, 31 Mar 2016 15:49:40 +0000 (17:49 +0200)]
Merge pull request #668 from cloudnull/config_template_ansible2_compat
Update the config_template plugin for ansible2
Sébastien Han [Thu, 31 Mar 2016 14:39:02 +0000 (16:39 +0200)]
ceph-mon: docker fix run on atomic host
fix template issues.
Signed-off-by: Sébastien Han <seb@redhat.com>
Kevin Carter [Wed, 30 Mar 2016 22:23:09 +0000 (17:23 -0500)]
Update the config_template plugin for ansible2
This change updates the config_template plugin to load
the version of the config_template needed based on the
detected version of ansible running. Note, Once the
upstream change merges for ansible 2 [0] we should
drop the ansible 2 version of this plugin.
[0] - https://github.com/ansible/ansible/pull/12555
Change-Id: Ifbdde0f30ee2bd8025ede07c86234527ba9891db
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
Leseb [Wed, 30 Mar 2016 16:20:30 +0000 (18:20 +0200)]
Merge pull request #662 from ceph/follow-up-cluster-name
ceph: implement cluster name support
Sébastien Han [Tue, 29 Mar 2016 13:37:31 +0000 (15:37 +0200)]
ceph: implement cluster name support
we now have the ability to enable the `cluster` variable with a specific
value that will determine the name of the cluster.
Signed-off-by: Sébastien Han <seb@redhat.com>
pprokop [Wed, 30 Mar 2016 10:40:57 +0000 (12:40 +0200)]
Changing when statements
pprokop [Wed, 30 Mar 2016 10:38:47 +0000 (12:38 +0200)]
Changing when statements
pprokop [Wed, 30 Mar 2016 10:29:45 +0000 (12:29 +0200)]
Fixing creating configs when default one is chosen
pprokop [Wed, 30 Mar 2016 10:28:38 +0000 (12:28 +0200)]
Adding support for non atomic and non CoreOS machines for deploying containerized mons with kv backend
pprokop [Wed, 30 Mar 2016 10:22:32 +0000 (12:22 +0200)]
Adding missing space
pprokop [Wed, 30 Mar 2016 10:22:15 +0000 (12:22 +0200)]
Adding support for non atomic and non CoreOS machines for deploying containerized osds with kv backend
Leseb [Tue, 29 Mar 2016 19:11:01 +0000 (21:11 +0200)]
Merge pull request #663 from jimcurtis/os1
Specify full path to template
Jim Curtis [Tue, 29 Mar 2016 18:30:56 +0000 (11:30 -0700)]
Specify full path to template
Leseb [Tue, 29 Mar 2016 12:15:40 +0000 (14:15 +0200)]
Merge pull request #661 from PiotrProkop/ceph-osd-kv
Adding ceph-osd continerized deployment with kv store.
pprokop [Tue, 29 Mar 2016 10:47:46 +0000 (12:47 +0200)]
Updating group_vars/osds.sample
pprokop [Tue, 29 Mar 2016 08:23:31 +0000 (10:23 +0200)]
Adding ceph-osd continerized deployment with kv store
Leseb [Tue, 29 Mar 2016 00:01:13 +0000 (02:01 +0200)]
Merge pull request #659 from ceph/purge-rgw
purge: clean install cache and purge rgw
Sébastien Han [Mon, 28 Mar 2016 23:53:01 +0000 (01:53 +0200)]
purge: clean install cache and purge rgw
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Mon, 28 Mar 2016 23:56:04 +0000 (01:56 +0200)]
Merge pull request #658 from ceph/rgw-dir-perm
ceph-rgw: fix rgw enable with systemd
Sébastien Han [Mon, 28 Mar 2016 23:37:39 +0000 (01:37 +0200)]
ceph-rgw: fix rgw enable with systemd
now rgw can be enabled.
closes: #642 #261
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Mon, 28 Mar 2016 22:56:36 +0000 (00:56 +0200)]
Merge pull request #657 from ksingh7/fix_mon_containerized_deployment_with_kv
ceph-common: Newline separation in ceph.conf.j2
ksingh7 [Mon, 28 Mar 2016 22:34:08 +0000 (01:34 +0300)]
ceph-common: Newline separation for mon_containerized_deployment_with_kv variable in ceph.conf.j2
ceph.conf.j2 template requires a new line between mon_containerized_deployment_with_kv and fsid variables
With this commit , i have added a new line for better readablity
Leseb [Mon, 28 Mar 2016 18:27:39 +0000 (20:27 +0200)]
Merge pull request #653 from ksingh7/fix_mon_containerized_deployment_with_kv
ceph-common: Fix for issue no. 652
Leseb [Mon, 28 Mar 2016 14:12:35 +0000 (16:12 +0200)]
Merge pull request #655 from runsisi/wip-fix-rgw-var
ceph-common: use variable rgw_group_name instead of hard coded group name 'rgws'
runsisi [Mon, 28 Mar 2016 10:59:09 +0000 (18:59 +0800)]
ceph-common: use variable rgw_group_name instead of hard coded group
name 'rgws' when checking rgw port.
Signed-off-by: runsisi <runsisi@hust.edu.cn>
ksingh7 [Sat, 26 Mar 2016 17:47:40 +0000 (19:47 +0200)]
ceph-common: Fix for issue no. 652
ceph.conf file generation task in ceph-common role was getting failed
because it ansible cant find defination of varriable mon_containerized_deployment_with_kv
This fix declare mon_containerized_deployment_with_kv under ceph-common/defaults/main.yml which fixes this issue
Signed-off-by: ksingh7 <karan.singh731987@gmail.com>
Leseb [Fri, 25 Mar 2016 16:00:41 +0000 (17:00 +0100)]
Merge pull request #649 from ceph/bluestore-ceph-disk
ceph-osd: add support for bluestore
Leseb [Fri, 25 Mar 2016 15:41:31 +0000 (16:41 +0100)]
Merge pull request #650 from stpierre/rbd-client-directory-owner
Make RBD client directory owner/group configurable
Sébastien Han [Fri, 25 Mar 2016 13:15:29 +0000 (14:15 +0100)]
ceph-osd: add support for bluestore
With Jewel comes a new store to store Ceph object: BlueStore. Adding an
extra scenario might seem like a useless duplication however the
ultimate goal is remove the other roles later. Thus this is easier to
add new role instead of modifying existing one. Once we drop the support
for release older than Jewel we will just remove all the previous
scenario files.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Fri, 25 Mar 2016 13:26:49 +0000 (14:26 +0100)]
ceph-common: pass journal check if using bluestore
bluestore does not need any journal so we skip this test if
osd_objectstore = bluestore
Signed-off-by: Sébastien Han <seb@redhat.com>
Chris St. Pierre [Fri, 25 Mar 2016 13:51:20 +0000 (08:51 -0500)]
Make RBD client directory owner/group configurable
Some versions (?) of libvirt provide a 'libvirt' group instead of
'libvirtd'. (Observed with libvirt-daemon-1.2.17-13.el7_2.2.x86_64.)
This makes the RBD client directory owner and group configurable to
allow for this.
Leseb [Fri, 25 Mar 2016 09:03:24 +0000 (10:03 +0100)]
Merge pull request #647 from dpkshetty/prompt_before_purge
purge-cluster: Add support for user prompt
Deepak C Shetty [Thu, 24 Mar 2016 11:28:01 +0000 (11:28 +0000)]
purge-cluster: Add support for user prompt
Add support for user prompt before purging the cluster. This
ensure that accidental invocation of purge-cluster won't
purge the cluster. Defaults to no purging, unless user either
says 'yes' on the prompt or invokes the playbook with:
`-e ireallymeanit=yes`. This also aligns neatly with ceph cli's
--yes-i-really-mean-it option
Signed-off-by: Deepak C Shetty <deepakcs@redhat.com>
dpkshetty [Fri, 25 Mar 2016 04:39:52 +0000 (10:09 +0530)]
Merge pull request #1 from ceph/master
Pull from ceph/ceph-ansible
Leseb [Thu, 24 Mar 2016 17:15:33 +0000 (18:15 +0100)]
Merge pull request #648 from ceph/docker
Docker
Leseb [Thu, 24 Mar 2016 17:12:55 +0000 (18:12 +0100)]
Merge pull request #623 from Symantec/feature-br1
Ability to generate repos for localmirror
Behzad Dastur [Thu, 24 Mar 2016 17:06:39 +0000 (17:06 +0000)]
Ability to generate repos for localmirror
Sébastien Han [Tue, 22 Mar 2016 15:58:20 +0000 (16:58 +0100)]
docker: fix tons of issues
Signed-off-by: Sébastien Han <seb@redhat.com>
Behzad Dastur [Thu, 24 Mar 2016 15:54:39 +0000 (15:54 +0000)]
Ability to generate repos for localmirror
pprokop [Mon, 21 Mar 2016 09:50:17 +0000 (10:50 +0100)]
Adding missing space
pprokop [Mon, 21 Mar 2016 08:42:46 +0000 (09:42 +0100)]
Adding var to choose between custom and default ceph.conf populated into etcd
pprokop [Wed, 16 Mar 2016 11:45:24 +0000 (12:45 +0100)]
Adding comments
pprokop [Wed, 16 Mar 2016 10:46:06 +0000 (11:46 +0100)]
Removing fsid with kv backend deployment
pprokop [Tue, 15 Mar 2016 16:36:11 +0000 (17:36 +0100)]
Adding missing fsid
pprokop [Tue, 15 Mar 2016 16:32:17 +0000 (17:32 +0100)]
Adding dockerized ceph-mon deployment with kv backend
pprokop [Tue, 15 Mar 2016 11:48:22 +0000 (12:48 +0100)]
Adding common-coreos.sample
pprokop [Tue, 15 Mar 2016 08:33:43 +0000 (09:33 +0100)]
Changed creator name
pprokop [Mon, 14 Mar 2016 16:53:18 +0000 (17:53 +0100)]
Removing extra spaces in get_pip
pprokop [Mon, 14 Mar 2016 16:51:26 +0000 (17:51 +0100)]
Removing extra spaces
pprokop [Mon, 14 Mar 2016 09:57:40 +0000 (10:57 +0100)]
Adding role for deploying python on CoreOS
Sébastien Han [Wed, 2 Mar 2016 13:52:00 +0000 (14:52 +0100)]
docker: fix group_vars file
Signed-off-by: Sébastien Han <seb@redhat.com>
Jim Curtis [Sun, 21 Feb 2016 19:04:43 +0000 (11:04 -0800)]
review feedback
Jim Curtis [Fri, 19 Feb 2016 19:46:33 +0000 (11:46 -0800)]
review feedback
Jim Curtis [Wed, 10 Feb 2016 05:45:17 +0000 (21:45 -0800)]
Review feedback fixes from PR #518
Jim Curtis [Thu, 4 Feb 2016 20:24:56 +0000 (12:24 -0800)]
Changes to allow ceph-ansible and vagrant to work on Openstack VMs
Huamin Chen [Wed, 10 Feb 2016 18:15:52 +0000 (18:15 +0000)]
add missing osd systemd unit template
Signed-off-by: Huamin Chen <hchen@redhat.com>
Huamin Chen [Tue, 9 Feb 2016 19:49:22 +0000 (19:49 +0000)]
review feedback
Signed-off-by: Huamin Chen <hchen@redhat.com>
Huamin Chen [Tue, 9 Feb 2016 17:35:41 +0000 (17:35 +0000)]
start osd daemon via systemd if supported
Signed-off-by: Huamin Chen <hchen@redhat.com>
Huamin Chen [Tue, 9 Feb 2016 01:49:47 +0000 (01:49 +0000)]
split osd disk to prepare and activate
Signed-off-by: Huamin Chen <hchen@redhat.com>
Huamin Chen [Mon, 8 Feb 2016 17:23:37 +0000 (17:23 +0000)]
allow multiple mon containers to reach quorum
Signed-off-by: Huamin Chen <hchen@redhat.com>
Huamin Chen [Fri, 5 Feb 2016 18:50:57 +0000 (18:50 +0000)]
serialize containerized mon config
Signed-off-by: Huamin Chen <hchen@redhat.com>
Huamin Chen [Mon, 1 Feb 2016 15:40:48 +0000 (15:40 +0000)]
remove --rm option from docker run, since the image is already removed during pre start
Signed-off-by: Huamin Chen <hchen@redhat.com>
Huamin Chen [Wed, 27 Jan 2016 19:50:05 +0000 (19:50 +0000)]
use systemd to manage ceph daemons
Signed-off-by: Huamin Chen <hchen@redhat.com>
Huamin Chen [Tue, 26 Jan 2016 20:01:03 +0000 (20:01 +0000)]
add variable to allow containerized mon to run privileged mode.
this is to allow ceph-authtool to read and write to /var/ and /etc on CentOS Atomic.
Add doc on how to run containerized deployment on RHEL/CentOS Atomic
Signed-off-by: Huamin Chen <hchen@redhat.com>
Huamin Chen [Mon, 25 Jan 2016 19:28:10 +0000 (19:28 +0000)]
initial steps to provision CentOS Atomic host
Signed-off-by: Huamin Chen <hchen@redhat.com>
Huamin Chen [Fri, 22 Jan 2016 19:56:15 +0000 (19:56 +0000)]
remove unused files
Signed-off-by: Huamin Chen <hchen@redhat.com>
Huamin Chen [Fri, 22 Jan 2016 19:10:41 +0000 (19:10 +0000)]
containerize rgw and restapi
Signed-off-by: Huamin Chen <hchen@redhat.com>
Huamin Chen [Thu, 21 Jan 2016 19:54:41 +0000 (19:54 +0000)]
containerized mon: create restapi keyring
add sample config for containerized deployment
Huamin Chen [Thu, 21 Jan 2016 17:22:46 +0000 (17:22 +0000)]
copy bootstrap keyring and conf from mon to ansible server, so osd can get them to bootstrap
Signed-off-by: Huamin Chen <hchen@redhat.com>
Huamin Chen [Wed, 13 Jan 2016 19:15:35 +0000 (19:15 +0000)]
containerized mon
Leseb [Thu, 24 Mar 2016 14:14:54 +0000 (15:14 +0100)]
Merge pull request #646 from ceph/fix-purge-ubuntu
Fix purge ubuntu
Sébastien Han [Thu, 24 Mar 2016 12:49:26 +0000 (13:49 +0100)]
purge: remove monitor store and bootstrap keys
remove monitor store and bootstrap keys otherwise the play can not
complete
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Thu, 24 Mar 2016 10:38:56 +0000 (11:38 +0100)]
purge-cluster: add a check for a device list
People who use `osd_auto_discovery` feature will not have a devices
variable populated, so we first check for the existence of devices.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Thu, 24 Mar 2016 10:37:35 +0000 (11:37 +0100)]
purge-cluster: make stop service work on ubuntu
reworked the stop sequence by using ids instead of calling the 'all'
function which does not seem to be working all the time.
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Thu, 24 Mar 2016 09:52:11 +0000 (10:52 +0100)]
Merge pull request #644 from bengland2/purge-cluster-cleanup
make purge-cluster.yml both more reliable and faster
Ben England [Wed, 23 Mar 2016 17:52:28 +0000 (13:52 -0400)]
oops dont need that
Leseb [Wed, 23 Mar 2016 12:38:44 +0000 (13:38 +0100)]
Merge pull request #643 from ceph/monitor-ip
Provide the ability to provide monitor_address instead of an interface
Andrew Schoen [Tue, 22 Mar 2016 18:21:12 +0000 (13:21 -0500)]
docs for usage of monitor_interface and monitor_address
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Tue, 22 Mar 2016 14:11:12 +0000 (09:11 -0500)]
Provide the ability to provide monitor_address instead of an interface
This would allow users who don't know what interface to provide to
give an IP address to use for the monitor instead.
Note: the includes are needed in ceph.conf.j2 because without them
jinja2 can not properly evaluate the template and will complain about a
missing 'ansible_interface' variable. The includes allow the template to
be evaluated correctly and then the correct include will be used during
render time.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Leseb [Wed, 23 Mar 2016 09:32:18 +0000 (10:32 +0100)]
Merge pull request #609 from ceph/fragment
fix fragment for osd directory scenario
Ben England [Tue, 22 Mar 2016 17:29:00 +0000 (13:29 -0400)]
many fixes to make purge-cluster.yml reliable
Leseb [Mon, 21 Mar 2016 17:22:00 +0000 (18:22 +0100)]
Merge pull request #639 from ceph/enhance-regex
ceph-osd: fix regex to check partitions
Leseb [Mon, 21 Mar 2016 16:37:19 +0000 (17:37 +0100)]
Merge pull request #637 from ceph/activate-partition
ceph-osd: fix activate for osd on partitions
Sébastien Han [Mon, 21 Mar 2016 15:27:02 +0000 (16:27 +0100)]
ceph-osd: fix regex to check partitions
Thanks @dvusboy
closes: #636
Signed-off-by: Sébastien Han <seb@redhat.com>