<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div apple-content-edited="true" class="">Hi Christina,

</div><div apple-content-edited="true" class=""><br class=""></div><div apple-content-edited="true" class="">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.</div><div apple-content-edited="true" class=""><br class=""></div><div apple-content-edited="true" class="">James</div><div apple-content-edited="true" class=""><br class=""></div><div apple-content-edited="true" class=""><br class=""></div>
<br class=""><div><blockquote type="cite" class=""><div class="">On May 1, 2015, at 4:21 PM, Cristina Aiftimiei <<a href="mailto:caifti@gmail.com" class="">caifti@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class="">Dear all,<br class=""><br class=""></div>I have a problem when configuring LBaaS in Juno.<br class=""></div>Our setup is an OpenStack Juno with 2 controller and 2 network nodes in HA, using HAproxy & Keepalived.<br class=""></div><br class="">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 <a href="https://wiki.openstack.org/wiki/Neutron/LBaaS/HowToRun" class="">https://wiki.openstack.org/wiki/Neutron/LBaaS/HowToRun</a>) I went on configuring in a similar way the Juno version.<br class=""><br class=""></div><div class="">Everyting went fine until the last check "curl<vip-floating-ip>" that says "curl: (7) couldn't connect to host" (Connection timed out)<br class=""><br class=""></div>Some details:<br class=""><br class="">$ neutron router-list<br class="">+--------------------------------------+----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+<br class="">| id                                   | name     | external_gateway_info                                                                                                                                                                     |<br class="">+--------------------------------------+----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+<br class="">| 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"}]} |<br class="">+--------------------------------------+----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+<br class=""><br class="">$ neutron lb-pool-list<br class="">+--------------------------------------+--------+----------+-------------+----------+----------------+--------+<br class="">| id                                   | name   | provider | lb_method   | protocol | admin_state_up | status |<br class="">+--------------------------------------+--------+----------+-------------+----------+----------------+--------+<br class="">| 3ed76c5b-681b-46dc-80ac-83c6686adc18 | mypool | haproxy  | ROUND_ROBIN | HTTP     | True           | ACTIVE |<br class="">+--------------------------------------+--------+----------+-------------+----------+----------------+--------+<br class=""><br class="">$ neutron lb-vip-list<br class="">+--------------------------------------+-------+-----------+----------+----------------+--------+<br class="">| id                                   | name  | address   | protocol | admin_state_up | status |<br class="">+--------------------------------------+-------+-----------+----------+----------------+--------+<br class="">| 824c9ee7-c9bd-40fd-91ff-1f2b88372f95 | myvip | 10.0.1.22 | HTTP     | True           | ACTIVE |<br class="">+--------------------------------------+-------+-----------+----------+----------------+--------+<br class=""><br class="">$ nova list<br class="">+--------------------------------------+------------+--------+------------+-------------+--------------------------------------+<br class="">| ID                                   | Name       | Status | Task State | Power State | Networks                             |<br class="">+--------------------------------------+------------+--------+------------+-------------+--------------------------------------+<br class="">| 959f0059-f5a8-4085-b093-a1d30d22170c | jumphost   | ACTIVE | -          | Running     | private_net=10.0.1.10, 131.154.96.20 |<br class="">| 0ecbe8de-8219-4c05-9198-ce0b8cca8bc5 | webserver1 | ACTIVE | -          | Running     | private_net=10.0.1.11                |<br class="">| ac62c3f3-5b2d-40f3-afb7-c83291541bf5 | webserver2 | ACTIVE | -          | Running     | private_net=10.0.1.12                |<br class="">+--------------------------------------+------------+--------+------------+-------------+--------------------------------------+<br class=""><br class=""># ip netns exec qlbaas-3ed76c5b-681b-46dc-80ac-83c6686adc18 curl <a href="http://10.0.1.22/" class="">http://10.0.1.22</a><br class="">Welcome to webserver1<br class=""># ip netns exec qlbaas-3ed76c5b-681b-46dc-80ac-83c6686adc18 curl <a href="http://10.0.1.22/" class="">http://10.0.1.22</a><br class="">Welcome to webserver2<br class=""><br class="">$ curl -vvv 131.154.96.28<br class="">* About to connect() to 131.154.96.28 port 80 (#0)<br class="">*   Trying 131.154.96.28... Connection timed out<br class="">* couldn't connect to host<br class="">* Closing connection #0<br class="">curl: (7) couldn't connect to host<br class=""><br class=""></div>Am I missing something? Where can I look for errors or missconfigurations?<br class=""><br class=""></div>Thank you very much,<br class=""></div>Cristina<br class=""><br class=""></div>
_______________________________________________<br class="">Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br class="">Post to     : <a href="mailto:openstack@lists.openstack.org" class="">openstack@lists.openstack.org</a><br class="">Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br class=""></div></blockquote></div><br class=""></body></html>