[Openstack] LbaaS VIP is not accessible from outside

Nick Maslov azpekt at gmail.com
Tue Nov 26 08:00:15 UTC 2013


Hi Eugene, 

Yes, I forgot to mention, that I assigned floating IP to VIP :)

(neutron) port-list
…
| 63726b11-f226-4765-9736-c3dc697fe221 | vip-c756a3d3-c62e-4fe5-8c92-3fdf1da4b68d | fa:16:3e:4f:c1:02 | {"subnet_id": "2cd9197a-4b22-43ae-bad6-1742a40dbfcc", "ip_address": "192.168.1.100"} |
…

(neutron) lb-vip-list
…
| c756a3d3-c62e-4fe5-8c92-3fdf1da4b68d | lb02_vip | 192.168.1.100 | HTTP     | True           | ACTIVE |
…

(neutron) floatingip-list
…
| f01b1c8c-6168-4860-a7f0-5a60d5e958db | 192.168.1.100    | I removed public IP from here       | 63726b11-f226-4765-9736-c3dc697fe221 |
…





-- 
Nick Maslov
Sent with Airmail

On November 25, 2013 at 8:34:32 PM, Eugene Nikanorov (enikanorov at mirantis.com) wrote:

Hi Nick,

What you are describing is the by-design behavior: HAProxy provider creates VIP on the tenant network and by default it is accessible only from within. Assigning floating IP to VIP's port is a manual step needed in order to provide external visibility.

Thanks,
Eugene.


On Mon, Nov 25, 2013 at 9:55 PM, Nick Maslov <azpekt at gmail.com> wrote:
Hi,

I created LB in Havana install, and it`s up and running. However, VIP is not accessible from outside of that network, and only from within:

root at ctrl01-001:/var/log/ceilometer# curl http://vip
This is the default web page for first server.

root at ctrl01-001:/var/log/ceilometer# curl http://vip
This is the default web page for second server.

Moreover, I cannot see floating IP associated with that VIP in my router netns:
root at net01-001:/var/log/neutron# ip netns exec qrouter-eebe7bfa-eccd-4b1e-9f33-f39d013a9511 ip a | grep `nslookup vip`

Anyone have any clues?

Thanks,
NM


_______________________________________________
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/20131126/d8f62dc3/attachment.html>


More information about the Openstack mailing list