hi,
Thank you for your return but,
I just regenerate the user completely and I confirm that I have a
problem :(
radosgw-admin user create --uid=johndoe --display-name="John Doe"
--email=my@xxxxxxxxx
"subusers": [],
"keys": [
{ "user": "johndoe",
"access_key": "91KC4JI5BRO39A22JY9I",
"secret_key": "Z5kLaBtg870xBhYtb4RKY82qGsbiqRpGs\/KQUXKF"}],
"swift_keys": []
radosgw-admin key create --subuser=johndoe:swift --key-type=swift
--gen-secret
"subusers": [],
"keys": [
{ "user": "johndoe",
"access_key": "91KC4JI5BRO39A22JY9I",
"secret_key": "Z5kLaBtg870xBhYtb4RKY82qGsbiqRpGs\/KQUXKF"}],
"swift_keys": [
{ "user": "johndoe:swift",
"secret_key": "04ZuTaKP8Eq8WBW9fMZJItzkeSOpc9jJkAdSe4pO"}],
radosgw-admin subuser create --uid=johndoe --subuser=johndoe:swift
--access=full
"subusers": [
{ "id": "johndoe:swift",
"permissions": "full-control"}],
"keys": [
{ "user": "johndoe",
"access_key": "91KC4JI5BRO39A22JY9I",
"secret_key": "Z5kLaBtg870xBhYtb4RKY82qGsbiqRpGs\/KQUXKF"},
{ "user": "johndoe:swift",
"access_key": "UFSCBO5JXROB8641XF52",
"secret_key": ""}],
"swift_keys": [
{ "user": "johndoe:swift",
"secret_key": "04ZuTaKP8Eq8WBW9fMZJItzkeSOpc9jJkAdSe4pO"}],
I have permission at my subusers by cons in "keys" I do not understand
why I have:
{ "user": "johndoe:swift",
"access_key": "UFSCBO5JXROB8641XF52",
"secret_key": ""}],
Thanks
On Wed, 01 Jul 2015 15:03:33 +0200, Mikaël Guichard wrote:
Hi,
I think it's because secret key for swift subuser is not generated :
radosgw-admin key create --subuser=johndoe:swift --key-type=swift
--gen-secret
Mikaël
Le 01/07/2015 14:50, Jimmy Goffaux a écrit :
radosgw-agent => 1.2.1trust
Ubuntu 14.04
English version :
Hello,
According to the documentation here:
http://ceph.com/docs/master/radosgw/admin/
I followed to the letter the documentation and the result is totally
different:
root@ih-prd-rgw01:~# radosgw-admin user create --uid=johndoe
--display-name="John Doe" --email=my@xxxxxxxxx
{ "user_id": "johndoe",
[............]
"subusers": [],
"keys": [
{ "user": "johndoe",
"access_key": "SO4FYX3VXA8TO9D9AAM9",
"secret_key":
"tnOIYOuPztmWcnYfP5fGfPAWb5+thPqqdML0+Fmc"}],
"swift_keys": [],
[...........]
root@ih-prd-rgw01:~# radosgw-admin subuser create --uid=johndoe
--subuser=johndoe:swift --access=full
{ "user_id": "johndoe",
[...........]
"subusers": [
{ "id": "johndoe:swift",
"permissions": "full-control"}],
"keys": [
{ "user": "johndoe:swift",
"access_key": "6ENTC5V4OD15A3UO9B11",
"secret_key": ""},
{ "user": "johndoe",
"access_key": "SO4FYX3VXA8TO9D9AAM9",
"secret_key":
"tnOIYOuPztmWcnYfP5fGfPAWb5+thPqqdML0+Fmc"}],
"swift_keys": [],
[.............]
Would you have any idea why the SWIFT user is not in the tags
"swift_keys"?
Thanks...
French version :
Bonjour,
En suivant la documentation ici :
http://ceph.com/docs/master/radosgw/admin/
J'ai suivi à la lettre la documentation et le résultat est
totalement différents :
root@ih-prd-rgw01:~# radosgw-admin user create --uid=johndoe
--display-name="John Doe" --email=jimmy@xxxxxxxxxx
{ "user_id": "johndoe",
[............]
"subusers": [],
"keys": [
{ "user": "johndoe",
"access_key": "SO4FYX3VXA8TO9D9AAM9",
"secret_key":
"tnOIYOuPztmWcnYfP5fGfPAWb5+thPqqdML0+Fmc"}],
"swift_keys": [],
[...........]
root@ih-prd-rgw01:~# radosgw-admin subuser create --uid=johndoe
--subuser=johndoe:swift --access=full
{ "user_id": "johndoe",
[...........]
"subusers": [
{ "id": "johndoe:swift",
"permissions": "full-control"}],
"keys": [
{ "user": "johndoe:swift",
"access_key": "6ENTC5V4OD15A3UO9B11",
"secret_key": ""},
{ "user": "johndoe",
"access_key": "SO4FYX3VXA8TO9D9AAM9",
"secret_key":
"tnOIYOuPztmWcnYfP5fGfPAWb5+thPqqdML0+Fmc"}],
"swift_keys": [],
[.............]
Auriez-vous une idée pourquoi l'utilisateur SWIFT ne se trouve pas
dans les balises "swift_keys" ?
Merci
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
--
Jimmy Goffaux
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com