I would be surprised if you could simply interchange the $ with a %.. Never tried it though!<div><br></div><div>Anyway - $ is defiantly the "correct" character to use: <a href="https://github.com/openstack-dev/devstack/blob/master/files/default_catalog.templates">https://github.com/openstack-dev/devstack/blob/master/files/default_catalog.templates</a><br clear="all">
<br>Thanks,<br>Kiall<br>
<br><br><div class="gmail_quote">On Fri, Apr 13, 2012 at 2:48 PM, David Kranz <span dir="ltr"><<a href="mailto:david.kranz@qrclab.com">david.kranz@qrclab.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
As far as my experience goes, you have to use %(tenant_id)s. I ran
into this problem the first time I did it as well. $ makes the shell
think it's a variable.<span class="HOEnZb"><font color="#888888"><br>
<br>
David Kranz<br>
Quanta Research Cambridge</font></span><div><div class="h5"><br>
<br>
<br>
<br>
On 4/13/2012 9:28 AM, Guilherme Birk wrote:
<blockquote type="cite">
<div dir="ltr">
I've tried to execute the following command:<br>
<br>
keystone --token ADMIN --endpoint
<a href="http://192.168.100.142:35357/v2.0" target="_blank">http://192.168.100.142:35357/v2.0</a> endpoint-create --region
RegionOne --service_id=1fd7b5f1add74aa4b6efc514fd153e72
--publicurl=<a href="http://192.168.100.142:8774/v2/$(tenant_id)s" target="_blank">"http://192.168.100.142:8774/v2/$(tenant_id)s"</a>
--adminurl=<a href="http://192.168.100.142:8774/v2/$(tenant_id)s" target="_blank">"http://192.168.100.142:8774/v2/$(tenant_id)s"</a>
--internalurl=<a href="http://192.168.100.142:8774/v2/$(tenant_id)s" target="_blank">"http://192.168.100.142:8774/v2/$(tenant_id)s"</a><br>
<br>
But I'm getting a "tenant_id: command not found". When I list
the endpoints all my url's are like
<a href="http://192.168.100.142:8774/v2/s" target="_blank">"http://192.168.100.142:8774/v2/s"</a> for the created endpoint.<br>
Am I doing something wrong ?<br>
<br>
Thanks.<br>
<br>
<div>
<hr>From: <a href="mailto:anne@openstack.org" target="_blank">anne@openstack.org</a><br>
Date: Thu, 12 Apr 2012 15:28:21 -0500<br>
Subject: Re: [Openstack] Endpoints problems<br>
To: <a href="mailto:guibirk@hotmail.com" target="_blank">guibirk@hotmail.com</a><br>
CC: <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
<br>
Hi Guilherme - <br>
Sorry you ran into a doc bug - <a href="https://bugs.launchpad.net/openstack-manuals/+bug/977905" target="_blank">https://bugs.launchpad.net/openstack-manuals/+bug/977905</a>.
<br>
<br>
Basically, the bug states that the nova endpoint definition
should be:<br>
<br>
keystone --token 012345SECRET99TOKEN012345 --endpoint <a rel="nofollow" href="http://192.168.206.130:35357/v2.0" target="_blank">http://192.168.206.130:35357/v2.0</a>
endpoint-create \<br>
<p>
--region RegionOne \<br>
--service_id=abc0f03c02904c24abdcc3b7910e2eed
\<br>
--publicurl <a rel="nofollow" href="http://192.168.206.130:8774/v2/%24%28tenant_id%29s" target="_blank">http://192.168.206.130:8774/v2/$(tenant_id)s</a>
\<br>
--adminurl <a rel="nofollow" href="http://192.168.206.130:8774/v2/%24%28tenant_id%29s" target="_blank">http://192.168.206.130:8774/v2/$(tenant_id)s</a>
\<br>
--internalurl <a rel="nofollow" href="http://192.168.206.130:8774/v2/%24%28tenant_id%29s" target="_blank">http://192.168.206.130:8774/v2/$(tenant_id)s</a></p>
<br>
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)?<br>
<br>
If someone on the list could offer more input here and on the
doc bug it would be greatly appreciated!<br>
Anne<br>
<br>
<div>On Thu, Apr 12, 2012 at 12:25 PM,
Guilherme Birk <span dir="ltr"><<a href="mailto:guibirk@hotmail.com" target="_blank">guibirk@hotmail.com</a>></span>
wrote:<br>
<blockquote style="border-left:1px #ccc solid;padding-left:1ex">
<div>
<div dir="ltr">
I'm having problems setting up the nova endpoint. I've
followed the manual <a href="http://docs.openstack.org/trunk/openstack-compute/install/content/setting-up-tenants-users-and-roles.html" target="_blank">http://docs.openstack.org/trunk/openstack-compute/install/content/setting-up-tenants-users-and-roles.html</a>,
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?<br>
<br>
I can access the dashboard normally, but I'm unable to
retrieve instance list. </div>
</div>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
Post to : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>