Project

General

Profile

Actions

Bug #9500

closed

0.80.5 on CentOS 6.5: radosgw-admin fails to correctly name subuser object

Added by Florian Haas over 9 years ago. Updated over 9 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

System info: Firefly (0.80.5 on CentOS 6.5). radosgw is configured and working fine with s3cmd.

Symptom: despite there being a proper user, subuser, and Swift key, any auth request using the Swift v1 API fails (regardless of whether done with curl or python-swiftclient). At the same time, S3 access using the same user's access key and secret key works without a hitch.

Debugging with debug_ms=10/10 then shows that radosgw is getting ENOENT from the OSD immediately prior to the auth failure. Verifying with rados -p .users.swift ls shows that the subuser object is indeed missing there, instead there is an object named "" (empty string) that contains the uid.

Manually creating an object whose name matches the subuser id and then re-adding the swift key resolves the access issue.

It appears that radosgw-admin subuser create simply fails to correctly name the subuser object.

A reference system with 0.80.5 on Ubuntu precise does not show this problem. Could this be a RHEL/CentOS specific issue?


Related issues 1 (0 open1 closed)

Is duplicate of rgw - Bug #8587: rgw: subuser object not created correctlyResolvedYehuda Sadeh06/11/2014

Actions
Actions

Also available in: Atom PDF