← Back to team overview

openstack team mailing list archive

Re: Endpoints problems

 

I've tried to execute the following command:

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 ?

Thanks.

From: anne@xxxxxxxxxxxxx
Date: Thu, 12 Apr 2012 15:28:21 -0500
Subject: Re: [Openstack] Endpoints problems
To: guibirk@xxxxxxxxxxx
CC: openstack@xxxxxxxxxxxxxxxxxxx

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 definition should be:




keystone --token 012345SECRET99TOKEN012345 --endpoint http://192.168.206.130:35357/v2.0 endpoint-create \

                       --region RegionOne \

                       --service_id=abc0f03c02904c24abdcc3b7910e2eed \

                       --publicurl http://192.168.206.130:8774/v2/$(tenant_id)s \

                       --adminurl http://192.168.206.130:8774/v2/$(tenant_id)s \

                       --internalurl http://192.168.206.130:8774/v2/$(tenant_id)s
I haven't fixed this yet because I'm not sure if the $(tenant_id)s is literal or which tenant_id specifically to use (the Service tenant for the adminurl possibly)?



If someone on the list could offer more input here and on the doc bug it would be greatly appreciated!
Anne

On Thu, Apr 12, 2012 at 12:25 PM, Guilherme Birk <guibirk@xxxxxxxxxxx> wrote:






I'm having problems setting up the nova endpoint. I've followed the manual http://docs.openstack.org/trunk/openstack-compute/install/content/setting-up-tenants-users-and-roles.html, putting the tenant id on the url's, like the manual says to do. But when I try execute "nova list" I got a malformed url error. When I set the endpoint without the tenant id on the url's I got a 404 error. Anyone having the same problem?



I can access the dashboard normally, but I'm unable to retrieve instance list. 		 	   		  

_______________________________________________

Mailing list: https://launchpad.net/~openstack

Post to     : openstack@xxxxxxxxxxxxxxxxxxx

Unsubscribe : https://launchpad.net/~openstack

More help   : https://help.launchpad.net/ListHelp



 		 	   		  

Follow ups

References