Project

General

Profile

Actions

Bug #22685

closed

create user, but uid error

Added by Amine Liu over 6 years ago. Updated about 6 years ago.

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

0%

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

Description

[root@sx-3f3r-ceph-s3-c1-03 my-cluster]# radosgw-admin user info --uid=Ymliu {
"user_id": "Ymliu",
"display_name": "liuyongming",
"email": "",
"suspended": 0,
"max_buckets": 1000,
"auid": 0,
"subusers": [],
"keys": [ {
"user": "Ymliu",
"access_key": "5EE7FDA1K0KJ2RGYHLW8",
"secret_key": "ImzvEdnpr44U6mUOhsMjFb9O0XoPDNnxyHOo2IQ5"
}
],
"swift_keys": [],
"caps": [],
"op_mask": "read, write, delete",
"default_placement": "",
"placement_tags": [],
"bucket_quota": {
"enabled": false,
"max_size_kb": -1,
"max_objects": -1
},
"user_quota": {
"enabled": false,
"max_size_kb": -1,
"max_objects": -1
},
"temp_url_keys": []
}

[root@sx-3f3r-ceph-s3-c1-03 my-cluster]# radosgw-admin user create --uid=testuser1 --display-name="liuyongming" --email= --access_key=testuser1 --secret_key=testuser1 {
"user_id": "Ymliu",
"display_name": "liuyongming",
"email": "",
"suspended": 0,
"max_buckets": 1000,
"auid": 0,
"subusers": [],
"keys": [ {
▽ "user": "Ymliu",
"access_key": "5EE7FDA1K0KJ2RGYHLW8",
"secret_key": "ImzvEdnpr44U6mUOhsMjFb9O0XoPDNnxyHOo2IQ5"
}, {
"user": "Ymliu",
"access_key": "testuser1",
"secret_key": "testuser1"
}
],
"swift_keys": [],
"caps": [],
"op_mask": "read, write, delete",
"default_placement": "",
"placement_tags": [],
"bucket_quota": {
"enabled": false,
"max_size_kb": -1,
"max_objects": -1
},
"user_quota": {
"enabled": false,
"max_size_kb": -1,
"max_objects": -1
},
"temp_url_keys": []
}

[root@sx-3f3r-ceph-s3-c1-03 my-cluster]# radosgw-admin user info --uid=Ymliu {
"user_id": "Ymliu",
"display_name": "liuyongming",
"email": "",
"suspended": 0,
"max_buckets": 1000,
"auid": 0,
"subusers": [],
"keys": [ {
"user": "Ymliu",
"access_key": "5EE7FDA1K0KJ2RGYHLW8",
"secret_key": "ImzvEdnpr44U6mUOhsMjFb9O0XoPDNnxyHOo2IQ5"
}, {
"user": "Ymliu",
"access_key": "testuser1",
"secret_key": "testuser1"
}
],
"swift_keys": [],
"caps": [],
"op_mask": "read, write, delete",
"default_placement": "",
"placement_tags": [],
"bucket_quota": {
"enabled": false,
"max_size_kb": -1,
"max_objects": -1
},
"user_quota": {
"enabled": false,
"max_size_kb": -1,
"max_objects": -1
},
"temp_url_keys": []
}


Related issues 1 (0 open1 closed)

Is duplicate of rgw - Bug #21685: user creation can overwrite existing user even if different uid is givenResolvedCasey Bodley10/05/2017

Actions
Actions #1

Updated by John Spray over 6 years ago

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

Updated by Matt Benjamin over 6 years ago

  • Status changed from New to Pending Backport
Actions #3

Updated by Casey Bodley over 6 years ago

  • Related to Bug #21685: user creation can overwrite existing user even if different uid is given added
Actions #4

Updated by Casey Bodley over 6 years ago

this is fixed in master, and is pending backport for luminous. i've requested a backport to jewel as well

Actions #5

Updated by Nathan Cutler over 6 years ago

@Casey, @Matt Li - can we change the link to #21685 from "Related to" to "Duplicates"? And change status from "Pending Backport" to "Duplicate"?

Otherwise we'd need to fill in the Backport field, but if the fix is the same as for #21685 that would just create more "red[mine] tape".

Actions #6

Updated by Nathan Cutler about 6 years ago

  • Related to deleted (Bug #21685: user creation can overwrite existing user even if different uid is given)
Actions #7

Updated by Nathan Cutler about 6 years ago

  • Is duplicate of Bug #21685: user creation can overwrite existing user even if different uid is given added
Actions #8

Updated by Nathan Cutler about 6 years ago

  • Status changed from Pending Backport to Duplicate
Actions

Also available in: Atom PDF