]>
git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
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>
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>
Sébastien Han [Mon, 21 Mar 2016 15:00:58 +0000 (16:00 +0100)]
ceph-osd: fix activate for osd on partitions
Since we want to activate the OSD when it's a partition we are looking
for a return code that is equal to 0 which means the device is a
partition.
closes: #636
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Fri, 18 Mar 2016 13:07:42 +0000 (14:07 +0100)]
Merge pull request #634 from dvusboy/fix_issue_632
Address issue #632 with systemd unit rename
Leseb [Fri, 18 Mar 2016 13:05:02 +0000 (14:05 +0100)]
Merge pull request #635 from dvusboy/create_rbd_clients_directory
Create the directory used for rbd-clients sockets
Leseb [Fri, 18 Mar 2016 13:02:22 +0000 (14:02 +0100)]
Merge pull request #627 from ceph/fix-ceph-install
ceph-common: fix ceph install for centos distros
K.C. Wong [Thu, 17 Mar 2016 18:58:13 +0000 (11:58 -0700)]
Create the directory used for rbd-clients sockets
* `/var/run/ceph/rbd-clients` is not created automatically
* because it is missing, ceph-rgw complains about missing client
socket on start up; it is because the containing directory is
not there
* so we just add it to the list of directory pre-requisite
K.C. Wong [Thu, 17 Mar 2016 17:34:56 +0000 (10:34 -0700)]
Address issue #632 with systemd unit rename
* the client-name is actually `rgw.{{ ansible_hostname }}` instead
of just `{{ ansible_hostname }}`
* it matches the directory created under `/var/lib/ceph/radosgw`
* and, it matches the client-name used to create the keyring in
`pre_requisite.yml`
Leseb [Thu, 17 Mar 2016 16:39:55 +0000 (17:39 +0100)]
Merge pull request #633 from ceph/centos-libselinux-python
add libselinux-python as dependency pkg for centos
Sébastien Han [Thu, 17 Mar 2016 16:39:01 +0000 (17:39 +0100)]
add libselinux-python as dependency pkg for centos
closes: #631
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Tue, 15 Mar 2016 15:35:29 +0000 (16:35 +0100)]
ceph-common: fix ceph install for centos distros
closes: #616
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Wed, 16 Mar 2016 13:04:20 +0000 (14:04 +0100)]
Merge pull request #610 from fcharlier/install_ceph_mds_only_if_required
Install ceph-mds on Debian platforms only if mds_group_name is set
Leseb [Wed, 16 Mar 2016 07:52:57 +0000 (08:52 +0100)]
Merge pull request #619 from dpkshetty/osd_selinux_permissive
ceph-osd: Set selinux to permissive
Deepak C Shetty [Fri, 11 Mar 2016 09:25:25 +0000 (09:25 +0000)]
ceph-osd: Set selinux to permissive
Currently we don't yet support runnings OSDs w/ selinux in
enforcing mode. Thus its better to ensure that ceph-ansible
explicitly makes selinux permissive. This should help in
scenarios such as hyperconverged where OSDs are colocated
with VMs on compute nodes which needs selinux enforcing, but
OSDs don't.
Signed-off-by: Deepak C Shetty <deepakcs@redhat.com>
Leseb [Tue, 15 Mar 2016 14:52:37 +0000 (15:52 +0100)]
Merge pull request #626 from ceph/conf-docs
documention on how to configure ceph.conf using ceph_conf_overrides
Andrew Schoen [Tue, 15 Mar 2016 14:44:31 +0000 (09:44 -0500)]
documention on how to configure ceph.conf using ceph_conf_overrides
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
bdastur [Mon, 14 Mar 2016 20:26:16 +0000 (13:26 -0700)]
Ability to generate repos for localmirror
Leseb [Mon, 14 Mar 2016 17:35:35 +0000 (18:35 +0100)]
Merge pull request #603 from bengland2/fix_purge_nonosd
fix purge-request.yml so non-OSD hosts will not fail
Leseb [Mon, 14 Mar 2016 17:32:03 +0000 (18:32 +0100)]
Merge pull request #621 from FooBarQuaxx/patch-1
Suppress Virtualbox disk creation if already present
Ben England [Sun, 13 Mar 2016 13:26:34 +0000 (09:26 -0400)]
only do ls on directory that exists
MAA [Sat, 12 Mar 2016 20:36:57 +0000 (23:36 +0300)]
Suppress Virtualbox disk creation if already present
Leseb [Wed, 9 Mar 2016 20:37:05 +0000 (12:37 -0800)]
Merge pull request #614 from ceph/calamari-rest-api
Allow to install the calamari-server on monitors
Alfredo Deza [Wed, 9 Mar 2016 20:15:11 +0000 (15:15 -0500)]
add the commented out options for calamari-server in mons.sample
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 9 Mar 2016 20:12:52 +0000 (15:12 -0500)]
set the default to install calamari-server in a monitor
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 9 Mar 2016 20:10:47 +0000 (15:10 -0500)]
include calamari when the calamari option is set
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 8 Mar 2016 20:57:18 +0000 (15:57 -0500)]
create a calamari task in ceph-mon
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Leseb [Wed, 9 Mar 2016 17:58:46 +0000 (09:58 -0800)]
Merge pull request #611 from ceph/rhcs-debian
support for the jewel version of red hat ceph storage on ubuntu
Leseb [Wed, 9 Mar 2016 16:40:47 +0000 (08:40 -0800)]
Merge pull request #612 from ceph/rgw-dir
ceph-rgw: remove leftover for service activation
Leseb [Wed, 9 Mar 2016 05:18:44 +0000 (21:18 -0800)]
Merge pull request #613 from ceph/centos-box
vagrant: add other boxes for centos and ubuntu
Andrew Schoen [Tue, 8 Mar 2016 22:08:53 +0000 (16:08 -0600)]
adds the rh storage apt-key for jewel on ubuntu
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Tue, 8 Mar 2016 22:05:19 +0000 (16:05 -0600)]
the ceph package does not exist in jewel rh storage
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Tue, 8 Mar 2016 21:23:32 +0000 (15:23 -0600)]
adds the ability to install red hat ceph storage packages on Ubuntu
This will only work for jewel or later releases.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Tue, 8 Mar 2016 20:56:23 +0000 (14:56 -0600)]
subscription manager tasks should not run on debian systems
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
François Charlier [Tue, 8 Mar 2016 18:08:24 +0000 (19:08 +0100)]
Install ceph-mds on Debian platforms only if mds_group_name is set
Fixes #547
Sébastien Han [Tue, 8 Mar 2016 15:06:05 +0000 (16:06 +0100)]
vagrant: add other boxes for centos and ubuntu
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Tue, 8 Mar 2016 13:38:40 +0000 (14:38 +0100)]
ceph-rgw: remove leftover for service activation
this is handled by the task after.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Tue, 8 Mar 2016 13:32:32 +0000 (14:32 +0100)]
ceph-osd: fragment directory and files perms
works for all the ceph's distros now
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Tue, 8 Mar 2016 08:32:21 +0000 (09:32 +0100)]
Merge pull request #607 from ceph/rhcs-fixes
fixes for installing / configuring red hat ceph storage
Leseb [Tue, 8 Mar 2016 08:29:23 +0000 (09:29 +0100)]
Merge pull request #608 from deberon/systemd_ceph.target
Use ceph.target if available
Sébastien Han [Mon, 7 Mar 2016 23:40:50 +0000 (00:40 +0100)]
fix fragment for osd directory scenario
Signed-off-by: Sébastien Han <seb@redhat.com>
Derek Anderson [Mon, 7 Mar 2016 23:01:54 +0000 (18:01 -0500)]
Added an additional task for starting/enabling a service based on a systemd target if systemd is available. Otherwise using the init script.
Andrew Schoen [Mon, 7 Mar 2016 20:50:05 +0000 (14:50 -0600)]
find the rhcs version right before setting is_ceph_infernalis
Where it was located before meant it might be skipped if you don't run
tasks with the package-install tag. This fixes the situation where you
want to configure an rhcs node, but do not want to do any package
installs.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 7 Mar 2016 20:47:09 +0000 (14:47 -0600)]
make sure ceph_origin != "upstream" when using rhcs
When installing RHCS there is an option to install from distro provided
packages, this commit modifies the check to allow that to happen.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Leseb [Mon, 7 Mar 2016 13:06:20 +0000 (14:06 +0100)]
Merge pull request #606 from ceph/jewel-start
ceph-common: fix mon startup for dev installation
Sébastien Han [Mon, 7 Mar 2016 13:05:01 +0000 (14:05 +0100)]
vagrant: ability to configure installation source
now with vagrant, you can either enable ceph_stable or ceph_dev
depending on what you're looking to test.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Mon, 7 Mar 2016 12:28:54 +0000 (13:28 +0100)]
ceph-common: fix mon startup for dev installation
closes: #602 and #587
Signed-off-by: Sébastien Han <seb@redhat.com>
Ben England [Sat, 5 Mar 2016 11:26:50 +0000 (06:26 -0500)]
so non-OSD hosts will not fail