Ansible playbooks to deploy Ceph, the distributed filesystem.
 
 
 
 
Go to file
Dimitri Savineau bedc0ab69d ceph-osd: use OSD id with systemd ceph-disk
When using containerized deployment we have to create the systemd
service unit based on a template.
The current implementation with ceph-disk is using the device name
as paramater to the systemd service and for the container name too.

$ systemctl start ceph-osd@sdb
$ docker ps --filter 'name=ceph-osd-*'
CONTAINER ID IMAGE                        NAMES
065530d0a27f ceph/daemon:latest-luminous  ceph-osd-strg0-sdb

This is the only scenario (compared to non containerized or
ceph-volume based deployment) that isn't using the OSD id.

$ systemctl start ceph-osd@0
$ docker ps --filter 'name=ceph-osd-*'
CONTAINER ID IMAGE                        NAMES
d34552ec157e ceph/daemon:latest-luminous  ceph-osd-0

Also if the device mapping doesn't persist to system reboot (ie sdb
might be remapped to sde) then the OSD service won't come back after
the reboot.

This patch allows to use the OSD id with the ceph-osd systemd service
but requires to activate the OSD manually with ceph-disk first in
order to affect the ID to that OSD.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1670734

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
2019-07-26 16:07:22 -04:00
.github/ISSUE_TEMPLATE Update issue templates 2018-07-12 14:10:15 +02:00
contrib contrib: rm script push-roles-to-ansible-galaxy.sh 2018-10-30 13:45:30 +01:00
docs osd: set default bluestore_wal_devices empty 2019-04-25 07:13:38 +00:00
group_vars Install nfs-ganesha stable v2.7 2019-07-10 22:09:14 +02:00
infrastructure-playbooks shrink-osd: (ceph-disk only) remove prepare container 2019-07-09 09:04:19 -04:00
library ceph-volume: Set max open files limit on container 2019-06-20 20:01:13 -04:00
plugins validate.py: Fix alphabetical order on uca 2019-06-25 11:36:04 -04:00
profiles Common: Add profiles 2017-07-19 11:50:03 +02:00
roles ceph-osd: use OSD id with systemd ceph-disk 2019-07-26 16:07:22 -04:00
tests Install nfs-ganesha stable v2.7 2019-07-10 22:09:14 +02:00
.gitignore remove ceph-agent role and references 2019-06-17 14:42:08 -04:00
.mergify.yml Mergify: fix regexp operator 2018-10-15 15:56:04 +02:00
.travis.yml travis: add ansible-galaxy integration 2018-10-30 13:45:30 +01:00
CONTRIBUTING.md remove ceph-agent role and references 2019-06-17 14:42:08 -04:00
LICENSE Add Ceph Playbook 2014-03-03 19:08:51 +01:00
Makefile Makefile: followup on #2585 2018-06-01 12:50:03 +02:00
README-MULTISITE.md rgw multisite: add more than 1 rgw to the master or secondary zone 2019-04-06 08:50:30 +00:00
README.rst Update Documentation example link to 3.0 2018-02-07 16:34:45 +01:00
RELEASE-NOTE.md remove all NBSPs char in stable-3.2 branch 2019-04-10 13:27:48 +02:00
Vagrantfile tests: refact testing in stable-3.2 2019-01-30 14:58:59 +01:00
ansible.cfg tests: Update ansible ssh_args variable 2019-06-17 12:02:36 -04:00
ceph-ansible.spec.in spec: bring back possibility to install ceph with custom repo 2019-06-07 17:29:57 +02:00
dummy-ansible-hosts Fix Travis 2015-01-21 16:33:26 +01:00
generate_group_vars_sample.sh remove ceph-agent role and references 2019-06-17 14:42:08 -04:00
requirements.txt main: update requirements.txt 2018-07-24 18:23:04 +02:00
rhcs_edits.txt Remove trailing forward slash in ceph_docker_registry variable from group_vars/rhcs.yml.sample file. 2019-03-19 14:40:27 +00:00
site-docker.yml.sample remove ceph-agent role and references 2019-06-17 14:42:08 -04:00
site.yml.sample remove ceph-agent role and references 2019-06-17 14:42:08 -04:00
test.yml remove rbd-mirror as well from testing. No packages are available yet 2016-04-12 07:38:13 -04:00
tox-update.ini tests: Update ansible ssh_args variable 2019-06-17 12:02:36 -04:00
tox.ini tests: Update ansible ssh_args variable 2019-06-17 12:02:36 -04:00
vagrant_variables.yml.sample vagrant: Default box to centos/7 2019-05-31 13:57:55 -04:00

README.rst

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

Please refer to our hosted documentation here: http://docs.ceph.com/ceph-ansible/master/

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