commit | 251b3878f4fb98d9fec7aa8f99f384266e23a94c | [log] [tgz] |
---|---|---|
author | Wenqing Gu <wenqing.gu@gmail.com> | Wed May 22 21:02:28 2019 +0200 |
committer | Wenqing Gu <wenqing.gu@gmail.com> | Thu May 23 12:45:33 2019 +0200 |
tree | f0df9694bbda1cd4f222ea9be55cd5af80db9f1b | |
parent | 48a3fa97f779c6da31b1a709ece7369cff5d75b6 [diff] |
Bugfix in ceph: size should not be string Change-Id: I03caaab8600542d2272310344b922c4d21c8aac8
diff --git a/engine/installer/kubespray/playbooks/roles/post-deployment/templates/pool.yaml.j2 b/engine/installer/kubespray/playbooks/roles/post-deployment/templates/pool.yaml.j2 index 6dc5fac..521cfb5 100644 --- a/engine/installer/kubespray/playbooks/roles/post-deployment/templates/pool.yaml.j2 +++ b/engine/installer/kubespray/playbooks/roles/post-deployment/templates/pool.yaml.j2
@@ -28,7 +28,7 @@ crushRoot: default # For a pool based on raw copies, specify the number of copies. A size of 1 indicates no redundancy. replicated: - size: "{{ rook_block_pool_replicas }}" + size: {{ rook_block_pool_replicas }} # For an erasure-coded pool, comment out the replicated size above and uncomment the following settings. # Make sure you have enough OSDs to support the replica size or sum of the erasure coding and data chunks. #erasureCoded:
diff --git a/engine/installer/kubespray/playbooks/roles/post-deployment/vars/main.yml b/engine/installer/kubespray/playbooks/roles/post-deployment/vars/main.yml index 1652236..a23321e 100644 --- a/engine/installer/kubespray/playbooks/roles/post-deployment/vars/main.yml +++ b/engine/installer/kubespray/playbooks/roles/post-deployment/vars/main.yml
@@ -25,7 +25,7 @@ rook_node_device_filter: "vdb" rook_block_pool_name: "block-pool" -rook_block_pool_replicas: 3 +rook_block_pool_replicas: 1 rook_block_storage_name: "block-storage" rook_block_storage_fs: "xfs"