Commit Graph

1765 Commits (ecb5d5b35d9e9b13395936bc95db9d8a058c222a)
 

Author SHA1 Message Date
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
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
9seconds f7452f11f9 Update ceph-fetch-keys vars sample 2016-10-07 16:09:42 +03:00
9seconds ff629f749b Merge remote-tracking branch 'upstream/master' into cluster_name_for_ceph_fetch_keys 2016-10-07 16:08:58 +03:00
Leseb 2598e4639f Merge pull request #1016 from suuuper/master
Fixed packages for red hat
2016-10-07 11:14:46 +02:00
Sébastien Han 53db037b27 generate_group_vars: add ceph-fetch-keys
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-10-07 11:04:38 +02:00
suuuper 1abed53f7d Fixed packages for red hat 2016-10-07 10:36:19 +02:00
9seconds 0184469229 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.
2016-10-07 09:06:22 +03:00
Leseb bd50e64665 Merge pull request #1012 from ceph/cluster-name-rolling
rolling_update: improve variables import
2016-10-06 16:07:31 +02:00
Sébastien Han f49bf2832c 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>
2016-10-06 14:08:04 +02:00
Leseb 2a7a54cf14 Merge pull request #1009 from ceph/clarify-osd-scenarios
osd: clarify osd scenarios
2016-10-06 12:02:47 +02:00
Sébastien Han 9753e29bae osd: clarify osd scenarios
Co-Authored-By: Rachana Patel <racpatel@redhat.com>
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-10-06 12:01:29 +02:00
Leseb 9d296a7121 Merge pull request #1008 from font/purge-cluster-rework
Reworked purge cluster playbook
2016-10-06 11:37:20 +02:00
Leseb bceb892a8e Merge pull request #1006 from ceph/fix-autodiscovery
osd: fix autodiscovery disk
2016-10-06 11:34:43 +02:00
Leseb e1af15e24a Merge pull request #1007 from lae/fix/multi_journal_header_task
Remove dupes in raw_journal_devices in a consistent manner
2016-10-06 11:16:58 +02:00
Sébastien Han 860303c265 osd: fix autodiscovery disk
Signed-off-by: Sébastien Han <seb@redhat.com>
Co-Authored-By: Christoph Dwertmann
2016-10-06 11:12:23 +02:00
Ivan Font 5a5e185e11 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>
2016-10-05 21:32:38 -07:00
Musee Ullah 564a8486b0
Remove dupes in raw_journal_devices in a consistent manner 2016-10-05 14:36:41 -07:00
Leseb b906693762 Merge pull request #1005 from OrFriedmann/fix-ubuntu-apt-nfs-ganesha
Fix ubuntu apt nfs ganesha
2016-10-05 17:22:57 +02:00
OrFriedmann 14bb9026b9 Update install_on_debian.yml 2016-10-05 16:13:30 +03:00
OrFriedmann cbaa71d198 add installation of jemalloc for nfs-ganesha 2016-10-05 16:07:25 +03:00
OrFriedmann 1294d94850 add repositories required for nfs-ganesha 2016-10-05 16:04:39 +03:00
OrFriedmann 28ee1fbfad Merge pull request #2 from ceph/master
Update
2016-10-05 15:56:30 +03:00
Leseb 393765c973 Merge pull request #966 from ceph/nfs-ganesha-repo
common: add gluster ganesha repo on Debian
2016-10-05 14:10:25 +02:00