<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><div><br>Thanks Mark. Excellent - better to find the conflicts now than later.</div><div><br></div><div>On a related note, we should also have media types (and supporting RFCs) for the appropriate http interactions. We did that for CDMI (<a href="http://tools.ietf.org/html/rfc6208">http://tools.ietf.org/html/rfc6208</a>) Makes it easy for ops and implementations ...</div><div><br></div><div>Cheers</div><div><k/> </div>
<blockquote id="replyBlockquote" webmail="1" style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size:10pt; color:black; font-family:verdana;">
<div id="wmQuoteWrapper">
-------- Original Message --------<br>
Subject: Re: [Openstack] Default ports for services<br>
From: Mark Nottingham <<a href="mailto:mnot@mnot.net">mnot@mnot.net</a>><br>
Date: Thu, June 23, 2011 10:46 pm<br>
To: <<a href="mailto:ksankar@doubleclix.net">ksankar@doubleclix.net</a>> <<a href="mailto:ksankar@doubleclix.net">ksankar@doubleclix.net</a>><br>
Cc: "Ziad Sawalha" <<a href="http://ziad.sawalha@rackspace.com">ziad.sawalha@rackspace.com</a>>,<br>
"<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>" <<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>><br>
<br>
On 24/06/2011, at 3:31 PM, <<a href="mailto:ksankar@doubleclix.net">ksankar@doubleclix.net</a>> <<a href="mailto:ksankar@doubleclix.net">ksankar@doubleclix.net</a>> wrote:<br>
<br>
> Couple of quick points:<br>
> <br>
> a) Once the ports are fixed, we should register them with IANA as well known ports, which is the right place.[<a href="http://www.iana.org/assignments/port-numbers">http://www.iana.org/assignments/port-numbers</a>]<br>
<br>
That would be a friendly thing to do. See below for potential conflicts.<br>
<br>
> b) I was going to suggest something like a ZooKeeper, may be the service catalog serves that purpose.<br>
> c) Also, on the port numbers, I assume they will manifest as universal constants and/or a configuration file in a universally (or intergalactically ;o)) known place.<br>
> Cheers<br>
> <k/><br>
> -------- Original Message --------<br>
> Subject: [Openstack] Default ports for services<br>
> From: Ziad Sawalha <<a href="http://ziad.sawalha@rackspace.com">ziad.sawalha@rackspace.com</a>><br>
> Date: Wed, June 22, 2011 9:52 pm<br>
> To: "<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>" <<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>><br>
> <br>
> Where's the best place to keep track of default ports for services to avoid conflicts? A wiki page on <a href="http://wiki.openstack.org">wiki.openstack.org</a>?<br>
> <br>
> We had a discussion while working on Keystone about default ports for OpenStack services (<a href="https://github.com/rackspace/keystone/issues/31">https://github.com/rackspace/keystone/issues/31</a>). We want OpenStack to work 'out-of-the-box' without built-in port conflicts, so we should coordinate which ports new services start on.<br>
> <br>
> At a minimum, we need that for Keystone as it isn't discoverable. Other services can be discovered using the service catalog that Keystone returns as part of an auth request (Sample response below at end of email).<br>
> <br>
> Here's a list of ports we talked about on <a href="https://github.com/rackspace/keystone/issues/31">https://github.com/rackspace/keystone/issues/31</a><br>
> 80: Swift proxy server (swift/etc/proxy-server.conf-sample)<br>
<br>
Already taken by HTTP, of course. If it's just an HTTP API, that's fine.<br>
<br>
> 6000: Swift object server<br>
> 6001: Swift container server<br>
> 6002: Swift account server<br>
<br>
These are already registered for X-windows.<br>
<br>
> 6080: Nova VNC proxy<br>
<br>
free<br>
<br>
> 8001: Nova direct API<br>
<br>
taken by vcom-tunnel<br>
<br>
> 8080: Swift proxy server (swift/bin/swift-proxy-server)<br>
<br>
already HTTP alternate. Again, if it's an HTTP server (NOT http proxy), that's OK.<br>
<br>
> 3306: MySQL<br>
<br>
already registered to mysql<br>
<br>
> 5672: AMPQ (RabbitMQ)<br>
<br>
already AMPQ<br>
<br>
> 9292: Glance API<br>
<br>
ArmTech Daemon (whatever that is)<br>
<br>
> 9191: Glance Registry<br>
<br>
Sun AppSvr JPDA<br>
<br>
> 5900...590?: qemu-system for VNC<br>
<br>
5901-5909 are Unassigned, 5900 is already remote framebuffer.<br>
<br>
<br>
> We've moved Keystone to 5000/5001 (for Service and Admin API, respectively).<br>
<br>
commplex-main and commplex-link, respectively.<br>
<br>
> <br>
> <br>
> <br>
> Sample Response with service catalog:<br>
> {<br>
>   "auth":{<br>
>     "token":{<br>
>       "id":"asdasdasd-adsasdads-asdasdasd-adsadsasd",<br>
>       "expires":"2010-11-01T03:32:15-05:00"<br>
>     },<br>
>     "serviceCatalog":{<br>
>       "nova":[<br>
>         {<br>
>           "region":"NorthAmerica",<br>
>           "publicURL":"https://service1-public:9000/v1/blah-blah",<br>
>           "internalURL":"https://service1-internal:9001/v1/blah-blah"<br>
>         },<br>
>         {<br>
>           "region":"Europe",<br>
>           "publicURL":"https://service1-public-eu/v1/blah-blah",<br>
>           "internalURL":"https://service1-internal-eu/v1/blah-blah"<br>
>         }<br>
>       ],<br>
>       "swift":[<br>
>         {<br>
>           "region":"regionOne",<br>
>           "publicURL":"https://service2-public-dat/v1/blah-blah"<br>
>         }<br>
>       ]<br>
>     }<br>
>   }<br>
> }<br>
> _______________________________________________<br>
> Mailing list: <a href="https://launchpad.net/~openstack">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">https://launchpad.net/~openstack</a><br>
> More help : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br>
> _______________________________________________<br>
> Mailing list: <a href="https://launchpad.net/~openstack">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">https://launchpad.net/~openstack</a><br>
> More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br>
<br>
--<br>
Mark Nottingham   <a href="http://www.mnot.net">http://www.mnot.net</a>/<br>
<br>
<br>
<br>

</div>
</blockquote></span></body></html>