<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><div>Couple of quick points:</div><div><br></div><div>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" style="">http://www.iana.org/assignments/port-numbers</a>]</div><div>b) I was going to suggest something like a ZooKeeper, may be the service catalog serves that purpose.</div><div>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.</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: [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>
<div>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>?</div> <div><br> </div> <div>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.</div> <div><br> </div> <div>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).</div> <div><br> </div> <div>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></div> <div> <blockquote style="margin:0 0 0 40px; border:none; padding:0px;"> <div>80: Swift proxy server (swift/etc/proxy-server.conf-sample)</div> <div>6000: Swift object server</div> <div>6001: Swift container server</div> <div>6002: Swift account server</div> <div>6080: Nova VNC proxy</div> <div>8001: Nova direct API</div> <div>8080: Swift proxy server (swift/bin/swift-proxy-server)</div> <div>3306: MySQL</div> <div>5672: AMPQ (RabbitMQ)</div> <div>9292: Glance API</div> <div>9191: Glance Registry</div> <div>5900...590?: qemu-system for VNC</div> </blockquote> </div> <div><br> </div> <div>We've moved Keystone to 5000/5001 (for Service and Admin API, respectively).</div> <div><br> </div> <div><br> </div> <div><br> </div> <div> <div>Sample Response with service catalog:</div> <div> <blockquote style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "> <div>{</div> <div> "auth":{</div> <div> "token":{</div> <div> "id":"asdasdasd-adsasdads-asdasdasd-adsadsasd",</div> <div> "expires":"2010-11-01T03:32:15-05:00"</div> <div> },</div> <div> "serviceCatalog":{</div> <div> "nova":[</div> <div> {</div> <div> "region":"NorthAmerica",</div> <div> "publicURL":"https://service1-public:9000/v1/blah-blah",</div> <div> "internalURL":"https://service1-internal:9001/v1/blah-blah"</div> <div> },</div> <div> {</div> <div> "region":"Europe",</div> <div> "publicURL":"https://service1-public-eu/v1/blah-blah",</div> <div> "internalURL":"https://service1-internal-eu/v1/blah-blah"</div> <div> }</div> <div> ],</div> <div> "swift":[</div> <div> {</div> <div> "region":"regionOne",</div> <div> "publicURL":"https://service2-public-dat/v1/blah-blah"</div> <div> }</div> <div> ]</div> <div> }</div> <div> }</div> <div>}</div> </blockquote> </div> </div> <hr>_______________________________________________<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>
</div>
</blockquote></span></body></html>