]>
git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
Adam Huffman [Wed, 26 Oct 2016 08:04:59 +0000 (10:04 +0200)]
Revert "Change enabling of extras repo for CentOS to use ini_file"
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
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
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
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>
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
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>
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>
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 …
Simon Weald [Wed, 19 Oct 2016 11:36:49 +0000 (12:36 +0100)]
fixed breakage on Debian under ansible v2.0 caused by #
74d73d1e65b6720c0372c61aea7a627e4e571a3b
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
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…
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>
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
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>
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>
Adam Huffman [Sun, 16 Oct 2016 22:23:43 +0000 (23:23 +0100)]
Ensure extras repo enabled on CentOS
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.
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
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>
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
James Saint-Rossy [Mon, 10 Oct 2016 19:10:30 +0000 (15:10 -0400)]
Switched to using the bento/ubuntu-16.04 box
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>
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
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
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>
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
Ivan Font [Fri, 7 Oct 2016 15:57:46 +0000 (08:57 -0700)]
Use same private subnet for public/cluster networks for OpenStack
Ivan Font [Fri, 7 Oct 2016 15:50:09 +0000 (08:50 -0700)]
Use same private subnet for public/cluster networks for Linode
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.
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
9seconds [Fri, 7 Oct 2016 13:09:42 +0000 (16:09 +0300)]
Update ceph-fetch-keys vars sample
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
Leseb [Fri, 7 Oct 2016 09:14:46 +0000 (11:14 +0200)]
Merge pull request #1016 from suuuper/master
Fixed packages for red hat
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>
suuuper [Fri, 7 Oct 2016 08:36:19 +0000 (10:36 +0200)]
Fixed packages for red hat
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.
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
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>
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
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>
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
Leseb [Thu, 6 Oct 2016 09:34:43 +0000 (11:34 +0200)]
Merge pull request #1006 from ceph/fix-autodiscovery
osd: fix autodiscovery disk
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
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
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>
Musee Ullah [Wed, 5 Oct 2016 21:36:41 +0000 (14:36 -0700)]
Remove dupes in raw_journal_devices in a consistent manner
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
OrFriedmann [Wed, 5 Oct 2016 13:13:30 +0000 (16:13 +0300)]
Update install_on_debian.yml
OrFriedmann [Wed, 5 Oct 2016 13:07:25 +0000 (16:07 +0300)]
add installation of jemalloc for nfs-ganesha
OrFriedmann [Wed, 5 Oct 2016 13:04:39 +0000 (16:04 +0300)]
add repositories required for nfs-ganesha
OrFriedmann [Wed, 5 Oct 2016 12:56:30 +0000 (15:56 +0300)]
Merge pull request #2 from ceph/master
Update
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
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
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>
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
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>
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>
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
Simon Weald [Tue, 4 Oct 2016 14:04:15 +0000 (15:04 +0100)]
updated Debian package installation syntax for Ansible v2
Simon Weald [Tue, 4 Oct 2016 14:02:25 +0000 (15:02 +0100)]
fixed installation on Debian Jessie
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
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
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
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>
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>
James Saint-Rossy [Fri, 30 Sep 2016 15:43:53 +0000 (11:43 -0400)]
Updated release version check
James Saint-Rossy [Thu, 29 Sep 2016 23:48:54 +0000 (19:48 -0400)]
Rebased
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
Leseb [Wed, 28 Sep 2016 15:52:26 +0000 (17:52 +0200)]
Merge pull request #1000 from Oloremo/master
Small fix in config template
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>
James Saint-Rossy [Mon, 26 Sep 2016 15:33:17 +0000 (11:33 -0400)]
Fixed check to legacy ceph_stable_releases list
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
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
James Saint-Rossy [Mon, 26 Sep 2016 03:22:16 +0000 (23:22 -0400)]
Rebased with upstream master
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>
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
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
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>
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
Leseb [Thu, 22 Sep 2016 09:53:53 +0000 (11:53 +0200)]
Merge pull request #990 from font/iscsi
Adding iscsi_gw_vms variable
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
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>
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>
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.
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
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>
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>
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
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
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
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>
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>
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>
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>
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
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>
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
FranBarrera [Thu, 15 Sep 2016 12:25:03 +0000 (14:25 +0200)]
Add floating-ip openstack
Signed-off-by: FranBarrera <FranBarrera6@gmail.com>
Leseb [Tue, 13 Sep 2016 12:21:41 +0000 (14:21 +0200)]
Merge pull request #976 from FranBarrera/add-openstack-net
Add network Openstack