Project

General

Profile

Bug #17239

radosgw-admin period update reverts deleted zonegroup

Added by Orit Wasserman over 1 year ago. Updated 8 months ago.

Status:
Resolved
Priority:
High
Target version:
-
Start date:
09/08/2016
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
jewel,kraken
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Release:
jewel
Needs Doc:
No

Description

start the radosgw without any multisite configuration (default zonegroup and zone will be created)
create a realm , set it as default.
update zonegroup default and zone default using set commands
(this will cause the realm id to change)
update and commit the period

create a new master zonegroup zg0 and a new zg0zo that will the master of zg0
try to update the period, you will get an error as both zonegroups are master.
remove zone default from default zonegroup and delete it.
try period update
the same error and zonegroup default is part of the staging period

workround:
delete .rgw.root: rados purge .rgw.root --yes-i-really-really-mean-it
create a new configuration when the gateway is down:
create a new realm and set it as default
radosgw-admin zonegroup set < json (with the new realm id)
radosgw-admin zoneg set < json (with the new realm id)
set zonegroup and zone as default
period update --commit

reproducible on current master


Related issues

Related to rgw - Bug #16839: "default" zone and zonegroup cannot be added to a realm Resolved 07/27/2016
Copied to rgw - Backport #18712: jewel: radosgw-admin period update reverts deleted zonegroup Resolved
Copied to rgw - Backport #18713: kraken: radosgw-admin period update reverts deleted zonegroup Resolved

History

#1 Updated by Sage Weil about 1 year ago

  • Priority changed from Normal to Urgent
  • Needs Doc set to No

#2 Updated by Casey Bodley about 1 year ago

  • Related to Bug #16839: "default" zone and zonegroup cannot be added to a realm added

#3 Updated by Yehuda Sadeh about 1 year ago

  • Priority changed from Urgent to High

#4 Updated by Orit Wasserman about 1 year ago

  • Status changed from New to In Progress
  • Assignee changed from Casey Bodley to Orit Wasserman

#5 Updated by Yehuda Sadeh about 1 year ago

@orit ping

#6 Updated by Orit Wasserman 12 months ago

  • Status changed from In Progress to Need Review
  • Backport changed from jewel to jewel,kraken

#7 Updated by Yehuda Sadeh 11 months ago

  • Status changed from Need Review to Pending Backport

#8 Updated by Nathan Cutler 11 months ago

  • Copied to Backport #18712: jewel: radosgw-admin period update reverts deleted zonegroup added

#9 Updated by Nathan Cutler 11 months ago

  • Copied to Backport #18713: kraken: radosgw-admin period update reverts deleted zonegroup added

#10 Updated by Nathan Cutler 8 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF