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 PM
On Thu, Feb 23, 2012 at 10:57 PM, Alan Pevec wrote:
> On Thu, Feb 23, 2012 at 11:23 PM, Paras pradhan
> 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 way for my dev and testing I use
On Thu, Feb 23, 2012 at 11:23 PM, Paras pradhan 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\", \"password\
gt;
> curl command would be something like:
>
> curl -i -X PUT -H 'x-auth-token: '
> 'http://127.0.0.1:8080/v1//'
>
> Hope that helps
> Jo
>
>
> From: Paras pradhan
> To: Pete Zaitcev
> Cc: openstack
> Sen
From: Paras pradhan
To: Pete Zaitcev
Cc: openstack
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:5000/v2.0 -U adminTenant:adminUser -K
secretword -V
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
-
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
Paras.
On Tue, 21 Feb 2012 11:24:06 -0600
Paras pradhan 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
> keystone-manage role grant A
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 adminTen
On Mon, 20 Feb 2012 14:34:22 -0600
Paras pradhan 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 on a tenant, e.g.
ke
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
Nee
11 matches
Mail list logo