Re: [Openstack] swift keystone help

2012-02-24 Thread Paras pradhan
Thanks guys. This returns my token ( not X-Auth-Token?) that I have in api-paste.ini. How do we list the container or whats the equivalent of this curl -H 'X-Auth-Token: AUTH_tke0f59cda14bf472fbe60e68f78af1c69' http://192.168.122.14:8080/v1/AUTH_admin/ Paras. On Thu, Feb 23, 2012 at 5:09

Re: [Openstack] swift keystone help

2012-02-23 Thread Paras pradhan
, February 22, 2012 2:23 PM Subject: Re: [Openstack] swift keystone help Looks like swift with keystone is working swift -A http://192.168.122.14:5000/v2.0 -U adminTenant:adminUser -K secretword -V 2.0 stat -v StorageURL: https://192.168.122.14:8080/v1/AUTH_2 Auth Token: 999888777666   Account

Re: [Openstack] swift keystone help

2012-02-23 Thread Alan Pevec
On Thu, Feb 23, 2012 at 11:23 PM, Paras pradhan pradhanpa...@gmail.com wrote: Now I have keystone configured at http://192.168.122.14:5000/v2.0  how to use curl in this case to get a token? Example from devstack: TOKEN=`curl -s -d {\auth\:{\passwordCredentials\: {\username\: \$ADMIN_USER\,

Re: [Openstack] swift keystone help

2012-02-23 Thread Chmouel Boudjnah
On Thu, Feb 23, 2012 at 10:57 PM, Alan Pevec ape...@gmail.com wrote: On Thu, Feb 23, 2012 at 11:23 PM, Paras pradhan pradhanpa...@gmail.com wrote: Now I have keystone configured at http://192.168.122.14:5000/v2.0  how to use curl in this case to get a token? Example from devstack: By the

Re: [Openstack] swift keystone help

2012-02-22 Thread Paras pradhan
Looks like swift with keystone is working swift -A http://192.168.122.14:5000/v2.0 -U adminTenant:adminUser -K secretword -V 2.0 stat -v StorageURL: https://192.168.122.14:8080/v1/AUTH_2 Auth Token: 999888777666 Account: AUTH_2 Containers: 0 Objects: 0 Bytes: 0 Accept-Ranges: bytes

Re: [Openstack] swift keystone help

2012-02-22 Thread Jyothi Krishnan
From: Paras pradhan pradhanpa...@gmail.com To: Pete Zaitcev zait...@redhat.com Cc: openstack openstack@lists.launchpad.net Sent: Wednesday, February 22, 2012 2:23 PM Subject: Re: [Openstack] swift keystone help Looks like swift with keystone is working swift -A http://192.168.122.14

Re: [Openstack] swift keystone help

2012-02-21 Thread Paras pradhan
Pete, Yeah that was a type when I copy pasted. This is what I've done to create user keystone-manage tenant add adminTenant keystone-manage user add adminUser secretword keystone-manage role add Admin keystone-manage role grant Admin adminUser keystone-manage role grant Admin adminUser

Re: [Openstack] swift keystone help

2012-02-21 Thread Pete Zaitcev
On Tue, 21 Feb 2012 11:24:06 -0600 Paras pradhan pradhanpa...@gmail.com wrote: Yeah that was a type when I copy pasted. You mean, the commented section header #[]? keystone-manage tenant add adminTenant keystone-manage user add adminUser secretword keystone-manage role add Admin

Re: [Openstack] swift keystone help

2012-02-21 Thread Paras pradhan
Pete, This is what I have #keystone-manage endpointTemplates add RegionOne swift http://192.168.122.14:8080/v1/AUTH_%tenant_id% http://192.168.122.14:8080/ http://192.168.122.14:8080/v1/AUTH_%tenant_id% 1 1 I have ssl enabled in swift-proxy.conf. Do I replace http with https here? Thanks

[Openstack] swift keystone help

2012-02-20 Thread Paras pradhan
Hi everyone, I have swift installed with swauth and is working properly. Now I need to make swift work with keystone. I am getting this error: # swift -A http://192.168.122.14:5000/v2.0 -U adminUser -K secretword stat -v Auth GET failed: http://192.168.122.14:5000/tokens 401 Unauthorized

Re: [Openstack] swift keystone help

2012-02-20 Thread Pete Zaitcev
On Mon, 20 Feb 2012 14:34:22 -0600 Paras pradhan pradhanpa...@gmail.com wrote: http://paste.openstack.org/show/4912/ Did you notice this: #[filter:keystone] use = egg:keystone#tokenauth Seems commented :-) The only undocumented trap that I hit was that you MUST create users and grant roles