Project

General

Profile

Bug #18476

rgw: RGWUserInfo::system is wrongly handled in RGWHandler_REST_SWIFT

Added by Radoslaw Zarzynski 6 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
High
Target version:
-
Start date:
01/10/2017
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

Description

The RGWUserInfo::system flag is wrongly handled in the Swift API implementation. In rare conditions this might result in setting req_state::system_request.

This may happen if both of those conditions are fulfilled:
  1. RadosGW is running in a multi-site configuration (at least one user with the system flag turned on is present),
  2. the rgw_swift_account_in_url configurable has been switched to true. The value is false by default and our documentation doesn't actually mention about the option.

The issue doesn't affect Jewel nor any previous release.

History

#1 Updated by Radoslaw Zarzynski 6 months ago

  • Status changed from New to Need Review

#2 Updated by Radoslaw Zarzynski 5 months ago

  • Status changed from Need Review to Resolved

The Kraken backport has been merged as well. See: https://github.com/ceph/ceph/pull/13006.

Also available in: Atom PDF