From 76cd97b1e57666138454b2c4523f75a890d005d5 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Sat, 4 Dec 2021 13:04:26 +0000 Subject: [PATCH] Reduce ceph memory overhead for AIO by setting is_hci to true This reserves 80% of the host memory to *not* be used when calculating memory limits for the ceph osd processes. This setting is used in ceph-ansible for 'hyperconverged' deployments where nova compute is co-located with osd on the same nodes and the majority of memory must be available for vm guests rather than storage. Change-Id: I7bba3429d71b30253bc72fd013cec4d085eb8fbf --- tests/roles/bootstrap-host/templates/user_variables_ceph.yml.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/roles/bootstrap-host/templates/user_variables_ceph.yml.j2 b/tests/roles/bootstrap-host/templates/user_variables_ceph.yml.j2 index a9c64ab3c9..aed3e9bfb8 100644 --- a/tests/roles/bootstrap-host/templates/user_variables_ceph.yml.j2 +++ b/tests/roles/bootstrap-host/templates/user_variables_ceph.yml.j2 @@ -14,6 +14,7 @@ # limitations under the License. ## ceph-ansible AIO settings +is_hci: true common_single_host_mode: true monitor_interface: "{{ ('metal' in bootstrap_host_scenarios_expanded) | ternary('br-mgmt', 'eth1') }}" # Management network in the AIO public_network: "{{ (mgmt_range ~ '.0/' ~ netmask) | ipaddr('net') }}"