On Jun 12, 2014, at 11:16 PM, Pete Zaitcev <[email protected]> wrote:
> On Thu, 12 Jun 2014 09:52:59 +0100 > Diogo Vieira <[email protected]> wrote: > >> Ok, I guess that might work, but I have one problem with that approach. >> For a service I'm developing I have to know the public URL for an object >> in the store. For that I use Keystone to find the endpoint of Swift and >> I get the internal ip. Is there a way for me to set a public endpoint >> or get the correct ip (the one accessible publicly) of the service? > > I don't think any Swift client supports the public/private split, > even if you have in Keystone catalog. You have to set the external > IP (or preferably hostname, actually) in the endpoint descriptor > in Keystone. > > The practical way to make the split is to use a hostname, and then > have internal DNS point to internal IP and and external to public IP. > > The meaning of the final question is somewhat foggy, because you > have a complete control of what endpoint in Keystone lists. > > -- Pete Ok, I believe I know what to do now. Thank you very much for your help. Diogo Vieira <[email protected]> Programador Eurotux Informática, S.A. | www.eurotux.com (t) +351 253 680 300 _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
