]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Add ceph-common role to client machines 249/head
authorSébastien Han <sebastien.han@enovance.com>
Tue, 14 Apr 2015 10:53:41 +0000 (12:53 +0200)
committerSébastien Han <sebastien.han@enovance.com>
Tue, 14 Apr 2015 10:53:41 +0000 (12:53 +0200)
Add another warning for cephx signatures

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Vagrantfile
roles/ceph-common/defaults/main.yml
site.yml

index 22bedba9de2e3658131e0e570bc5ae3156d5c18d..064601ac993de884b7c0ea6d5b7f60be9b099f52 100644 (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
index 1b297919c608266f40ecfbad42bf398ff2141fca..b5d25afbfcaac0503736bd3ea880d4fb59112a96 100644 (file)
@@ -51,7 +51,7 @@ ceph_dev_redhat_distro: centos7
 #\r
 fsid: "{{ cluster_uuid.stdout }}"\r
 cephx: true\r
-cephx_require_signatures: true # Kernel RBD does NOT support signatures!\r
+cephx_require_signatures: true # Kernel RBD does NOT support signatures for Kernels < 3.18!\r
 cephx_cluster_require_signatures: true\r
 cephx_service_require_signatures: false\r
 max_open_files: 131072\r
index 72704be593a51107aa46e05ccf2b002abb55b9ff..2579dafcc4ac0555d891c61fbfb2cc9bef2f88a6 100644 (file)
--- a/site.yml
+++ b/site.yml
@@ -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 }