]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
ceph-ansible.git
8 years agoUpdate for infrastructure-playbooks execution 1049/head
Ivan Font [Tue, 25 Oct 2016 16:27:49 +0000 (09:27 -0700)]
Update for infrastructure-playbooks execution

- Updates to allow running infrastructure-playbooks both from within its
  directory or root directory of ceph-ansible.

Signed-off-by: Ivan Font <ifont@redhat.com>
8 years agoMerge pull request #1051 from ceph/syntax-fixes
Alfredo Deza [Wed, 26 Oct 2016 12:41:37 +0000 (08:41 -0400)]
Merge pull request #1051 from ceph/syntax-fixes

infrastructure-playbooks: fix syntax errors in all playbooks

8 years agoinfrastructure-playbooks: fix syntax errors in all playbooks 1051/head
Andrew Schoen [Tue, 25 Oct 2016 21:56:58 +0000 (16:56 -0500)]
infrastructure-playbooks: fix syntax errors in all playbooks

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1029 from badone/wip-python2
Leseb [Tue, 25 Oct 2016 08:15:05 +0000 (10:15 +0200)]
Merge pull request #1029 from badone/wip-python2

site.yml.sample: Attempt to install python2

8 years agoMerge pull request #1042 from verdurin/centos-extras-ini_file
Leseb [Tue, 25 Oct 2016 07:50:52 +0000 (09:50 +0200)]
Merge pull request #1042 from verdurin/centos-extras-ini_file

Change enabling of extras repo for CentOS to use ini_file

8 years agoMerge pull request #1043 from ceph/rbd-pg
Leseb [Fri, 21 Oct 2016 23:32:49 +0000 (01:32 +0200)]
Merge pull request #1043 from ceph/rbd-pg

mon: destroy and recreate rbd pool if necessary

8 years agomon: destroy and recreate rbd pool if necessary 1043/head
Sébastien Han [Thu, 20 Oct 2016 16:19:19 +0000 (18:19 +0200)]
mon: destroy and recreate rbd pool if necessary

Users reported that pool_default_pg_num is not honoured for the default
pool 'rbd'. So now we check the pg num value for the RBD pool and if it
does not match pool_default_pg_num then we delete and recreate it.
We also make sure the pool is empty first, just in case someone changed
the value manually and didn't reflect the change in ceph-ansible.

The only issue with this patch is that the pool ID will not be 0 anymore
but more likely 1.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1044 from batrick/no-vagrant-dev-branch
Leseb [Fri, 21 Oct 2016 20:57:48 +0000 (22:57 +0200)]
Merge pull request #1044 from batrick/no-vagrant-dev-branch

vagrant: use group_vars for ceph pkg source

8 years agovagrant: use group_vars for ceph pkg source 1044/head
Patrick Donnelly [Fri, 21 Oct 2016 14:46:11 +0000 (10:46 -0400)]
vagrant: use group_vars for ceph pkg source

This was a holdout from the Linode merge that shouldn't have been
included. The right way to set the installation source is through
group_vars.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoChange enabling of extras repo for CentOS to use ini_file 1042/head
Adam Huffman [Wed, 19 Oct 2016 21:15:14 +0000 (22:15 +0100)]
Change enabling of extras repo for CentOS to use ini_file

Signed-off-by: Adam Huffman <bloch@verdurin.com>
8 years agoMerge pull request #1039 from analbeard/master
Leseb [Wed, 19 Oct 2016 12:47:52 +0000 (14:47 +0200)]
Merge pull request #1039 from analbeard/master

fixed breakage on Debian under ansible v2.0 caused by #74d73d1e65b672

8 years agofixed breakage on Debian under ansible v2.0 caused by #74d73d1e65b6720c0372c61aea7a62... 1039/head
Simon Weald [Wed, 19 Oct 2016 11:36:49 +0000 (12:36 +0100)]
fixed breakage on Debian under ansible v2.0 caused by #74d73d1e65b6720c0372c61aea7a627e4e571a3b

8 years agoMerge pull request #1035 from verdurin/centos-extras
Leseb [Tue, 18 Oct 2016 16:23:40 +0000 (18:23 +0200)]
Merge pull request #1035 from verdurin/centos-extras

Ensure extras repo enabled on CentOS

8 years agoMerge pull request #1036 from analbeard/master
Leseb [Tue, 18 Oct 2016 11:52:08 +0000 (13:52 +0200)]
Merge pull request #1036 from analbeard/master

forced an apt-get update prior to installing any packages from Ceph r…

8 years agoEnsure extras repo enabled for CentOS across different roles 1035/head
Adam Huffman [Mon, 17 Oct 2016 20:44:30 +0000 (21:44 +0100)]
Ensure extras repo enabled for CentOS across different roles

Signed-off-by: Adam Huffman <bloch@verdurin.com>
8 years agoforced an apt-get update prior to installing any packages from Ceph repos 1036/head
Simon Weald [Mon, 17 Oct 2016 14:37:26 +0000 (15:37 +0100)]
forced an apt-get update prior to installing any packages from Ceph repos

8 years agoRemove superfluous distro family check
Adam Huffman [Mon, 17 Oct 2016 09:39:06 +0000 (10:39 +0100)]
Remove superfluous distro family check

Signed-off-by: Adam Huffman <bloch@verdurin.com>
8 years agosite.yml.sample: Attempt to install python2 1029/head
Brad Hubbard [Wed, 12 Oct 2016 04:03:52 +0000 (14:03 +1000)]
site.yml.sample: Attempt to install python2

Some modern distros ship without python2 so we need to install it blindly,
before any module is run. Fedora > 23 also requires some aditional packages be
installed.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoEnsure extras repo enabled on CentOS
Adam Huffman [Sun, 16 Oct 2016 22:23:43 +0000 (23:23 +0100)]
Ensure extras repo enabled on CentOS

8 years agoMerge pull request #1022 from jsaintrocc/vagrant-xenial
Leseb [Thu, 13 Oct 2016 09:45:50 +0000 (18:45 +0900)]
Merge pull request #1022 from jsaintrocc/vagrant-xenial

Updated to use xenial by default.  Added OSD specific controller.

8 years agoMerge pull request #1028 from badone/wip-vagrant_box_url
Leseb [Wed, 12 Oct 2016 03:59:06 +0000 (12:59 +0900)]
Merge pull request #1028 from badone/wip-vagrant_box_url

vagrant_variables.yml.sample: vagrant_url should be vagrant_box_url

8 years agovagrant_variables.yml.sample: vagrant_url should be vagrant_box_url 1028/head
Brad Hubbard [Wed, 12 Oct 2016 02:35:01 +0000 (12:35 +1000)]
vagrant_variables.yml.sample: vagrant_url should be vagrant_box_url

As per the variable in Vagrantfile and vagrant_variables.yml.linode

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #1023 from ceph/fix-copy-rundep
Leseb [Tue, 11 Oct 2016 02:59:40 +0000 (11:59 +0900)]
Merge pull request #1023 from ceph/fix-copy-rundep

common: fix rundep installation

8 years agoSwitched to using the bento/ubuntu-16.04 box 1022/head
James Saint-Rossy [Mon, 10 Oct 2016 19:10:30 +0000 (15:10 -0400)]
Switched to using the bento/ubuntu-16.04 box

8 years agocommon: fix rundep installation 1023/head
Sébastien Han [Mon, 10 Oct 2016 07:57:37 +0000 (16:57 +0900)]
common: fix rundep installation

see: https://bugzilla.redhat.com/show_bug.cgi?id=1382878

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoUpdated to use xenial by default. Added OSD specific controller so we are less depen...
James Saint-Rossy [Mon, 10 Oct 2016 03:55:53 +0000 (23:55 -0400)]
Updated to use xenial by default.  Added OSD specific controller so we are less dependent on boxes controller

8 years agoMerge pull request #1019 from font/vagrant-openstack-config
Leseb [Sat, 8 Oct 2016 14:03:59 +0000 (16:03 +0200)]
Merge pull request #1019 from font/vagrant-openstack-config

Updates to fix running with openstack

8 years agoUpdates to fix running with OpenStack 1019/head
Ivan Font [Fri, 7 Oct 2016 20:06:42 +0000 (13:06 -0700)]
Updates to fix running with OpenStack

Signed-off-by: Ivan Font <ivan.font@redhat.com>
8 years agoMerge pull request #1015 from font/vagrant_net_cfg
Leseb [Fri, 7 Oct 2016 16:12:51 +0000 (18:12 +0200)]
Merge pull request #1015 from font/vagrant_net_cfg

Create separate subnet for public/cluster networks

8 years agoUse same private subnet for public/cluster networks for OpenStack 1015/head
Ivan Font [Fri, 7 Oct 2016 15:57:46 +0000 (08:57 -0700)]
Use same private subnet for public/cluster networks for OpenStack

8 years agoUse same private subnet for public/cluster networks for Linode
Ivan Font [Fri, 7 Oct 2016 15:50:09 +0000 (08:50 -0700)]
Use same private subnet for public/cluster networks for Linode

8 years agoCreate separate subnet for public/cluster networks
Ivan Font [Fri, 7 Oct 2016 06:04:53 +0000 (23:04 -0700)]
Create separate subnet for public/cluster networks

- All Ceph instances now communicate using public subnet and
  additionally OSDs communicate with each other using private cluster
  subnet
- Workaround for
  https://github.com/vagrant-libvirt/vagrant-libvirt/issues/645
- Fix for #952 to avoid concatenated MAC addresses caused by
  vagrant-libvirt bug.

8 years agoMerge pull request #1014 from 9seconds/cluster_name_for_ceph_fetch_keys
Leseb [Fri, 7 Oct 2016 13:53:39 +0000 (15:53 +0200)]
Merge pull request #1014 from 9seconds/cluster_name_for_ceph_fetch_keys

Allow to propagate cluster name to ceph-fetch-keys

8 years agoUpdate ceph-fetch-keys vars sample 1014/head
9seconds [Fri, 7 Oct 2016 13:09:42 +0000 (16:09 +0300)]
Update ceph-fetch-keys vars sample

8 years agoMerge remote-tracking branch 'upstream/master' into cluster_name_for_ceph_fetch_keys
9seconds [Fri, 7 Oct 2016 13:08:58 +0000 (16:08 +0300)]
Merge remote-tracking branch 'upstream/master' into cluster_name_for_ceph_fetch_keys

8 years agoMerge pull request #1016 from suuuper/master
Leseb [Fri, 7 Oct 2016 09:14:46 +0000 (11:14 +0200)]
Merge pull request #1016 from suuuper/master

Fixed packages for red hat

8 years agogenerate_group_vars: add ceph-fetch-keys
Sébastien Han [Fri, 7 Oct 2016 09:04:38 +0000 (11:04 +0200)]
generate_group_vars: add ceph-fetch-keys

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoFixed packages for red hat 1016/head
suuuper [Fri, 7 Oct 2016 08:36:19 +0000 (10:36 +0200)]
Fixed packages for red hat

8 years agoAllow to propagate cluster name to ceph-fetch-keys
9seconds [Fri, 7 Oct 2016 06:06:21 +0000 (09:06 +0300)]
Allow to propagate cluster name to ceph-fetch-keys

ceph-fetch-keys role currently works only if cluster name is 'ceph'.
This commit allows to set custom cluster name in 'defaults' in the same
fashion as other roles do.

8 years agoMerge pull request #1012 from ceph/cluster-name-rolling v1.0.8
Leseb [Thu, 6 Oct 2016 14:07:31 +0000 (16:07 +0200)]
Merge pull request #1012 from ceph/cluster-name-rolling

rolling_update: improve variables import

8 years agorolling_update: improve variables import 1012/head
Sébastien Han [Thu, 6 Oct 2016 11:56:37 +0000 (13:56 +0200)]
rolling_update: improve variables import

we now have pointer to default role so we don't miss any of the
variables defined.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1009 from ceph/clarify-osd-scenarios v1.0.7
Leseb [Thu, 6 Oct 2016 10:02:47 +0000 (12:02 +0200)]
Merge pull request #1009 from ceph/clarify-osd-scenarios

osd: clarify osd scenarios

8 years agoosd: clarify osd scenarios 1009/head
Sébastien Han [Thu, 6 Oct 2016 09:54:58 +0000 (11:54 +0200)]
osd: clarify osd scenarios

Co-Authored-By: Rachana Patel <racpatel@redhat.com>
Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1008 from font/purge-cluster-rework
Leseb [Thu, 6 Oct 2016 09:37:20 +0000 (11:37 +0200)]
Merge pull request #1008 from font/purge-cluster-rework

Reworked purge cluster playbook

8 years agoMerge pull request #1006 from ceph/fix-autodiscovery
Leseb [Thu, 6 Oct 2016 09:34:43 +0000 (11:34 +0200)]
Merge pull request #1006 from ceph/fix-autodiscovery

osd: fix autodiscovery disk

8 years agoMerge pull request #1007 from lae/fix/multi_journal_header_task
Leseb [Thu, 6 Oct 2016 09:16:58 +0000 (11:16 +0200)]
Merge pull request #1007 from lae/fix/multi_journal_header_task

Remove dupes in raw_journal_devices in a consistent manner

8 years agoosd: fix autodiscovery disk 1006/head
Sébastien Han [Wed, 5 Oct 2016 16:16:30 +0000 (18:16 +0200)]
osd: fix autodiscovery disk

Signed-off-by: Sébastien Han <seb@redhat.com>
Co-Authored-By: Christoph Dwertmann
8 years agoReworked purge cluster playbook 1008/head
Ivan Font [Thu, 6 Oct 2016 04:32:38 +0000 (21:32 -0700)]
Reworked purge cluster playbook

- Separated out one large playbook into multiple playbooks to run
  host-type by host-type i.e. mdss, rgws, rbdmirrors, nfss, osds, mons.
- Combined common tasks into one shared task for all hosts where
  applicable
- Fixed various bugs

Signed-off-by: Ivan Font <ivan.font@redhat.com>
8 years agoRemove dupes in raw_journal_devices in a consistent manner 1007/head
Musee Ullah [Wed, 5 Oct 2016 21:36:41 +0000 (14:36 -0700)]
Remove dupes in raw_journal_devices in a consistent manner

8 years agoMerge pull request #1005 from OrFriedmann/fix-ubuntu-apt-nfs-ganesha
Leseb [Wed, 5 Oct 2016 15:22:57 +0000 (17:22 +0200)]
Merge pull request #1005 from OrFriedmann/fix-ubuntu-apt-nfs-ganesha

Fix ubuntu apt nfs ganesha

8 years agoUpdate install_on_debian.yml 1005/head
OrFriedmann [Wed, 5 Oct 2016 13:13:30 +0000 (16:13 +0300)]
Update install_on_debian.yml

8 years agoadd installation of jemalloc for nfs-ganesha
OrFriedmann [Wed, 5 Oct 2016 13:07:25 +0000 (16:07 +0300)]
add installation of jemalloc for nfs-ganesha

8 years agoadd repositories required for nfs-ganesha
OrFriedmann [Wed, 5 Oct 2016 13:04:39 +0000 (16:04 +0300)]
add repositories required for nfs-ganesha

8 years agoMerge pull request #2 from ceph/master
OrFriedmann [Wed, 5 Oct 2016 12:56:30 +0000 (15:56 +0300)]
Merge pull request #2 from ceph/master

Update

8 years agoMerge pull request #966 from ceph/nfs-ganesha-repo
Leseb [Wed, 5 Oct 2016 12:10:25 +0000 (14:10 +0200)]
Merge pull request #966 from ceph/nfs-ganesha-repo

common: add gluster ganesha repo on Debian

8 years agoMerge pull request #961 from ceph/fix-purge
Leseb [Tue, 4 Oct 2016 16:03:21 +0000 (18:03 +0200)]
Merge pull request #961 from ceph/fix-purge

purge: only purge ceph partitions

8 years agopurge: only purge ceph partitions 961/head
Sébastien Han [Fri, 26 Aug 2016 15:39:43 +0000 (17:39 +0200)]
purge: only purge ceph partitions

Prior to this change we were purging all the partitions on the device
when using the raw_journal_devices scenario.
This was breaking deployments where other partitions are used for other
purposes (ie: OS system).

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #996 from batrick/multimds
Leseb [Tue, 4 Oct 2016 15:43:29 +0000 (17:43 +0200)]
Merge pull request #996 from batrick/multimds

multimds: add commands to enable and set max_mds

8 years agomultimds: add commands to enable and set max_mds 996/head
Patrick Donnelly [Tue, 4 Oct 2016 15:40:20 +0000 (09:40 -0600)]
multimds: add commands to enable and set max_mds

Also regenerated group_vars.

Fixes #986.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agosecure_cluster: fix leftover version check
Patrick Donnelly [Tue, 4 Oct 2016 15:12:15 +0000 (09:12 -0600)]
secure_cluster: fix leftover version check

Missed by #953.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #1004 from analbeard/master
Leseb [Tue, 4 Oct 2016 14:25:46 +0000 (16:25 +0200)]
Merge pull request #1004 from analbeard/master

Debian installation: fix Ansible compilation and correct syntax for Ansible v2

8 years agoupdated Debian package installation syntax for Ansible v2 1004/head
Simon Weald [Tue, 4 Oct 2016 14:04:15 +0000 (15:04 +0100)]
updated Debian package installation syntax for Ansible v2

8 years agofixed installation on Debian Jessie
Simon Weald [Tue, 4 Oct 2016 14:02:25 +0000 (15:02 +0100)]
fixed installation on Debian Jessie

8 years agoMerge pull request #994 from ceph/bz-1203603
Leseb [Tue, 4 Oct 2016 09:41:14 +0000 (11:41 +0200)]
Merge pull request #994 from ceph/bz-1203603

fix non skipped task for ansible v1.9.x

8 years agoMerge pull request #953 from jsaintrocc/hammerfix
Leseb [Tue, 4 Oct 2016 09:34:26 +0000 (11:34 +0200)]
Merge pull request #953 from jsaintrocc/hammerfix

Fixes for Hammer install and added numerical release checks

8 years agoMerge pull request #1001 from ceph/timeout-upgrade
Leseb [Tue, 4 Oct 2016 08:37:22 +0000 (10:37 +0200)]
Merge pull request #1001 from ceph/timeout-upgrade

upgrade: add custom timeout options

8 years agofix non skipped task for ansible v1.9.x 994/head
Sébastien Han [Mon, 3 Oct 2016 14:48:04 +0000 (16:48 +0200)]
fix non skipped task for ansible v1.9.x

please refer to
https://bugzilla.redhat.com/show_bug.cgi?id=1376283

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoupgrade: add custom timeout options 1001/head
Sébastien Han [Mon, 3 Oct 2016 09:24:59 +0000 (11:24 +0200)]
upgrade: add custom timeout options

This commit introduces the ability to configure delays and retries for
cluster health checks, for both monitors and OSDs.

Signed-off-by: Sébastien Han <seb@redhat.com>
9 years agoUpdated release version check 953/head
James Saint-Rossy [Fri, 30 Sep 2016 15:43:53 +0000 (11:43 -0400)]
Updated release version check

9 years agoRebased
James Saint-Rossy [Thu, 29 Sep 2016 23:48:54 +0000 (19:48 -0400)]
Rebased

9 years agoMerge pull request #998 from batrick/vagrant-label-prefix
Leseb [Thu, 29 Sep 2016 12:43:13 +0000 (14:43 +0200)]
Merge pull request #998 from batrick/vagrant-label-prefix

vagrant: add label_prefix setting

9 years agoMerge pull request #1000 from Oloremo/master
Leseb [Wed, 28 Sep 2016 15:52:26 +0000 (17:52 +0200)]
Merge pull request #1000 from Oloremo/master

Small fix in config template

9 years agoRemove duplication of "osd crush chooseleaf type" 1000/head
Proskurin Kirill [Wed, 28 Sep 2016 10:04:44 +0000 (13:04 +0300)]
Remove duplication of "osd crush chooseleaf type"

Signed-off-by: Proskurin Kirill <kproskurin@mirantis.com>
9 years agoFixed check to legacy ceph_stable_releases list
James Saint-Rossy [Mon, 26 Sep 2016 15:33:17 +0000 (11:33 -0400)]
Fixed check to legacy ceph_stable_releases list

9 years agoMerge pull request #999 from ktdreyer/rhcs-2-default
Leseb [Mon, 26 Sep 2016 14:00:28 +0000 (16:00 +0200)]
Merge pull request #999 from ktdreyer/rhcs-2-default

group_vars: default to version 2 of RHCS

9 years agoUsed list style ands for better readibility and fixed legacy debian checks
James Saint-Rossy [Mon, 26 Sep 2016 13:19:15 +0000 (09:19 -0400)]
Used list style ands for better readibility and fixed legacy debian checks

9 years agoRebased with upstream master
James Saint-Rossy [Mon, 26 Sep 2016 03:22:16 +0000 (23:22 -0400)]
Rebased with upstream master

9 years agovagrant: add label_prefix setting 998/head
Patrick Donnelly [Fri, 23 Sep 2016 03:46:09 +0000 (23:46 -0400)]
vagrant: add label_prefix setting

This enables running multiple clusters concurrently in the same Linode
account. Linode does not allow machines to have the same label.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 years agogroup_vars: default to version 2 of RHCS 999/head
Alfredo Deza [Fri, 23 Sep 2016 17:20:46 +0000 (11:20 -0600)]
group_vars: default to version 2 of RHCS

This RHCS version is now generally available. Default to using it.

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
Related: rhbz#1357631

9 years agoMerge pull request #997 from batrick/client-ceph-fuse
Leseb [Fri, 23 Sep 2016 10:17:31 +0000 (12:17 +0200)]
Merge pull request #997 from batrick/client-ceph-fuse

ceph-common: install ceph-fuse on clients

9 years agoceph-common: install ceph-fuse on clients 997/head
Patrick Donnelly [Fri, 23 Sep 2016 03:00:02 +0000 (23:00 -0400)]
ceph-common: install ceph-fuse on clients

Fixes #985.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 years agoMerge pull request #988 from batrick/linode-dockerfile
Leseb [Thu, 22 Sep 2016 09:54:41 +0000 (11:54 +0200)]
Merge pull request #988 from batrick/linode-dockerfile

docker: add Dockerfile for Linode cluster dev env

9 years agoMerge pull request #990 from font/iscsi
Leseb [Thu, 22 Sep 2016 09:53:53 +0000 (11:53 +0200)]
Merge pull request #990 from font/iscsi

Adding iscsi_gw_vms variable

9 years agoMerge pull request #984 from thotypous/master
Leseb [Thu, 22 Sep 2016 09:34:53 +0000 (11:34 +0200)]
Merge pull request #984 from thotypous/master

Allow deployer to customize openstack pools

9 years agoAdding iscsi_gw_vms variable 990/head
Ivan Font [Wed, 21 Sep 2016 23:02:13 +0000 (16:02 -0700)]
Adding iscsi_gw_vms variable

Signed-off-by: Ivan Font <ivan.font@redhat.com>
9 years agodocker: add README documenting directory purpose 988/head
Patrick Donnelly [Wed, 21 Sep 2016 22:21:50 +0000 (18:21 -0400)]
docker: add README documenting directory purpose

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 years agoAllow deployer to customize openstack pools 984/head
Paulo Matias [Wed, 21 Sep 2016 12:21:41 +0000 (09:21 -0300)]
Allow deployer to customize openstack pools

By overriding the openstack_pools variable introduced by this commit, the
deployer may choose not to create some of the openstack pools, or to add
new pools which were not foreseen by ceph-ansible, e.g. for a gnocchi
storage backend.

For backwards compatibility, we keep the openstack_glance_pool,
openstack_cinder_pool, openstack_nova_pool and
openstack_cinder_backup_pool variables, although the user may now choose
to specify the pools directly as dictionary literals inside the
openstack_pools list.

9 years agoMerge pull request #989 from ceph/switch-bare-metal-to-container
Leseb [Wed, 21 Sep 2016 16:08:10 +0000 (18:08 +0200)]
Merge pull request #989 from ceph/switch-bare-metal-to-container

ability to switch from bare metal to containerized daemons

9 years agoability to switch from bare metal to containerized daemons 989/head
Sébastien Han [Wed, 14 Sep 2016 15:53:30 +0000 (17:53 +0200)]
ability to switch from bare metal to containerized daemons

Signed-off-by: Sébastien Han <seb@redhat.com>
9 years agodocker: add Dockerfile for Linode cluster dev env
Patrick Donnelly [Wed, 21 Sep 2016 01:04:40 +0000 (21:04 -0400)]
docker: add Dockerfile for Linode cluster dev env

This Dockerfile is for setting up a dev environment for launching Ceph
clusters on Linode.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 years agoMerge pull request #977 from ceph/switch-bare-metal-to-container
Leseb [Wed, 21 Sep 2016 13:04:06 +0000 (15:04 +0200)]
Merge pull request #977 from ceph/switch-bare-metal-to-container

ability to switch from bare metal to containerized daemons

9 years agoMerge pull request #981 from ceph/persistent-disk-path
Leseb [Wed, 21 Sep 2016 12:56:50 +0000 (14:56 +0200)]
Merge pull request #981 from ceph/persistent-disk-path

ceph-osd: get full link path when testing if a partition

9 years agoMerge pull request #982 from batrick/linode
Leseb [Wed, 21 Sep 2016 12:56:35 +0000 (14:56 +0200)]
Merge pull request #982 from batrick/linode

vagrant: add support for Linode VMs

9 years agoability to switch from bare metal to containerized daemons 977/head
Sébastien Han [Wed, 14 Sep 2016 15:53:30 +0000 (17:53 +0200)]
ability to switch from bare metal to containerized daemons

Signed-off-by: Sébastien Han <seb@redhat.com>
9 years agovagrant: add support for Linode VMs 982/head
Patrick Donnelly [Mon, 19 Sep 2016 21:40:27 +0000 (17:40 -0400)]
vagrant: add support for Linode VMs

Other things of note:

o You can now set the ceph branch to test against in
  vagrant_variables.yml.

o You can now set the ceph_conf_overrides in vagrant_variables.yml.

This commit depends on an open PR:

https://github.com/displague/vagrant-linode/pull/66

Until that is merged, you must copy the changed file to your copy
of the vagrant-linode plugin, e.g.:

    cp lib/vagrant-linode/actions/create.rb ~/.vagrant.d/gems/gems/vagrant-linode-0.2.7/lib/vagrant-linode/actions/create.rb

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 years agoceph-osd: get full link path when testing if a partition 981/head
Sébastien Han [Mon, 19 Sep 2016 14:17:11 +0000 (16:17 +0200)]
ceph-osd: get full link path when testing if a partition

This allows us to test devices set with persistent naming such as
/dev/disk/by-*
When registering devices we can use persisent (/dev/disk/by-*) or
non-persistent (/dev/sd*). Both declarations are supported by
ceph-ansible. There was just two tasks that were not compatible with
this. Since we support using partitions directly we need to test that
because the device activation will be different. To test if the device
is a partition we use a regular expression which wasn't compatible with
the persistent device naming format (/dev/disk/by-*).

This commit solves this issue by reading the path of the symlink since
devices like /dev/disk/by-* are symlinks to devices like /dev/sd*

Signed-off-by: Sébastien Han <seb@redhat.com>
9 years agoceph.conf: add variable setting monitor addr block
Patrick Donnelly [Mon, 19 Sep 2016 21:35:41 +0000 (17:35 -0400)]
ceph.conf: add variable setting monitor addr block

For some providers (such as upcoming Linode support), some NICs may have
multiple IP addresses. (In the case of Linode, the only NIC has a public
and private IP address.) This is normally okay as we can use the
ceph.conf cluster_network and public_network variables to force the
monitor to listen on the addresses we want. However, we also need
ansible to set the correct monitor IP addresses in "mon hosts" (i.e. the
addresses the monitors will listen on!). This new monitor_address_block
setting tells ansible which IP address to use for each monitor.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 years agoMerge pull request #980 from batrick/deploy_monitors-py2
Leseb [Mon, 19 Sep 2016 07:42:56 +0000 (09:42 +0200)]
Merge pull request #980 from batrick/deploy_monitors-py2

deploy_monitors: use python2 for v2 code

9 years agodeploy_monitors: use python2 for v2 code 980/head
Patrick Donnelly [Mon, 19 Sep 2016 00:37:31 +0000 (20:37 -0400)]
deploy_monitors: use python2 for v2 code

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 years agoMerge pull request #978 from FranBarrera/openstack-add-floating-ip v1.0.6
Leseb [Fri, 16 Sep 2016 13:42:48 +0000 (15:42 +0200)]
Merge pull request #978 from FranBarrera/openstack-add-floating-ip

Add floating_ip_pool openstack