Ansible playbooks to deploy Ceph, the distributed filesystem.
 
 
 
 
Go to file
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
.github workflow/pytest: update python matrix version 2020-12-16 14:05:45 +01:00
contrib remove ceph restapi references 2019-06-20 15:15:10 -04:00
docs common: drop `fetch_directory` feature 2020-12-15 17:30:42 +01:00
group_vars Revert "config: Always use osd_memory_target if set" 2020-12-15 17:31:09 +01:00
infrastructure-playbooks containers: use --cpus instead --cpu-quota 2021-01-28 16:37:50 -05:00
library library: remove containerized parameter from cv 2021-01-06 16:56:20 +01:00
plugins ipaddrs_in_ranges: fix python indent 2019-10-28 15:54:31 +01:00
profiles Common: Add profiles 2017-07-19 11:50:03 +02:00
roles containers: use --cpus instead --cpu-quota 2021-01-28 16:37:50 -05:00
tests rgw: multisite refact 2021-01-28 16:37:50 -05:00
.gitignore remove ceph-agent role and references 2019-06-17 15:56:00 -04:00
.mergify.yml mergify: add mergify configuration 2020-12-15 10:03:33 +01:00
CONTRIBUTING.md remove ceph-agent role and references 2019-06-17 15:56:00 -04:00
LICENSE Add Ceph Playbook 2014-03-03 19:08:51 +01:00
Makefile Fixes for Makefile 2020-03-30 22:31:04 +02:00
README-MULTISITE.md README-MULTISITE: Fix syntax issues from markdownlint 2020-09-25 14:48:38 -04:00
README.rst docs: update URLs to point to the RTD links 2020-09-25 10:47:38 -04:00
RELEASE-NOTE.md doc: update release note 2020-04-23 13:27:24 +02:00
Vagrantfile tests: revert vagrant_variable file name detection 2019-11-25 14:52:57 +01:00
ansible.cfg ansible.cfg: set force_valid_group_names param 2020-09-29 16:31:33 +02:00
ceph-ansible.spec.in ansible: bump to ansible 2.9 2020-09-15 13:13:09 -04:00
dashboard.yml node-exporter: exclude client nodes 2020-09-14 16:13:25 -04:00
dummy-ansible-hosts Fix Travis 2015-01-21 16:33:26 +01:00
generate_group_vars_sample.sh fix broken ceph-fetch-keys role 2020-12-15 17:30:42 +01:00
raw_install_python.yml install python-xml on SUSE/openSUSE only if python2 is installed 2019-09-27 17:50:10 +02:00
requirements.txt ansible: bump to ansible 2.9 2020-09-15 13:13:09 -04:00
rhcs_edits.txt rhcs: drop fetch_directory override 2020-12-15 17:31:49 +01:00
site-container.yml.sample main: followup on pr 6012 2020-11-12 15:34:12 -05:00
site-docker.yml.sample site: symlink site-docker to site-container 2018-11-27 16:47:40 +00:00
site.yml.sample main: followup on pr 6012 2020-11-12 15:34:12 -05:00
test.yml Remove spurious ceph. prefix for roles path in test.yml 2019-01-11 11:10:52 +01:00
tox-docker2podman.ini common: drop `fetch_directory` feature 2020-12-15 17:30:42 +01:00
tox-external_clients.ini common: drop `fetch_directory` feature 2020-12-15 17:30:42 +01:00
tox-filestore_to_bluestore.ini common: drop `fetch_directory` feature 2020-12-15 17:30:42 +01:00
tox-podman.ini common: drop `fetch_directory` feature 2020-12-15 17:30:42 +01:00
tox-shrink_osd.ini common: drop `fetch_directory` feature 2020-12-15 17:30:42 +01:00
tox-update.ini common: drop `fetch_directory` feature 2020-12-15 17:30:42 +01:00
tox.ini rgw: multisite refact 2021-01-28 16:37:50 -05:00
vagrant_variables.yml.sample Fix units and add ability to have a dedicated instance 2019-06-12 11:48:12 +02:00

README.rst

ceph-ansible
============
Ansible playbooks for Ceph, the distributed filesystem.

Please refer to our hosted documentation here: https://docs.ceph.com/projects/ceph-ansible/en/latest/

You can view documentation for our ``stable-*`` branches by substituting ``master`` in the link
above for the name of the branch. For example: https://docs.ceph.com/projects/ceph-ansible/en/stable-4.0/