[Openstack-operators] Problems using python-novaclient remotely: all publicUrl endpoints are relative to localhost

Lorin Hochstein lorin at nimbisservices.com
Tue Jun 5 13:03:53 UTC 2012


Adrian:

It sounds like your keystone endpoints are incorrect. You should be able to use "keystone endpoint-delete" to delete your old endpoints and "keystone endpoint-create" to create them again with the correct IP addresses.

To confirm this is the issue, can you send the output of the following two commands:

keystone service-list
keystone endpoint-list

The Install and Deploy guide has examples of how to create these endpoints: http://docs.openstack.org/trunk/openstack-compute/install/content/keystone-service-endpoint-create.html

Take care,

Lorin
--
Lorin Hochstein
Lead Architect - Cloud Services
Nimbis Services, Inc.
www.nimbisservices.com





On Jun 5, 2012, at 1:37 AM, Adrian Petrescu wrote:

> I'm running a simple single-node OpenStack installation on Ubuntu 12.04. Everything runs fine through the web GUI and local command line client, but I seem to have problems when using the python novaclient remotely.
> 
> I configure the client with the proper auth URL (in this case, suppose that is at http://192.168.1.135:5000/v2.0/) and from stepping through the debugger it looks like a token is successfully obtained. However, the publicUrl endpoints that the auth API returns are all wrong: it reverts back to localhost! The python client therefore makes all future requests against localhost instead of 192.168.1.135 which therefore (of course) fails.
> 
> I have looked through the Settings page on the web UI and both /etc/nova/nova.conf and /etc/keystone/keystone.conf and cannot find anywhere that I have improperly configured the public URL to be hardcoded to localhost. I could work around this by forcing the client to use the right path, but I feel there must be a simple way to fix the endpoints that auth is returning.
> 
> Any suggestions? :)
> 
> Thanks!
> Adrian
> 
> _______________________________________________
> Openstack-operators mailing list
> Openstack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20120605/473eedd5/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4897 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20120605/473eedd5/attachment-0002.bin>


More information about the Openstack-operators mailing list