Ansible playbooks to deploy Ceph, the distributed filesystem.
 
 
 
 
Go to file
Dimitri Savineau 155e2a23d5 rolling_update: stop/start instead of restart
During the daemon upgrade we're
  - stopping the service when it's not containerized
  - running the daemon role
  - start the service when it's not containerized
  - restart the service when it's containerized

This implementation has multiple issue.

1/ We don't use the same service workflow when using containers
or baremetal.

2/ The explicity daemon start isn't required since we'are already
doing this in the daemon role.

3/ Any non backward changes in the systemd unit template (for
containerized deployment) won't work due to the restart usage.

This patch refacts the rolling_update playbook by using the same service
stop task for both containerized and baremetal deployment at the start
of the upgrade play.
It removes the explicit service start task because it's already included
in the dedicated role.
The service restart tasks for containerized deployment are also
removed.

Finally, this adds the missing service stop task for ceph crash upgrade
workflow.

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

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
2020-07-25 09:35:17 +02:00
.github github: update issue report template 2020-03-25 14:52:39 +01:00
contrib remove ceph restapi references 2019-06-18 09:13:19 +02:00
docs doc: add a note about deprecated branches 2020-07-03 09:27:12 +02:00
group_vars defaults: remove legacy 2020-07-21 09:39:15 +02:00
infrastructure-playbooks rolling_update: stop/start instead of restart 2020-07-25 09:35:17 +02:00
library ceph_key: fix bug in 'info' feature 2020-07-15 17:06:17 +02:00
plugins ipaddrs_in_ranges: fix python indent 2019-10-28 09:23:17 +01:00
profiles Common: Add profiles 2017-07-19 11:50:03 +02:00
roles ceph-facts: remove mds_name fact 2020-07-23 17:02:43 +02:00
tests tests: lvm_setup.yml, add carriage return 2020-07-22 14:25:45 +02:00
.gitignore remove ceph-agent role and references 2019-06-03 13:35:50 +02:00
.mergify.yml mergify: remove merge on skip ci 2020-06-09 09:30:10 -04:00
.travis.yml travis: use tests/requirements.txt 2020-06-19 18:10:55 -04: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 docs: minor fixes to README-MULTISITE.md 2020-05-08 12:06:45 -04:00
README.rst Update Documentation example link to 3.0 2018-02-07 16:34:45 +01:00
Vagrantfile remove *docker*.yml symlinks 2020-03-31 10:03:22 -04:00
ansible.cfg ansible.cfg: do not enforce PreferredAuthentications 2019-12-09 17:15:09 -05:00
ceph-ansible.spec.in doc/tests: bump to ansible 2.9 on master 2020-03-25 08:01:27 +01:00
dashboard.yml ceph-facts: move grafana fact to dedicated file 2020-01-13 12:05:57 -05:00
dummy-ansible-hosts Fix Travis 2015-01-21 16:33:26 +01:00
generate_group_vars_sample.sh Add role definitions of ceph-rgw-loadbalancer 2019-06-06 17:12:04 +02: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: exclude ansible 2.9.10 2020-06-19 17:32:33 -04:00
rhcs_edits.txt rhcs: update release to 5 for octopus 2020-03-26 22:00:08 +01:00
site-container.yml.sample ceph-crash: introduce new role ceph-crash 2020-07-21 20:22:12 +02:00
site.yml.sample ceph-crash: introduce new role ceph-crash 2020-07-21 20:22:12 +02:00
test.yml Remove spurious ceph. prefix for roles path in test.yml 2019-01-11 11:10:52 +01:00
tox-cephadm.ini cephadm: add playbook 2020-07-16 11:40:45 -04:00
tox-docker2podman.ini tests: add docker hub authentication in jobs 2020-07-08 09:52:53 -04:00
tox-external_clients.ini tox: remove ubuntu references 2020-07-22 18:57:31 -04:00
tox-filestore_to_bluestore.ini tox: remove ubuntu references 2020-07-22 18:57:31 -04:00
tox-podman.ini tests: add docker hub authentication in jobs 2020-07-08 09:52:53 -04:00
tox-update.ini tox: remove ubuntu references 2020-07-22 18:57:31 -04:00
tox.ini tox: remove ubuntu references 2020-07-22 18:57:31 -04: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: 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/