Commit Graph

2453 Commits (04868bf882da39857a377ad832ea42f0ffe449b9)
 

Author SHA1 Message Date
Sébastien Han ac2cb9ac2c 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>
2016-10-03 11:27:02 +02:00
James Saint-Rossy 9c7dac6b94 Updated release version check 2016-09-30 11:43:53 -04:00
James Saint-Rossy e2198b3c6a Rebased 2016-09-29 19:48:54 -04:00
Leseb 1a7d1ca6bf Merge pull request #998 from batrick/vagrant-label-prefix
vagrant: add label_prefix setting
2016-09-29 14:43:13 +02:00
Leseb ca9cb26392 Merge pull request #1000 from Oloremo/master
Small fix in config template
2016-09-28 17:52:26 +02:00
Proskurin Kirill c7be6f85c7 Remove duplication of "osd crush chooseleaf type"
Signed-off-by: Proskurin Kirill <kproskurin@mirantis.com>
2016-09-28 18:47:46 +03:00
James Saint-Rossy 99f1caa120 Fixed check to legacy ceph_stable_releases list 2016-09-26 11:33:17 -04:00
Leseb 9619fdfdf0 Merge pull request #999 from ktdreyer/rhcs-2-default
group_vars: default to version 2 of RHCS
2016-09-26 16:00:28 +02:00
James Saint-Rossy d36a99e41b Used list style ands for better readibility and fixed legacy debian checks 2016-09-26 09:19:15 -04:00
James Saint-Rossy 982c44d41c Rebased with upstream master 2016-09-25 23:22:16 -04:00
Patrick Donnelly f0a7a250b0
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>
2016-09-23 13:50:12 -04:00
Alfredo Deza d5ddd86e9c 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
2016-09-23 11:22:06 -06:00
Leseb 614ee4937d Merge pull request #997 from batrick/client-ceph-fuse
ceph-common: install ceph-fuse on clients
2016-09-23 12:17:31 +02:00
Patrick Donnelly 2bf06246a8
ceph-common: install ceph-fuse on clients
Fixes #985.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2016-09-22 23:01:44 -04:00
Leseb d7699672a8 Merge pull request #988 from batrick/linode-dockerfile
docker: add Dockerfile for Linode cluster dev env
2016-09-22 11:54:41 +02:00
Leseb efe4235ef6 Merge pull request #990 from font/iscsi
Adding iscsi_gw_vms variable
2016-09-22 11:53:53 +02:00
Leseb eb8b59f409 Merge pull request #984 from thotypous/master
Allow deployer to customize openstack pools
2016-09-22 11:34:53 +02:00
Ivan Font 69e693297d Adding iscsi_gw_vms variable
Signed-off-by: Ivan Font <ivan.font@redhat.com>
2016-09-21 16:02:13 -07:00
Patrick Donnelly e756214bb5
docker: add README documenting directory purpose
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2016-09-21 18:21:50 -04:00
Paulo Matias a13094b888 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.
2016-09-21 14:49:42 -03:00
Leseb 7174959152 Merge pull request #989 from ceph/switch-bare-metal-to-container
ability to switch from bare metal to containerized daemons
2016-09-21 18:08:10 +02:00
Sébastien Han b8158a6554 ability to switch from bare metal to containerized daemons
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-09-21 18:07:50 +02:00
Patrick Donnelly 54f98eac66
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>
2016-09-21 11:14:04 -04:00
Leseb 517196ed66 Merge pull request #977 from ceph/switch-bare-metal-to-container
ability to switch from bare metal to containerized daemons
2016-09-21 15:04:06 +02:00
Leseb e5acff23eb Merge pull request #981 from ceph/persistent-disk-path
ceph-osd: get full link path when testing if a partition
2016-09-21 14:56:50 +02:00
Leseb bb5aa1bb3e Merge pull request #982 from batrick/linode
vagrant: add support for Linode VMs
2016-09-21 14:56:35 +02:00
Sébastien Han 5bfa1b0d24 ability to switch from bare metal to containerized daemons
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-09-21 14:46:57 +02:00
Patrick Donnelly 0912e46860
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>
2016-09-20 10:45:56 -04:00
Sébastien Han 381af6c18d 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>
2016-09-20 10:15:06 +02:00
Patrick Donnelly bcb2e39017
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>
2016-09-19 17:35:41 -04:00
Leseb 112a2b2970 Merge pull request #980 from batrick/deploy_monitors-py2
deploy_monitors: use python2 for v2 code
2016-09-19 09:42:56 +02:00
Patrick Donnelly 35c64f91f4
deploy_monitors: use python2 for v2 code
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2016-09-18 20:42:14 -04:00
Leseb 2af46451e7 Merge pull request #978 from FranBarrera/openstack-add-floating-ip
Add floating_ip_pool openstack
2016-09-16 15:42:48 +02:00
FranBarrera 4900f8fe89 Add floating-ip openstack
Signed-off-by: FranBarrera <FranBarrera6@gmail.com>
2016-09-15 14:25:03 +02:00
Leseb 19b3caef2b Merge pull request #976 from FranBarrera/add-openstack-net
Add network Openstack
2016-09-13 14:21:41 +02:00
FranBarrera daf5094ede Add net openstack
Signed-off-by: FranBarrera <franbarrera6@gmail.com>
2016-09-13 14:14:07 +02:00
FranBarrera 100a099c98 Revert "Add net openstack"
This reverts commit 4e4433cd81.
2016-09-13 14:08:54 +02:00
FranBarrera 11e502a1d9 Revert "add net in vagrant_variables.yml.sample"
This reverts commit a0172d4238.
2016-09-13 14:06:31 +02:00
FranBarrera a0172d4238 add net in vagrant_variables.yml.sample
Signed-off-by: FranBarrera <franbarrera6@gmail.com>
2016-09-13 13:58:04 +02:00
FranBarrera 4e4433cd81 Add net openstack
Signed-off-by: FranBarrera <franbarrera6@gmail.com>
2016-09-13 13:53:11 +02:00
Leseb 333b620f9d Merge pull request #975 from ceph/remove-compact-upggrade
rolling updates: remove mon compact command
2016-09-13 10:11:46 +02:00
Sébastien Han 21356c653f rolling updates: remove mon compact command
Users have reported this task to hang. Since this command is not
required to perform the upgrade, we remove it.

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-09-13 10:09:07 +02:00
Leseb 5298de3ef5 Merge pull request #972 from racpatel/fix-rolling_update
rolling_update.yml will not work if cluster name is other than ceph
2016-09-10 14:14:21 +02:00
James Saint-Rossy d4a60a9394 Added ceph_release generation and fixed missing whitespace in ceph_release checks 2016-09-09 18:16:41 -04:00
James Saint-Rossy 666637f715 Replaced is_before is_after is_ booleans with numerical version dictionary 2016-09-09 17:34:26 -04:00
Rachana Patel ad5805f03e rolling_update.yml will not work if cluster name is not 'ceph'. Adding --cluster will solve this problem
Fixes issue #969

Signed-off-by: Rachana Patel <rachana83.patel@gmail.com>
2016-09-07 15:38:58 -04:00
James Saint-Rossy f52be23770 Prevent local_action from requiring root 2016-09-02 19:31:59 -04:00
James Saint-Rossy 9d97ffed30 Rebasing with upstream 2016-08-31 17:13:09 -04:00
Sébastien Han b5627155a8 common: add gluster ganesha repo on Debian
should fix: #964

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-08-30 17:01:07 +02:00
Leseb ca4d4482ef Merge pull request #960 from ceph/prepare-lrbd
iscsi-gw: preparing the new iscsi role
2016-08-26 15:30:02 +02:00