ceph-ansible/roles/ceph-osd/templates
Guillaume Abrioux 3e262e072b 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>
2020-01-16 13:51:43 -05:00
..
ceph-osd-run.sh.j2 containers: use --cpus instead --cpu-quota 2020-01-16 13:51:43 -05:00
ceph-osd.service.d-overrides.j2 Allow ceph service systemd overrides to be specified 2017-08-16 17:57:06 +01:00
ceph-osd.service.j2 podman: Add systemd dependency on network.target 2019-06-07 09:28:58 +02:00
tmpfiles_hugepage.j2 move system tuning to osd role 2018-03-15 14:06:26 +01:00