openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #10051
Re: Endpoints problems
On Fri, Apr 13, 2012 at 8:28 AM, Guilherme Birk <guibirk@xxxxxxxxxxx> 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@xxxxxxxxx
Follow ups
References