ceph-ansible/roles
Guillaume Abrioux b903446fa4 containers: use --cpus instead --cpu-quota
When using docker 1.13.1, the current condition:

```
{% if (container_binary == 'docker' and ceph_docker_version.split('.')[0] is version_compare('13', '>=')) or container_binary == 'podman' -%}
```

is wrong because it compares the first digit (1) whereas it should
compare the second one.
It means we always use `--cpu-quota` although documentation recommend
using `--cpus` when docker version is 1.13.1 or higher.

From the doc:
> --cpu-quota=<value>	Impose a CPU CFS quota on the container. The number of
> microseconds per --cpu-period that the container is limited to before
> throttled. As such acting as the effective ceiling.
> If you use Docker 1.13 or higher, use --cpus instead.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 3e262e072b)
2021-01-28 16:37:50 -05:00
..
ceph-client common: follow up on #5948 2020-11-03 09:52:42 +01:00
ceph-common Add CentOS 8 support for rpm deployment 2020-09-10 20:38:34 -04:00
ceph-config rgw: multisite refact 2021-01-28 16:37:50 -05:00
ceph-container-common containers: use --cpus instead --cpu-quota 2021-01-28 16:37:50 -05:00
ceph-container-engine container: add optional http(s) proxy option 2020-09-16 11:32:24 -04:00
ceph-crash Path for ceph config missing in crash template 2021-01-06 16:55:39 +01:00
ceph-dashboard dashboard: manage password backward compatibility 2021-01-19 18:05:02 +01:00
ceph-defaults Revert "config: Always use osd_memory_target if set" 2020-12-15 17:31:09 +01:00
ceph-facts group_vars: remove useless files 2020-12-15 17:30:42 +01:00
ceph-fetch-keys fix broken ceph-fetch-keys role 2020-12-15 17:30:42 +01:00
ceph-grafana container: remove `--ignore` from `podman rm` command 2020-12-01 09:53:15 -05:00
ceph-handler rgw: support switching from single-site to multisite 2021-01-06 10:38:50 -05:00
ceph-infra ceph-infra: include iscsi nodes for logrotate 2020-09-17 14:49:56 -04:00
ceph-iscsi-gw containers: use --cpus instead --cpu-quota 2021-01-28 16:37:50 -05:00
ceph-mds containers: use --cpus instead --cpu-quota 2021-01-28 16:37:50 -05:00
ceph-mgr containers: use --cpus instead --cpu-quota 2021-01-28 16:37:50 -05:00
ceph-mon containers: use --cpus instead --cpu-quota 2021-01-28 16:37:50 -05:00
ceph-nfs container: remove `--ignore` from `podman rm` command 2020-12-01 09:53:15 -05:00
ceph-node-exporter container: remove `--ignore` from `podman rm` command 2020-12-01 09:53:15 -05:00
ceph-osd containers: use --cpus instead --cpu-quota 2021-01-28 16:37:50 -05:00
ceph-prometheus alertmanager/prometheus: fix owner/group 2020-12-15 17:32:50 +01:00
ceph-rbd-mirror containers: use --cpus instead --cpu-quota 2021-01-28 16:37:50 -05:00
ceph-rgw containers: use --cpus instead --cpu-quota 2021-01-28 16:37:50 -05:00
ceph-rgw-loadbalancer Enable HAProxy backend checks for Ceph RGW 2020-09-10 20:38:01 -04:00
ceph-validate rgw: multisite refact 2021-01-28 16:37:50 -05:00