Ansible playbooks to deploy Ceph, the distributed filesystem.
 
 
 
 
Go to file
Guillaume Abrioux d65c7b4035 config: reset num_osds
When collocating OSDs with other daemon, `num_osds` is incorrectly calculated
because `ceph-config` is called multiple times.

Indeed, the following code:
```
num_osds: "{{ lvm_list.stdout | default('{}') | from_json | length | int + num_osds | default(0) | int }}"
```

makes `num_osds` be incremented each time `ceph-config` is called.

We have to reset it in order to get the correct number of expected OSDs.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 31a0f2653d)
2021-03-17 17:35:19 +01:00
.github tests: pin ansible-lint version 2021-02-10 07:48:24 +01:00
contrib remove ceph restapi references 2019-06-18 09:13:19 +02:00
docs docs: Document the prepare_osd tag 2021-03-12 09:19:55 +01:00
group_vars Fix typo and broken link for documenting RGW frontends 2021-03-03 14:17:31 +01:00
infrastructure-playbooks update: convert legacy grafana-server groupname early 2021-03-16 14:33:40 +01:00
library library: do not always add --yes in batch mode 2021-02-14 06:29:16 +01:00
module_utils rgw: multisite refact 2021-01-27 15:46:43 +01:00
plugins improve plugins/filter testing 2020-11-30 10:05:01 +01:00
profiles Common: Add profiles 2017-07-19 11:50:03 +02:00
roles config: reset num_osds 2021-03-17 17:35:19 +01:00
tests requirements.txt: Move the six dependency into the general requirements 2021-03-01 15:16:55 +01:00
.gitignore remove ceph-agent role and references 2019-06-03 13:35:50 +02:00
.mergify.yml Revert "mergify: add configuration for 4.2z1 branch" 2020-12-15 17:28:56 +01:00
CONTRIBUTING.md doc: update backport section 2019-08-14 16:42:25 +02:00
LICENSE Add Ceph Playbook 2014-03-03 19:08:51 +01:00
Makefile Fixes for Makefile 2019-11-08 09:09:30 -05:00
README-MULTISITE.md README-MULTISITE: Fix syntax issues from markdownlint 2020-09-25 19:55:51 +02:00
README.rst docs: update URLs to point to the RTD links 2020-09-25 21:22:05 +08:00
Vagrantfile defaults: change default grafana-server name 2020-09-29 07:42:26 +02:00
ansible.cfg library: add module_utils namespace 2020-11-24 10:38:28 +01:00
ceph-ansible.spec.in spec: add module_utils directory 2021-01-06 20:26:48 +01:00
dashboard.yml dashboard: update with the new monitoring group 2021-02-09 12:45:02 +01: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-14 17:36:17 +01:00
raw_install_python.yml install python-xml on SUSE/openSUSE only if python2 is installed 2019-09-27 14:19:32 +02:00
requirements.txt requirements.txt: Move the six dependency into the general requirements 2021-03-01 15:16:55 +01:00
rhcs_edits.txt defaults: update rhcs dashboard images versions 2021-02-18 18:21:53 +01:00
site-container.yml.sample main: followup on pr 6012 2020-11-12 15:31:31 -05:00
site.yml.sample main: followup on pr 6012 2020-11-12 15:31:31 -05:00
test.yml Remove spurious ceph. prefix for roles path in test.yml 2019-01-11 11:10:52 +01:00
tox-cephadm.ini tests: remove sleep commands from tox ini files 2020-09-30 17:09:42 -04:00
tox-docker2podman.ini common: drop `fetch_directory` feature 2020-10-21 13:22:16 +02:00
tox-external_clients.ini tests: use shaman to test against ceph pacific 2021-02-12 09:15:24 +01:00
tox-filestore_to_bluestore.ini tests: use shaman to test against ceph pacific 2021-02-12 09:15:24 +01:00
tox-podman.ini common: drop `fetch_directory` feature 2020-10-21 13:22:16 +02:00
tox-shrink_osd.ini tests: use shaman to test against ceph pacific 2021-02-12 09:15:24 +01:00
tox-update.ini tests: use shaman to test against ceph pacific 2021-02-12 09:15:24 +01:00
tox.ini tests: increase nb of rerun in pytest 2021-03-03 14:12:46 +01:00
vagrant_variables.yml.sample Fix units and add ability to have a dedicated instance 2019-06-10 18:18:46 +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-5.0/