<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Thanks Kiall, that worked. Looks like my endpoints are working now, I can execute the nova list command without problems.<br>Thanks all.<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: kiall@managedit.ie<br>Date: Fri, 13 Apr 2012 14:40:59 +0100<br>Subject: Re: [Openstack] Endpoints problems<br>To: guibirk@hotmail.com<br>CC: openstack@lists.launchpad.net<br><br>Use single quotes, instead of double quotes.<div><br></div><div>$() has a special meaning in bash.. it executes whatever is between the braces and substitutes the whole thing for the STDOUT of the command it ran...</div><div>
<br>Thanks,<br>Kiall<br>
<br><br><div class="ecxgmail_quote">On Fri, Apr 13, 2012 at 2:28 PM, Guilherme Birk <span dir="ltr"><<a href="mailto:guibirk@hotmail.com">guibirk@hotmail.com</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex">
<div><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/%24%28tenant_id%29s" target="_blank">http://192.168.100.142:8774/v2/$(tenant_id)s</a>" --adminurl="<a href="http://192.168.100.142:8774/v2/%24%28tenant_id%29s" target="_blank">http://192.168.100.142:8774/v2/$(tenant_id)s</a>" --internalurl="<a href="http://192.168.100.142:8774/v2/%24%28tenant_id%29s" 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><div></div><hr>From: <a href="mailto:anne@openstack.org">anne@openstack.org</a><br>Date: Thu, 12 Apr 2012 15:28:21 -0500<div class="ecxim"><br>Subject: Re: [Openstack] Endpoints problems<br>
</div>To: <a href="mailto:guibirk@hotmail.com">guibirk@hotmail.com</a><br>CC: <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><div><div class="h5"><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>
--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><BR><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">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">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></div> </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">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> </div></body>
</html>