<div dir="ltr"><div>On Wed, Feb 1, 2017 at 6:59 AM Thomas Goirand <<a href="mailto:zigo@debian.org">zigo@debian.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 02/01/2017 10:54 AM, Attila Fazekas wrote:<br class="gmail_msg">
> Hi all,<br class="gmail_msg">
><br class="gmail_msg">
> Typically we have two keystone service listening on two separate ports<br class="gmail_msg">
> 35357 and 5000.<br class="gmail_msg">
><br class="gmail_msg">
> Historically one of the port had limited functionality, but today I do<br class="gmail_msg">
> not see why we want<br class="gmail_msg">
> to have two separate service/port from the same code base for similar<br class="gmail_msg">
> purposes.<br class="gmail_msg"></blockquote><div><br></div><div>If you're running v2, you do need two endpoints (admin and public; keystone does not really have a use case for an internal endpoint). The specific port numbers don't particularly matter (other than 35357 is conveniently registered with IANA) and should not be hardcoded or assumed by clients (and are not, AFAIK). In the case of v2, it is effectively a different service running on each port; there's at least one unfortunately subtle difference in behavior between admin and public.</div><div><br></div><div>If you're *only* running v3, you can run a single process and put the same endpoint URL in the service catalog, for both the admin and public endpoint. Arbitrary ports don't matter (so just use 443).<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
><br class="gmail_msg">
> Effective we use double amount of memory than it is really required,<br class="gmail_msg">
> because both port is served by completely different worker instances,<br class="gmail_msg">
> typically from the same physical server.<br class="gmail_msg">
><br class="gmail_msg">
> I wonder, would it be difficult to use only a single port or at least<br class="gmail_msg">
> the same pool of workers for all keystone(identity, auth..) purposes?<br class="gmail_msg">
><br class="gmail_msg">
> Best Regards,<br class="gmail_msg">
> Attila<br class="gmail_msg">
<br class="gmail_msg">
This has been discussed and agreed a long time ago, but nobody did the<br class="gmail_msg">
work.</blockquote><div><br></div><div>A lot of work has gone into freeing keystone from having to run on two ports (Adam Young, in particular, deserves a ton of credit here). You just need to consume that operational flexibility.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Please do get rid of the 2nd port. And when you're at it, also get<br class="gmail_msg">
rid of the admin and internal endpoint in the service catalog.</blockquote><div><br></div><div>v3 has never presumed anything other than a public endpoint. Admin and internal are strictly optional and only exist for backwards compatibility with v2 (so, just use v3).</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br class="gmail_msg">
Cheers,<br class="gmail_msg">
<br class="gmail_msg">
Thomas Goirand (zigo)<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
__________________________________________________________________________<br class="gmail_msg">
OpenStack Development Mailing List (not for usage questions)<br class="gmail_msg">
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" class="gmail_msg" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br class="gmail_msg">
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br class="gmail_msg">
</blockquote></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr">-Dolph</div></div>