吴巍
2011-Aug-03 04:57 UTC
[Gluster-users] How can I get the X-Auth-Key in GlusterFS 3.3 Beta 1
Hey, I download the latest version of glusterfs and the gluster-object-storage-3.3beta1.tar.gz. And I operate as the doc defined after installation. But I have a problem now,that is I can't get the X-Auth-Key to launch the command: " To authenticate, use the following command: GET /v1.0 HTTP/1.1 Host: <storage URL> X-Auth-User: <user name> X-Auth-Key: <authentication-token-key> " I tried the user password in plain text, but it didn't work. Anyone can tell me how can I get the X-Auth-Key ? Wei Wu
Gangalwar
2011-Aug-03 05:05 UTC
[Gluster-users] [Gluster-devel] How can I get the X-Auth-Key in GlusterFS 3.3 Beta 1
Hi, Use "/auth/v1.0" instead of "/v1.0", so it should be , GET /auth//v1.0 HTTP/1.1 Host: <storage URL> X-Auth-User: <user name> X-Auth-Key: <authentication-token-key> We will fix this in documentation, thanks for reporting it. Regards, Gaurav ________________________________________ From: gluster-devel-bounces+gaurav=gluster.com at nongnu.org [gluster-devel-bounces+gaurav=gluster.com at nongnu.org] on behalf of ?? [wuwei.tsh at gmail.com] Sent: Wednesday, August 03, 2011 10:27 AM To: gluster-users Cc: gluster-devel Subject: [Gluster-devel] How can I get the X-Auth-Key in GlusterFS 3.3 Beta 1 Hey, I download the latest version of glusterfs and the gluster-object-storage-3.3beta1.tar.gz. And I operate as the doc defined after installation. But I have a problem now,that is I can't get the X-Auth-Key to launch the command: " To authenticate, use the following command: GET /v1.0 HTTP/1.1 Host: <storage URL> X-Auth-User: <user name> X-Auth-Key: <authentication-token-key> " I tried the user password in plain text, but it didn't work. Anyone can tell me how can I get the X-Auth-Key ? Wei Wu _______________________________________________ Gluster-devel mailing list Gluster-devel at nongnu.org https://lists.nongnu.org/mailman/listinfo/gluster-devel
Gabriel-Adrian Samfira
2011-Aug-03 08:08 UTC
[Gluster-users] How can I get the X-Auth-Key in GlusterFS 3.3 Beta 1
If its of any help to you, this is what i used to get the token. curl -X GET -k -H "X-Storage-User: username" -H "X-Storage-Pass: secret" https://127.0.0.1:443/auth/v1.0/ -D - && echo Username will be in the form of: "account:username" where account is the volume name on which you created the username (v1 in the documentation). Best regards, Gabriel -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20110803/f2750576/attachment.html>
Reasonably Related Threads
- How can I user strpe + replicate mode in gluster 3.2.1?
- Problems with samba shares locking in w2k ADS environment.
- Unable to find root device. domU??
- [ovirt-users] slow performance with export storage on glusterfs
- [ovirt-users] slow performance with export storage on glusterfs