ceph-ansible/roles/ceph-mon
Guillaume Abrioux 259fae931d mon: fix mgr keyring creation when upgrading from jewel
On containerized deployment,
when upgrading from jewel to luminous, mgr keyring creation fails because the
command to create mgr keyring is executed on a container that is still
running jewel since the container is restarted later to run the new
image, therefore, it fails with bad entity error.

To get around this situation, we can delegate the command to create
these keyrings on the first monitor when we are running the playbook on the last monitor.
That way we ensure we will issue the command on a container that has
been well restarted with the new image.

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

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2018-05-09 10:29:48 -07:00
..
defaults tests: update the type for the rule used in pools 2018-04-30 08:15:18 +02:00
files/precise Rename roles' names 2014-07-08 15:39:42 +02:00
meta ceph-mon: Add support for openSUSE Leap distributions 2017-11-14 10:51:23 +00:00
tasks mon: fix mgr keyring creation when upgrading from jewel 2018-05-09 10:29:48 -07:00
templates Expose /var/run/ceph 2018-04-20 15:48:32 +02:00
LICENSE Add READMEs for each roles 2015-07-25 10:51:53 +02:00
README.md Cleanup readme files in roles directories 2017-10-17 11:22:06 +02:00

README.md

Ansible role: ceph-mon

Documentation is available at http://docs.ceph.com/ceph-ansible/.