[Openstack] LBaaS on Juno
Cristina Aiftimiei
caifti at gmail.com
Fri May 1 21:21:41 UTC 2015
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) 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
Welcome to webserver1
# ip netns exec qlbaas-3ed76c5b-681b-46dc-80ac-83c6686adc18 curl
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150501/c60218c2/attachment.html>
More information about the Openstack
mailing list