Project

General

Profile

Actions

Bug #79446

closed
SM SM

rgw/multisite: 'bucket rm' broken for non-master zones

Bug #79446: rgw/multisite: 'bucket rm' broken for non-master zones

Added by Shilpa MJ 4 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v21.3.0-2841-g6305f3c77b
Released In:
Upkeep Timestamp:
2026-09-02T16:01:47+00:00

Description

error on non-master zone:

#radosgw-admin bucket rm --bucket test-bucket
 Parse error at line 1:
 not well-formed (invalid token)
 2026-08-12T16:57:22.093-0400 7f85ae3ec8c0  0 ERROR: failed to forward request to master zonegroup: -22

In rgw_bucket.cc, remove_bucket builds the forwarded request by setting QUERY_STRING in RGWEnv. the req_info stores the query string as request_params, but never parses it into req.args.

also, the JSON error is parsed as an xml error resulting in the "Parse error at line 1: not well-formed (invalid token)"

UB Updated by Upkeep Bot 3 months ago Actions #1

  • Status changed from New to Resolved
  • Merge Commit set to 6305f3c77bb94088510bc9c42767f799b285d843
  • Fixed In set to v21.3.0-2841-g6305f3c77b
  • Upkeep Timestamp set to 2026-09-02T16:01:47+00:00
Actions

Also available in: PDF Atom