ceph-ansible/roles/ceph-mon/tasks
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
..
docker mon: fix mgr keyring creation when upgrading from jewel 2018-05-09 10:29:48 -07:00
calamari.yml mon: upgrade calamari when running rolling_update playbook 2017-04-24 11:05:13 +02:00
ceph_keys.yml ceph_key: use ceph_key in the playbook 2018-04-11 12:18:34 +02:00
check_mandatory_vars.yml all: backward compatibility between stable-2.2 and 3.0 2017-10-20 11:54:10 +02:00
create_mds_filesystems.yml Remove deprecated allow_multimds 2018-04-12 10:29:17 +02:00
crush_rules.yml mon: fix osd_pool_default_crush_rule persistence and effectiveness 2018-03-06 15:24:31 +00:00
deploy_monitors.yml ceph_key: use ceph_key in the playbook 2018-04-11 12:18:34 +02:00
main.yml ceph-defaults: bring backward compatibility for old syntax 2018-04-11 12:18:34 +02:00
openstack_config.yml mon: change application pool support 2018-04-30 09:42:58 +02:00
secure_cluster.yml Use check_mode instead of always_run 2017-10-25 09:53:34 -05:00
set_osd_pool_default_pg_num.yml Refact code for set_osd_pool_default_* 2017-10-04 15:40:10 +02:00
start_monitor.yml Allow ceph service systemd overrides to be specified 2017-08-16 17:57:06 +01:00