[openstack-dev] [common] moving manager.py and service.py into common

Jay Pipes jaypipes at gmail.com
Tue Aug 7 19:45:02 UTC 2012


On 08/07/2012 11:43 AM, Vishvananda Ishaya wrote:
> 
> On Jul 27, 2012, at 8:22 AM, Jay Pipes <jaypipes at gmail.com> wrote:
> 
>> I'd also love to see standardization around the binding of services to
>> sockets. In Nova-land, each service has its own nova.conf value -- for
>> example, there is a host/port pair for each of nova-os-api,
>> nova-ec2-api, nova-metadata-api, etc: (see [1])
>>
>> osapi_compute_listen=0.0.0.0
>> osapi_compute_listen_port=8774
>> ec2_listen=0.0.0.0
>> ec2_listen_port=8773
>> metadata_listen=0.0.0.0
>> metadata_listen_port=8775
>>
>> There are also nova.conf options that duplicate the above (not sure if
>> these even are used any more...):
>>
>> ec2_host=$my_ip
>> ec2_port=8773
>> metadata_host=$my_ip
>> metadata_port=8775
> 
> FYI the purpose of multiple values is there is a difference between where
> the api is listening and where one needs to connect to it.
> The _host / _port are for incoming connections. This is important
> for load balancing situations.

Ah, thanks for the explanation, Vish.

Would you be opposed to markmc's suggestion of using bind_host with a
bind_port in multiple config/INI file sections for multiple port
endpoints within a single service?

Best,
-jay



More information about the OpenStack-dev mailing list