Commit Graph

2087 Commits (1cf5c36ee42887ed41d0c324fb76e2db5df6b7da)
 

Author SHA1 Message Date
Eduard Egorov f33c1cd2d2 Make {{ devices }} list optional: define it as empty list by default, remove unneccessary 'default([])' checks
Signed-off-by: Eduard Egorov <eduard.egorov@icl-services.com>
2016-11-01 09:57:25 +00:00
Leseb 59ee496088 Merge pull request #1045 from wind0204/pr-monitor_interface_with_hyphens
now you can use a network link name with a hyphen
2016-10-31 21:15:55 +01:00
Leseb fb8167cf79 Merge pull request #1052 from verdurin/revert-1042-centos-extras-ini_file
Revert "Change enabling of extras repo for CentOS to use ini_file"
2016-10-31 16:31:51 +01:00
Leseb a74dbc338f Merge pull request #1060 from ceph/issue-1054
raw_multi_journal is not required when using dmcrypt_dedicated_journal
2016-10-31 12:24:17 +01:00
Leseb 0e028f9043 Merge pull request #1048 from cloudnull/config_template_v22
Updated config_template for 2.2 compat
2016-10-31 11:25:48 +01:00
Andrew Schoen 4146edb3d2 raw_multi_journal is not required when using dmcrypt_dedicated_journal
Fixes: https://github.com/ceph/ceph-ansible/issues/1054

Signed-off-by: Andrew Schoen <aschoen@redhat.com>

Resolves: issue#1054
2016-10-28 11:12:55 -05:00
Alfredo Deza 3cba5172be Merge pull request #1057 from ceph/RHBZ-1389456
rolling_update: define mon_group_name when upgrading the mons
2016-10-27 15:23:27 -04:00
Andrew Schoen 0897c965ff rolling_update: define mon_group_name when upgrading the mons
see: https://bugzilla.redhat.com/show_bug.cgi?id=1389456

Signed-off-by: Andrew Schoen <aschoen@redhat.com>

Resolves: rhbz#1389456
2016-10-27 14:17:56 -05:00
Alfredo Deza 63239e05cf Merge pull request #1050 from ceph/issue-1041
ceph-osd: use ini_file instead of yum_repository to enable Centos extras
2016-10-27 08:08:16 -04:00
Alfredo Deza d2cd0d9557 Merge pull request #1055 from ceph/update-role-path
rebased rolling_update: fix wrong indent
2016-10-26 14:12:26 -04:00
Sébastien Han b0989c700f rolling_update: fix wrong indent
Fixing: https://bugzilla.redhat.com/show_bug.cgi?id=1388295
Also add some notes in the README on how to run infrastructure
playbooks.

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-10-26 12:51:08 -05:00
Andrew Schoen 77e428b182 Merge pull request #1049 from font/rolling_update
Update for infrastructure-playbooks execution
2016-10-26 12:11:11 -05:00
Ivan Font 534b188396 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>
2016-10-26 09:43:37 -07:00
Alfredo Deza 4e3bc748e0 Merge pull request #1051 from ceph/syntax-fixes
infrastructure-playbooks: fix syntax errors in all playbooks
2016-10-26 08:41:37 -04:00
Adam Huffman 3b9f4f7de3 Revert "Change enabling of extras repo for CentOS to use ini_file" 2016-10-26 10:04:59 +02:00
Andrew Schoen bebf412c92 infrastructure-playbooks: fix syntax errors in all playbooks
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-10-25 16:56:58 -05:00
Andrew Schoen 3b2bd02c14 ceph-osd: use ini_file instead of yum_repository to enable Centos extras
Fixes issue #1041

Signed-off-by: Andrew Schoen <aschoen@redhat.com>

Resolves: issue#1041
2016-10-25 14:16:42 -05:00
Kevin Carter 7da0c7913b
Updated config_template for 2.2 compat
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-10-25 10:38:09 -05:00
Leseb 860ee8cfc9 Merge pull request #1029 from badone/wip-python2
site.yml.sample: Attempt to install python2
2016-10-25 10:15:05 +02:00
Leseb 4883fa6161 Merge pull request #1042 from verdurin/centos-extras-ini_file
Change enabling of extras repo for CentOS to use ini_file
2016-10-25 09:50:52 +02:00
Gunwoo Gim (a.k.a. Nicho1as) 0421ade0df now you can use a network link name with a hyphen 2016-10-25 00:49:11 +09:00
Leseb e616ccf894 Merge pull request #1043 from ceph/rbd-pg
mon: destroy and recreate rbd pool if necessary
2016-10-22 01:32:49 +02:00
Sébastien Han 1e6c418a65 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>
2016-10-22 01:31:15 +02:00
Leseb 62c8b2f66c Merge pull request #1044 from batrick/no-vagrant-dev-branch
vagrant: use group_vars for ceph pkg source
2016-10-21 22:57:48 +02:00
Patrick Donnelly 9225443785
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>
2016-10-21 10:46:11 -04:00
Adam Huffman 68bafc1fd0 Change enabling of extras repo for CentOS to use ini_file
Signed-off-by: Adam Huffman <bloch@verdurin.com>
2016-10-19 22:15:14 +01:00
Leseb f7680b99b2 Merge pull request #1039 from analbeard/master
fixed breakage on Debian under ansible v2.0 caused by #74d73d1e65b672…
2016-10-19 14:47:52 +02:00
Simon Weald 5973f67b7b fixed breakage on Debian under ansible v2.0 caused by #74d73d1e65b6720c0372c61aea7a627e4e571a3b 2016-10-19 12:36:49 +01:00
Leseb 74d73d1e65 Merge pull request #1035 from verdurin/centos-extras
Ensure extras repo enabled on CentOS
2016-10-18 18:23:40 +02:00
Leseb 0cda86b1dc Merge pull request #1036 from analbeard/master
forced an apt-get update prior to installing any packages from Ceph r…
2016-10-18 13:52:08 +02:00
Adam Huffman 9de16e4d94 Ensure extras repo enabled for CentOS across different roles
Signed-off-by: Adam Huffman <bloch@verdurin.com>
2016-10-17 21:44:30 +01:00
Simon Weald 6adab85df2 forced an apt-get update prior to installing any packages from Ceph repos 2016-10-17 15:37:26 +01:00
Adam Huffman 4315166e91 Remove superfluous distro family check
Signed-off-by: Adam Huffman <bloch@verdurin.com>
2016-10-17 10:39:06 +01:00
Brad Hubbard e6994aecd3 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>
2016-10-17 19:08:12 +10:00
Adam Huffman f3dea0d40a Ensure extras repo enabled on CentOS 2016-10-16 23:23:43 +01:00
Sébastien Han a3979229fb common: backward compatibility name for rhcs
backward compatibility for ceph-ansible version running latest code but
using variables defined before commit: 492518a2

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-10-14 15:19:11 +02:00
Leseb 869c287331 Merge pull request #1022 from jsaintrocc/vagrant-xenial
Updated to use xenial by default.  Added OSD specific controller.
2016-10-13 18:45:50 +09:00
Leseb 78b2a67e51 Merge pull request #1028 from badone/wip-vagrant_box_url
vagrant_variables.yml.sample: vagrant_url should be vagrant_box_url
2016-10-12 12:59:06 +09:00
Brad Hubbard 413097c346 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>
2016-10-12 12:35:01 +10:00
Leseb b8cbe4c505 Merge pull request #1023 from ceph/fix-copy-rundep
common: fix rundep installation
2016-10-11 11:59:40 +09:00
James Saint-Rossy 3ebf72b62f Switched to using the bento/ubuntu-16.04 box 2016-10-10 15:10:30 -04:00
Sébastien Han dafb100e2a common: fix rundep installation
see: https://bugzilla.redhat.com/show_bug.cgi?id=1382878

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-10-10 16:57:37 +09:00
James Saint-Rossy 30adb52226 Updated to use xenial by default. Added OSD specific controller so we are less dependent on boxes controller 2016-10-09 23:55:53 -04:00
Leseb b32f3dac6c Merge pull request #1019 from font/vagrant-openstack-config
Updates to fix running with openstack
2016-10-08 16:03:59 +02:00
Ivan Font bd2cfcfb9e Updates to fix running with OpenStack
Signed-off-by: Ivan Font <ivan.font@redhat.com>
2016-10-07 13:48:50 -07:00
Leseb 9eccd339a7 Merge pull request #1015 from font/vagrant_net_cfg
Create separate subnet for public/cluster networks
2016-10-07 18:12:51 +02:00
Ivan Font 22d82c024c Use same private subnet for public/cluster networks for OpenStack 2016-10-07 08:57:46 -07:00
Ivan Font 3cf29fd2dc Use same private subnet for public/cluster networks for Linode 2016-10-07 08:50:09 -07:00
Ivan Font ec89643810 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.
2016-10-07 08:30:12 -07:00
Leseb 05a9e68a40 Merge pull request #1014 from 9seconds/cluster_name_for_ceph_fetch_keys
Allow to propagate cluster name to ceph-fetch-keys
2016-10-07 15:53:39 +02:00