[Openstack] Endpoints problems

Dean Troyer dtroyer at gmail.com
Fri Apr 13 13:48:26 UTC 2012


On Fri, Apr 13, 2012 at 8:28 AM, Guilherme Birk <guibirk at 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"
> --adminurl="http://192.168.100.142:8774/v2/$(tenant_id)s"
> --internalurl="http://192.168.100.142:8774/v2/$(tenant_id)s"
>
> But I'm getting a "tenant_id: command not found". When I list the endpoints
> all my url's are like "http://192.168.100.142:8774/v2/s" for the created
> endpoint.
> Am I doing something wrong ?

You need to escape the '$'s in your URLs or change the double quotes
around them to single quotes.  The shell sees the $(tenant_id) and
attempts to execute a command called tenant_id.

dt

-- 

Dean Troyer
dtroyer at gmail.com




More information about the Openstack mailing list