]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
Remove zone from zonegroup and update period before deleting the zone to avoid incons...
authorShilpa Jagannath <smanjara@redhat.com>
Tue, 3 Jul 2018 09:43:07 +0000 (15:13 +0530)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Mon, 9 Jul 2018 12:27:24 +0000 (12:27 +0000)
commit07852ed03919bc19706d574f15980a7f36da24cc
tree8cd3888aaa420366f4f128e483c8092aec9c5cd2
parentb9f7df7ba2ec7c776eec094a4bf29205f3efd424
Remove zone from zonegroup and update period before deleting the zone to avoid inconsistent period information across other zones.

When you delete a zone without removing from zonegroup, the period update would
fail since that command needs to load the zone and zonegroup to be able to
update the master. Period update would fail with an error like this:

radosgw-admin period update --commit
-1 Cannot find zone id= (name=), switching to local zonegroup configuration
-1 Cannot find zone id= (name=)

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
roles/ceph-rgw/tasks/multisite/destroy.yml