Hello Cephers
I have two problems both related to Rados gateway swift user creation on
FIREFLY
Ceph version 0.80.5
Centos 6.5 , Kernel 2.6.32.-338
Problem 1 : I am unable to create a sub user for swift in radios gateway.
Below is the output ( Before upgrading from Emperor to Firefly i was able
create swift user without any problem )
# radosgw-admin user create --display-name="epouta cloud services" --uid=epouta
{ "user_id": "epouta",
"display_name": "epouta cloud services",
"email": "",
"suspended": 0,
"max_buckets": 1000,
"auid": 0,
"subusers": [],
"keys": [
{ "user": "epouta",
"access_key": "839233HZBS3NNDM6FT21",
"secret_key": "1JdgCdO\/T0tuFth4dpz1AG2IW9jMpFQ8RURpPCy8"}],
"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": []}
#
#
#
#
#
# radosgw-admin subuser create --uid=epouta --subuser=epouta:swiftepouta
--access=full --secret=secretkey --key-type=swift
could not create subuser: unable to create subuser, unable to store user info
2014-08-28 16:20:32.870795 7f7b3d02b820 0 WARNING: can't store user info,
swift id () already mapped to another user (epouta)
#
#
#
# radosgw-admin user create --display-name="epouta cloud services"
--subuser=epouta:swiftepouta --access=full --secret=secretkey --key-type=swift
2014-08-28 16:21:37.361332 7f350b492820 0 max_buckets=1000 specified=0
could not create user: 2014-08-28 16:21:37.369288 7f350b492820 0 WARNING:
can't store user info, swift id () already mapped to another user (epouta)
unable to create user, unable to store user info
#
Problem 2: Before upgrading from Emperor to Firefly , i had a swift account as
csc:swift and that working without any problem , after i have done cluster up
gradation to Firefly , that swift account suddenly stop working . here is the
output
# radosgw-admin user info --uid=csc
{ "user_id": "csc",
"display_name": "csc cloud services",
"email": "",
"suspended": 0,
"max_buckets": 1000,
"auid": 0,
"subusers": [
{ "id": "csc:swift",
"permissions": "full-control"}],
"keys": [
{ "user": "csc",
"access_key": "SN04RLC4GVQBFIYNEJQG",
"secret_key": "tCWCXrlGWAx\/kVjO\/Vqsqn1BflaLyAbzS7t7uM4N"}],
"swift_keys": [
{ "user": "csc:swift",
"secret_key": "secretkey"}],
"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": []}
#
#
# swift -V 1.0 -A http://<My-hostname>/auth -U csc:swift -K secretkey list
Account not found
#
#
http://tracker.ceph.com/issues/9002 says that its a bug in Firefly , but it
does not have solution / workaround for this.
****************************************************************
Karan Singh
Systems Specialist , Storage Platforms
CSC - IT Center for Science,
Keilaranta 14, P. O. Box 405, FIN-02101 Espoo, Finland
mobile: +358 503 812758
tel. +358 9 4572001
fax +358 9 4572302
http://www.csc.fi/
****************************************************************
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com