roles: fix *_docker_memory_limit default value

append 'm' suffix to specify the unit size used in all
`*_docker_memory_limit`.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/3186/head
Guillaume Abrioux 2018-10-29 11:46:46 +01:00 committed by Sébastien Han
parent b7e4d4eb84
commit 748342f5b6
14 changed files with 18 additions and 18 deletions

View File

@ -88,14 +88,14 @@ dummy:
# These options can be passed using the 'ceph_mds_docker_extra_env' variable.
# TCMU_RUNNER resource limitation
#ceph_tcmu_runner_docker_memory_limit: "{{ ansible_memtotal_mb }}"
#ceph_tcmu_runner_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
#ceph_tcmu_runner_docker_cpu_limit: 1
# RBD_TARGET_GW resource limitation
#ceph_rbd_target_gw_docker_memory_limit: "{{ ansible_memtotal_mb }}"
#ceph_rbd_target_gw_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
#ceph_rbd_target_gw_docker_cpu_limit: 1
# RBD_TARGET_API resource limitation
#ceph_rbd_target_api_docker_memory_limit: "{{ ansible_memtotal_mb }}"
#ceph_rbd_target_api_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
#ceph_rbd_target_api_docker_cpu_limit: 1

View File

@ -27,7 +27,7 @@ dummy:
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_mds_docker_extra_env' variable.
#ceph_mds_docker_memory_limit: "{{ ansible_memtotal_mb }}"
#ceph_mds_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
#ceph_mds_docker_cpu_limit: 1
# we currently for MDS_NAME to hostname because of a bug in ceph-docker

View File

@ -32,7 +32,7 @@ dummy:
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_mgr_docker_extra_env' variable.
#ceph_mgr_docker_memory_limit: "{{ ansible_memtotal_mb }}"
#ceph_mgr_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
#ceph_mgr_docker_cpu_limit: 1
#ceph_mgr_docker_extra_env:

View File

@ -72,7 +72,7 @@ dummy:
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_mon_docker_extra_env' variable.
#ceph_mon_docker_memory_limit: "{{ ansible_memtotal_mb }}"
#ceph_mon_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
#ceph_mon_docker_cpu_limit: 1
# Use this variable to add extra env configuration to run your mon container.

View File

@ -233,7 +233,7 @@ dummy:
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_osd_docker_extra_env' variable.
#ceph_osd_docker_memory_limit: "{{ ansible_memtotal_mb }}"
#ceph_osd_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
#ceph_osd_docker_cpu_limit: 1
# The next two variables are undefined, and thus, unused by default.

View File

@ -51,7 +51,7 @@ dummy:
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_rbd_mirror_docker_extra_env' variable.
#ceph_rbd_mirror_docker_memory_limit: "{{ ansible_memtotal_mb }}"
#ceph_rbd_mirror_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
#ceph_rbd_mirror_docker_cpu_limit: 1
#ceph_rbd_mirror_docker_extra_env:

View File

@ -62,7 +62,7 @@ dummy:
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_rgw_docker_extra_env' variable.
#ceph_rgw_docker_memory_limit: "{{ ansible_memtotal_mb }}"
#ceph_rgw_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
#ceph_rgw_docker_cpu_limit: 1
#ceph_rgw_docker_extra_env:

View File

@ -80,13 +80,13 @@ trusted_ip_list: 192.168.122.1
# These options can be passed using the 'ceph_mds_docker_extra_env' variable.
# TCMU_RUNNER resource limitation
ceph_tcmu_runner_docker_memory_limit: "{{ ansible_memtotal_mb }}"
ceph_tcmu_runner_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
ceph_tcmu_runner_docker_cpu_limit: 1
# RBD_TARGET_GW resource limitation
ceph_rbd_target_gw_docker_memory_limit: "{{ ansible_memtotal_mb }}"
ceph_rbd_target_gw_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
ceph_rbd_target_gw_docker_cpu_limit: 1
# RBD_TARGET_API resource limitation
ceph_rbd_target_api_docker_memory_limit: "{{ ansible_memtotal_mb }}"
ceph_rbd_target_api_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
ceph_rbd_target_api_docker_cpu_limit: 1

View File

@ -19,7 +19,7 @@ copy_admin_key: false
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_mds_docker_extra_env' variable.
ceph_mds_docker_memory_limit: "{{ ansible_memtotal_mb }}"
ceph_mds_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
ceph_mds_docker_cpu_limit: 1
# we currently for MDS_NAME to hostname because of a bug in ceph-docker

View File

@ -24,7 +24,7 @@ ceph_mgr_modules: [status]
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_mgr_docker_extra_env' variable.
ceph_mgr_docker_memory_limit: "{{ ansible_memtotal_mb }}"
ceph_mgr_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
ceph_mgr_docker_cpu_limit: 1
ceph_mgr_docker_extra_env:

View File

@ -64,7 +64,7 @@ create_crush_tree: false
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_mon_docker_extra_env' variable.
ceph_mon_docker_memory_limit: "{{ ansible_memtotal_mb }}"
ceph_mon_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
ceph_mon_docker_cpu_limit: 1
# Use this variable to add extra env configuration to run your mon container.

View File

@ -225,7 +225,7 @@ ceph_config_keys: [] # DON'T TOUCH ME
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_osd_docker_extra_env' variable.
ceph_osd_docker_memory_limit: "{{ ansible_memtotal_mb }}"
ceph_osd_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
ceph_osd_docker_cpu_limit: 1
# The next two variables are undefined, and thus, unused by default.

View File

@ -43,7 +43,7 @@ ceph_rbd_mirror_remote_user: ""
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_rbd_mirror_docker_extra_env' variable.
ceph_rbd_mirror_docker_memory_limit: "{{ ansible_memtotal_mb }}"
ceph_rbd_mirror_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
ceph_rbd_mirror_docker_cpu_limit: 1
ceph_rbd_mirror_docker_extra_env:

View File

@ -54,7 +54,7 @@ rgw_pull_proto: "http"
# For the whole list of limits you can apply see: docs.docker.com/engine/admin/resource_constraints
# Default values are based from: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations
# These options can be passed using the 'ceph_rgw_docker_extra_env' variable.
ceph_rgw_docker_memory_limit: "{{ ansible_memtotal_mb }}"
ceph_rgw_docker_memory_limit: "{{ ansible_memtotal_mb }}m"
ceph_rgw_docker_cpu_limit: 1
ceph_rgw_docker_extra_env: