Project

General

Profile

Actions

Bug #9002

closed

Creating swift key with --gen-secret in separate step from subuser creation fails

Added by Brian Andrus almost 10 years ago. Updated over 9 years ago.

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

0%

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

Description

Customer reported on CentOS with Ceph v0.80.4

Steps to reproduce:
radosgw-admin user create --uid=testuser1 --display-name="Test User One"
radosgw-admin subuser create --uid=testuser1 --subuser=testuser1:swift --access=full
radosgw-admin key create --uid=testuser1 --subuser=testuser1:swift --key-type=swift --gen-secret

Result:
could not create key: unable to add access key, unable to store user info
WARNING: can't store user info, swift id () already mapped to another user (testuser1)

Customer discovered workaround:
radosgw-admin user create --subuser=testuser1:swift --display-name="Test User One" --key-type=swift --access=full


Related issues 2 (0 open2 closed)

Related to rgw - Bug #9155: Swift Subuser - 403 Forbidden - during upload/postResolvedDhiraj Kamble08/18/2014

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

Actions
Actions

Also available in: Atom PDF