Commit Graph

1587 Commits (c7be6f85c7af7bb7c0b89591bf00fc06035f4bcb)
 

Author SHA1 Message Date
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
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
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
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
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
Sébastien Han d3ceab904d iscsi-gw: preparing the new iscsi role
adding the bare minimum to test and start the new role.

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-08-26 15:29:07 +02:00
Sébastien Han 64cb2dba68 groups_vars update
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-08-26 13:33:59 +02:00
Sébastien Han 5b4dab3c89 Merge branch 'master' of github.com:ceph/ceph-ansible 2016-08-26 13:32:50 +02:00
Sébastien Han 923c40fc61 common: declare raw_journal_devices
So we can safely pass the check and avoid the undeclared variable error.

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-08-26 13:31:45 +02:00
Leseb 6b37c21cf1 Merge pull request #959 from font/nfs
NFS fixes
2016-08-26 10:36:17 +02:00
Ivan Font 94f8d8540a NFS fixes
- Move mon_containerized_default_ceph_conf_with_kv config from ceph-mon
  to ceph-common defaults as it's used in ceph-nfs
- Update conditional to generate ganesha config when not
  mon_containerized_default_ceph_conf_with_kv
- Revert change to store radosgw keyring using ansible_hostname on
  ansible server so that ceph-nfs can find it
- Update ceph-ceph-nfs0-rgw-user container to use ansible_hostname
  variable

Signed-off-by: Ivan Font <ivan.font@redhat.com>
2016-08-25 22:41:31 -07:00
Leseb a41eddf6f0 Merge pull request #957 from gbraad/patch-readme
Correct naming of referenced file
2016-08-25 09:58:29 +02:00
Leseb fc5f32409f Merge pull request #956 from gbraad/patch-1
Correct a small typo
2016-08-25 09:56:03 +02:00
Gerard Braad 04ee3a9ee2 Correct naming of referenced file 2016-08-25 03:19:41 +00:00
Gerard Braad df4d0741f7 Correct a small typo and description 2016-08-25 02:20:14 +00:00
Leseb 8719b3556c Merge pull request #955 from font/rgw
Fix for ceph-rgw role
2016-08-24 09:48:56 +02:00
Leseb 8246e58a8f Merge pull request #954 from font/purge
Update relative path to include vars
2016-08-24 09:45:33 +02:00
Leseb e017386645 Merge pull request #951 from ceph/fix-docker-cluster-name
Fix docker cluster name
2016-08-24 09:44:40 +02:00
Ivan Font 2073a72b39 Fix for ceph-rgw role
- Short-circuit conditional to prevent dereferencing an undefined
  dictionary variable

Signed-off-by: Ivan Font <ivan.font@redhat.com>
2016-08-24 00:30:05 -07:00