Project

General

Profile

Actions

Bug #12464

closed

Keys generated via radosgw-admin don't always work.

Added by Tyler Bishop over 8 years ago. Updated over 6 years ago.

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

0%

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

Description

Randomly generated a couple sets of keys with:

radosgw-admin key create --uid=USERNAME --gen-access-key

An example of a generated key:

"access_key": "W7SWL61GTDJ6NQ0UBSTH",
"secret_key": "vGY5XNFSYHXI\/bhXyHGnYeIIt193XC4zTJ0SlKKQ"

This key was non functional, however a key generated without "\/" was entirely functional.

I believe this is a character issue?

Versions:
librados2-0.94.2-0.el7.x86_64
ceph-radosgw-0.94.2-0.el7.x86_64
python-rados-0.94.2-0.el7.x86_64
radosgw-agent-1.2.2-0.el7.noarch

Actions #1

Updated by huang jun over 8 years ago

if there is "\" in the secret_key, please remove it and try again, it's a escape character.

Actions #2

Updated by Abhishek Lekshmanan over 8 years ago

The "\" essentially only comes by the output json printer... as huang mentioned, the key without "\" should work fine

Actions #3

Updated by Abhishek Lekshmanan almost 8 years ago

  • Status changed from New to Rejected

also newer versions of radosgw-admin creates secret keys without slashes, so will not be an issue anymore

Actions #4

Updated by John Spray over 6 years ago

  • Project changed from Ceph to rgw
  • Category deleted (22)

Bulk reassign of radosgw category to RGW project.

Actions

Also available in: Atom PDF