Project

General

Profile

Actions

Bug #14951

closed

Misleading error message when you delete a zone from a zonegroup

Added by Shilpa MJ about 8 years ago. Updated about 8 years ago.

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

0%

Source:
other
Tags:
10.0.3-2544-g6e9f049-1trusty
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Trying the new rgw multisite configuration.

$ radosgw-admin zone create --rgw-zonegroup=us --rgw-zone=us-1 --access-key=test --secret=test

$ radosgw-admin zone list {
"default_info": "",
"zones": [
"us-1",
"default"
]}

When you do a zone delete, the message "zone does not exist appears" even though the zone gets deleted
$ radosgw-admin zone delete --rgw-zonegroup=us --rgw-zone=us-1
2016-03-02 11:24:54.437963 7ff0b07e5780 -1 zone us-1 9174ace8-2d2b-4798-8793-7031e260fd34 doesn't exists

A successful delete message should appear instead. Also, zone delete option needs to be added to manpage.

Actions #1

Updated by Yehuda Sadeh about 8 years ago

  • Assignee set to Orit Wasserman
Actions #2

Updated by Abhishek Lekshmanan about 8 years ago

Not sure of all the cases, but generally zones can be not a part of a zone group and when we still try to remove a zone from a zonegroup, this fails, and then we try to delete the zone itself which succeeds, possibly we should change the error message of removing zone from zonegroup instead?

Actions #3

Updated by Abhishek Lekshmanan about 8 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF