Project

General

Profile

Actions

Bug #23628

open

deleting zonegroup doesn't remove it from the period

Added by Orit Wasserman about 6 years ago. Updated about 6 years ago.

Status:
New
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous, jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

radosgw-admin realm create --rgw-realm=myrealm --default
$ radosgw-admin realm get --rgw-realm=my_realm
$ radosgw-admin zonegroup create --rgw-zonegroup=my_zg --rgw-realm=my_realm —master --default
$ radosgw-admin zone create --rgw-zone=myzone --zonegroup=my_zg --master --default
$ radosgw-admin period update --commit
$ radosgw-admin zonegroup add --rgw-zonegroup=my_zg --rgw-zone=myzone
$ radosgw-admin period update --commit

Deletion procedure:
$ radosgw-admin zonegroup remove --rgw-zonegroup=my_zg --rgw-zone=myzone
$ radosgw-admin period update --commit
$ radosgw-admin zone delete --rgw-zone=myzone
$ radosgw-admin period update --commit
$ radosgw-admin zonegroup delete --rgw-zonegroup=my_zg
$ radosgw-admin period update --commit

when you do radsogw-admin period get you still see my_zg
trying to change default zonegroup fails:
radosgw-admin zonegroup default --rgw-zonegroup=default
radosgw-admin period update --commit --rgw-zonegroup=default
2018-03-22 16:04:03.144716 7f900f53cc40 0 zonegroup my_zg missing zone for master_zone=794b5a26-5984-45be-a782-c17798fcf6dc
couldn't init storage provider

The zonegroup and zone are not in .rgw.root or in the output of zone list and zonegroup commands

Actions

Also available in: Atom PDF