On Fri, 13 Apr 2012 04:24:56 +
Justin Shepherd jshep...@rackspace.com wrote:
And if i am reading the code correctly they support both of the following
variable declarations:
%(tennant_id)s
$(tennant_id)s
since it appears the code replaces $( with %(
Exactly why documentation is
Date: Thu, 12 Apr 2012 15:28:21 -0500
Subject: Re: [Openstack] Endpoints problems
To: guib...@hotmail.com
CC: openstack@lists.launchpad.net
Hi Guilherme -
Sorry you ran into a doc bug -
https://bugs.launchpad.net/openstack-manuals/+bug/977905.
Basically, the bug states that the nova endpoint
.
--
From: a...@openstack.org
Date: Thu, 12 Apr 2012 15:28:21 -0500
Subject: Re: [Openstack] Endpoints problems
To: guib...@hotmail.com
CC: openstack@lists.launchpad.net
Hi Guilherme -
Sorry you ran into a doc bug -
https://bugs.launchpad.net/openstack-manuals/+bug/977905.
Basically
Thanks Kiall, that worked. Looks like my endpoints are working now, I can
execute the nova list command without problems.
Thanks all.
From: ki...@managedit.ie
Date: Fri, 13 Apr 2012 14:40:59 +0100
Subject: Re: [Openstack] Endpoints problems
To: guib...@hotmail.com
CC: openstack
On Fri, Apr 13, 2012 at 8:28 AM, Guilherme Birk guib...@hotmail.com wrote:
keystone --token ADMIN --endpoint http://192.168.100.142:35357/v2.0
endpoint-create --region RegionOne
--service_id=1fd7b5f1add74aa4b6efc514fd153e72
--publicurl=http://192.168.100.142:8774/v2/$(tenant_id)s
: a...@openstack.org
Date: Thu, 12 Apr 2012 15:28:21 -0500
Subject: Re: [Openstack] Endpoints problems
To: guib...@hotmail.com
CC: openstack@lists.launchpad.net
Hi Guilherme -
Sorry you ran into a doc bug -
https://bugs.launchpad.net/openstack-manuals/+bug/977905.
Basically, the bug states
On Fri, 13 Apr 2012 13:28:36 +
Guilherme Birk guib...@hotmail.com wrote:
keystone --token ADMIN
--publicurl=http://192.168.100.142:8774/v2/$(tenant_id)s
But I'm getting a tenant_id: command not found.
Shell expands variables in the double quote () strings, so you
have to use single quote
://192.168.100.142:8774/v2/s;http://192.168.100.142:8774/v2/sfor the
created endpoint.
Am I doing something wrong ?
Thanks.
--
From: a...@openstack.org
Date: Thu, 12 Apr 2012 15:28:21 -0500
Subject: Re: [Openstack] Endpoints problems
To: guib...@hotmail.com
CC
So why would the preferred method be the one that you have to do all sort of
magic stuff to protect from bash extrapolation.. and also given that the code
converts those to %(tenant_id).. why wouldn't the %( way be the preferred way?
Sounds like an artifact of the CLI being a second class use
On 04/13/2012 10:50 AM, Dolph Mathews wrote:
While $(tenant_id)s is certainly the documented syntax, it appears
that the SQL catalog backend (and *only* the SQL catalog backend, as
far as I can tell) explicitly supports both $(tenant_id)s and
%(tenant_id)s:
On Thu, 12 Apr 2012 15:28:21 -0500
Anne Gentle a...@openstack.org wrote:
keystone --token 012345SECRET99TOKEN012345 --endpoint
http://192.168.206.130:35357/v2.0 endpoint-create \
[]
--internalurl
http://192.168.206.130:8774/v2/$(tenant_id)s
I haven't fixed this
Maybe, here some codes are worth thouhands of words:keystone.catalog.backends.sql.Catalog: def get_catalog(self, user_id, tenant_id, metadata=None): d = dict(CONF.iteritems()) d.update({'tenant_id': tenant_id, 'user_id': user_id}) catalog = {} endpoints = [self.get_endpoint(e) for e in
On Apr 12, 2012, at 6:44 PM, Pete Zaitcev wrote:
On Thu, 12 Apr 2012 15:28:21 -0500
Anne Gentle a...@openstack.org wrote:
keystone --token 012345SECRET99TOKEN012345 --endpoint
http://192.168.206.130:35357/v2.0 endpoint-create \
[]
--internalurl
On Thu, 12 Apr 2012 22:33:38 -0400
Lorin Hochstein lo...@nimbisservices.com wrote:
My understanding (based on somebody's previous answer in the mailing list,
or possibly one of the IRC channels) was that you could only do this with
the template backend, and when you were using the database
On Fri, 13 Apr 2012 08:11:28 +0800
Yong Sheng Gong gong...@cn.ibm.com wrote:
Maybe, here some codes are worth thouhands of words:
I quite agree. On the other hand, does Anne care to read it? She needs
a concise answer as to what command to document precisely, if I understad
her query right.
So looking at the code.. both templated and sql backends seem to support the
variable substitution.
And if i am reading the code correctly they support both of the following
variable declarations:
%(tennant_id)s
$(tennant_id)s
since it appears the code replaces $( with %(
--shep
On Apr 12,
Here is one sample keystone default_catalog.templates which defines some services. In fact I think for SQL, we need use keystone client to add them into SQL DB.# config for TemplatedCatalog, using camelCase because I don't want to do# translations for keystone
Subject: Re: [Openstack] Endpoints problems
Thanks all!
And thanks for not saying It's a Python Thing You Wouldn't Understand. :)
Yeah I do want a definitive answer but it's always good for me to learn to read
code.
Then again, things like replace('$(', '%(') make me go hmm...
One last
18 matches
Mail list logo