[Openstack] LBaaS on Juno

James Denton james.denton at rackspace.com
Sun May 3 15:54:42 UTC 2015


Hi Christina,

Is 131.154.96.28 configured as a floating IP and associated with the LB VIP port? The NAT is configured on the router connected to the VIP network, in this case private_net. Can the router access the VIP 10.0.1.22? I’d start there.

James



> On May 1, 2015, at 4:21 PM, Cristina Aiftimiei <caifti at gmail.com> wrote:
> 
> Dear all,
> 
> I have a problem when configuring LBaaS in Juno.
> Our setup is an OpenStack Juno with 2 controller and 2 network nodes in HA, using HAproxy & Keepalived.
> 
> After playing with the Havana version, where services were not in HA (just 1 controller and 1 network-node) and where everything was working as explained in all posts and blogs that I found around (mainly based on https://wiki.openstack.org/wiki/Neutron/LBaaS/HowToRun <https://wiki.openstack.org/wiki/Neutron/LBaaS/HowToRun>) I went on configuring in a similar way the Juno version.
> 
> Everyting went fine until the last check "curl<vip-floating-ip>" that says "curl: (7) couldn't connect to host" (Connection timed out)
> 
> Some details:
> 
> $ neutron router-list
> +--------------------------------------+----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
> | id                                   | name     | external_gateway_info                                                                                                                                                                     |
> +--------------------------------------+----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
> | 0af31338-5aba-4dd3-9af5-6ba0050bea93 | myrouter | {"network_id": "17d5949b-5694-4eab-abe0-c8039f0bd498", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "825bc708-c4f9-4684-8c20-8bddf7e5aa7b", "ip_address": "131.154.96.19"}]} |
> +--------------------------------------+----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
> 
> $ neutron lb-pool-list
> +--------------------------------------+--------+----------+-------------+----------+----------------+--------+
> | id                                   | name   | provider | lb_method   | protocol | admin_state_up | status |
> +--------------------------------------+--------+----------+-------------+----------+----------------+--------+
> | 3ed76c5b-681b-46dc-80ac-83c6686adc18 | mypool | haproxy  | ROUND_ROBIN | HTTP     | True           | ACTIVE |
> +--------------------------------------+--------+----------+-------------+----------+----------------+--------+
> 
> $ neutron lb-vip-list
> +--------------------------------------+-------+-----------+----------+----------------+--------+
> | id                                   | name  | address   | protocol | admin_state_up | status |
> +--------------------------------------+-------+-----------+----------+----------------+--------+
> | 824c9ee7-c9bd-40fd-91ff-1f2b88372f95 | myvip | 10.0.1.22 | HTTP     | True           | ACTIVE |
> +--------------------------------------+-------+-----------+----------+----------------+--------+
> 
> $ nova list
> +--------------------------------------+------------+--------+------------+-------------+--------------------------------------+
> | ID                                   | Name       | Status | Task State | Power State | Networks                             |
> +--------------------------------------+------------+--------+------------+-------------+--------------------------------------+
> | 959f0059-f5a8-4085-b093-a1d30d22170c | jumphost   | ACTIVE | -          | Running     | private_net=10.0.1.10, 131.154.96.20 |
> | 0ecbe8de-8219-4c05-9198-ce0b8cca8bc5 | webserver1 | ACTIVE | -          | Running     | private_net=10.0.1.11                |
> | ac62c3f3-5b2d-40f3-afb7-c83291541bf5 | webserver2 | ACTIVE | -          | Running     | private_net=10.0.1.12                |
> +--------------------------------------+------------+--------+------------+-------------+--------------------------------------+
> 
> # ip netns exec qlbaas-3ed76c5b-681b-46dc-80ac-83c6686adc18 curl http://10.0.1.22 <http://10.0.1.22/>
> Welcome to webserver1
> # ip netns exec qlbaas-3ed76c5b-681b-46dc-80ac-83c6686adc18 curl http://10.0.1.22 <http://10.0.1.22/>
> Welcome to webserver2
> 
> $ curl -vvv 131.154.96.28
> * About to connect() to 131.154.96.28 port 80 (#0)
> *   Trying 131.154.96.28... Connection timed out
> * couldn't connect to host
> * Closing connection #0
> curl: (7) couldn't connect to host
> 
> Am I missing something? Where can I look for errors or missconfigurations?
> 
> Thank you very much,
> Cristina
> 
> _______________________________________________
> 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/20150503/22821724/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150503/22821724/attachment.sig>


More information about the Openstack mailing list