LBaaS VIP does not work with IPv6 addresses because haproxy cannot bind socket
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
venkata anil |
Bug Description
Description of problem:
=======
IPv6 VIP remains in ERROR state due to haproxy cannot bind socket.
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
neutron.
Version-Release number of selected component (if applicable):
=======
openstack-
haproxy-
How reproducible:
=================
2/2
Steps to Reproduce:
===================
1. Spawn Two instances and wait for them to become active
Via tenant_a:
nova boot tenant_a_instance --flavor m1.small --image <image_id> --min-count 2 --key-name tenant_a_keypair --security-groups default --nic net-id=
2. Retrive your instances IPv6 addresses, tenant id and the subnet id you are about to use.
You may use any IPv6 subnet, in this example we'll use tenant_
# nova list | awk '/tenant_
# neutron subnet-list | awk '/tenant_
3. Create a LBaaS pool
# neutron lb-pool-create --lb-method ROUND_ROBIN --name Ipv6_LBaaS --protocol HTTP --subnet-id c54f8745-
4. Add members to the pool
# neutron lb-member-create Ipv6_LBaaS --address 2001:65:
# neutron lb-member-create Ipv6_LBaaS --address 2001:65:
5. Create a VIP:
# neutron lb-vip-create Ipv6_LBaaS --name Ipv6_LBaaS_VIP --protocol-port 80 --protocol HTTP --subnet-id 0458273a-
6. Check the VIP status:
# neutron lb-vip-show Ipv6_LBaaS_VIP | grep status
Actual results:
===============
1. status = ERROR
2. lbaas-agent.log (attached):
TRACE neutron.
Expected results:
=================
IPv6 VIP should work.
Additional info:
================
1. Tested with RHEL7
2. haproxy configuration:
global
daemon
user nobody
group haproxy
log /dev/log local0
log /dev/log local1 notice
stats socket /var/lib/
defaults
log global
retries 3
option redispatch
timeout connect 5000
timeout client 50000
timeout server 50000
frontend cb833240-
option tcplog
bind 2001:65:
mode http
option forwardfor
backend 2c18a738-
mode http
balance roundrobin
option forwardfor
timeout check 3s
option httpchk GET /
http-check expect rstatus 200
server a2b475f0-
server ab96b468-
Changed in neutron: | |
assignee: | nobody → Sridhar Gaddam (sridhargaddam) |
tags: | added: ipv6 |
Changed in neutron: | |
status: | In Progress → Fix Committed |
Changed in neutron: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | liberty-1 → 7.0.0 |
Hello Nir,
May I know the haproxy version you are using?
#haproxy -v
--Sridhar.