[Openstack] How to Force Cinder to Listen on a Specific Interface Only?
George Mihaiescu
lmihaiescu at gmail.com
Mon Feb 1 16:10:59 UTC 2016
You can define the "osapi_volume_listen=" in cinder.conf and specify just
the desired IP address.
On Mon, Feb 1, 2016 at 3:50 AM, Ludwig Tirazona <ljtirazona at gmail.com>
wrote:
> My problem actually is that I have three controller nodes that are also my
> HAProxy nodes as well, and I want just one of my Cinders to be actively
> receiving connections through HAProxy, while the other two cinders are on
> hot standby, should the active one fail.
> I'm well aware of the existing race condition within the Liberty Cinder
> code, that's why I configured my HAProxy to be sticky to just one Cinder,
> and move on to the others when the active one goes down.
> Now, since my HAProxy nodes are the same as my Controller Nodes, and
> Cinder binds to all Interfaces, haproxy can't bind to the VIP address.
> If it is impossible to bind Cinder to just one interface, is there a way
> to change to Port it binds to?
>
>
> Original Message
> From:merlin.blom at nionex.net
> Sent:February 1, 2016 18:46
> To:ljtirazona at gmail.com; openstack at lists.openstack.org
> Subject:Re: [Openstack] How to Force Cinder to Listen on a Specific
> Interface Only?
>
>
>
> > Hello Everyone,
> > It seems that the default behavior for Cinder is to listen on all
> > available interfaces. I need it to listen to a single IP Address only.
> > I tried using "bind_host", but it doesn't work. Tried looking for a
> > sample config file that at least showed the option controlling the
> > binding behavior, I couldn't find any.
>
> The binding Address is definded in the registered Endpoind.
> Try "nova endpoint list" to find out where your services are binding.
> And nova endpoint edit <ID> to edit your endpoint.
>
> Merlin
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160201/073ec4b4/attachment.html>
More information about the Openstack
mailing list