Bug #14951
closedMisleading error message when you delete a zone from a zonegroup
0%
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.
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?
Updated by Abhishek Lekshmanan about 8 years ago
- Status changed from New to Resolved