Project

General

Profile

Bug #22685

create user, but uid error

Added by Tave liu 11 months ago. Updated 11 months ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Target version:
Start date:
01/16/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:

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

Duplicates rgw - Bug #21685: user creation can overwrite existing user even if different uid is given Resolved 10/05/2017

History

#1 Updated by John Spray 11 months ago

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

#2 Updated by Matt Benjamin 11 months ago

  • Status changed from New to Pending Backport

#3 Updated by Casey Bodley 11 months ago

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

#4 Updated by Casey Bodley 11 months ago

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

#5 Updated by Nathan Cutler 11 months ago

@Casey, @Matt - 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".

#6 Updated by Nathan Cutler 11 months ago

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

#7 Updated by Nathan Cutler 11 months ago

  • Duplicates Bug #21685: user creation can overwrite existing user even if different uid is given added

#8 Updated by Nathan Cutler 11 months ago

  • Status changed from Pending Backport to Duplicate

Also available in: Atom PDF