Merge pull request #249 from leseb/client

Add ceph-common role to client machines
pull/255/head
Leseb 2015-04-14 13:52:24 +02:00
commit a49d93c592
3 changed files with 7 additions and 5 deletions

9
Vagrantfile vendored
View File

@ -21,10 +21,11 @@ ansible_provision = proc do |ansible|
# these aren't supported by Vagrant, see
# https://github.com/mitchellh/vagrant/issues/3539
ansible.groups = {
'mons' => (0..NMONS - 1).map { |j| "mon#{j}" },
'osds' => (0..NOSDS - 1).map { |j| "osd#{j}" },
'mdss' => (0..NMDSS - 1).map { |j| "mds#{j}" },
'rgws' => (0..NRGWS - 1).map { |j| "rgw#{j}" }
'mons' => (0..NMONS - 1).map { |j| "mon#{j}" },
'osds' => (0..NOSDS - 1).map { |j| "osd#{j}" },
'mdss' => (0..NMDSS - 1).map { |j| "mds#{j}" },
'rgws' => (0..NRGWS - 1).map { |j| "rgw#{j}" },
'clients' => (0..CLIENTS - 1).map { |j| "client#{j}" }
}
# In a production deployment, these should be secret

View File

@ -51,7 +51,7 @@ ceph_dev_redhat_distro: centos7
#
fsid: "{{ cluster_uuid.stdout }}"
cephx: true
cephx_require_signatures: true # Kernel RBD does NOT support signatures!
cephx_require_signatures: true # Kernel RBD does NOT support signatures for Kernels < 3.18!
cephx_cluster_require_signatures: true
cephx_service_require_signatures: false
max_open_files: 131072

View File

@ -6,6 +6,7 @@
- osds
- mdss
- rgws
- clients # Kernel RBD does NOT support signatures for Kernels < 3.18! Make sure to set cephx_require_signatures: false
sudo: True
roles:
- { role: ceph-common, when: not docker }