<div dir="ltr"><div>You can define the "osapi_volume_listen=" in cinder.conf and specify just the desired IP address.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 1, 2016 at 3:50 AM, Ludwig Tirazona <span dir="ltr"><<a href="mailto:ljtirazona@gmail.com" target="_blank">ljtirazona@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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. <br>
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.<br>
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.<br>
If it is impossible to bind Cinder to just one interface, is there a way to change to Port it binds to?<br>
<br>
<br>
  Original Message  <br>
<a href="mailto:From%3Amerlin.blom@nionex.net">From:merlin.blom@nionex.net</a><br>
Sent:February 1, 2016 18:46<br>
<a href="mailto:To%3Aljtirazona@gmail.com">To:ljtirazona@gmail.com</a>; <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Subject:Re: [Openstack] How to Force Cinder to Listen on a Specific Interface Only?<br>
<br>
<br>
<br>
> Hello Everyone,<br>
>     It seems that the default behavior for Cinder is to listen on all<br>
> available interfaces. I need it to listen to a single IP Address only.<br>
> I tried using "bind_host", but it doesn't work. Tried looking for a<br>
> sample config file that at least showed the option controlling the<br>
> binding behavior, I couldn't find any.<br>
<br>
The binding Address is definded in the registered Endpoind.<br>
Try "nova endpoint list" to find out where your services are binding.<br>
And nova endpoint edit <ID> to edit your endpoint.<br>
<br>
Merlin<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</blockquote></div><br></div>