Setting session_persistence in lbaas vip did not work

Bug #1380771 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R1.1
Fix Committed
Medium
Divakar Dharanalakota
Trunk
Fix Committed
Medium
Divakar Dharanalakota

Bug Description

R1.10 Build 52 Ubuntu multi-node setup running on Icehouse

I had a sshpool with a vip and I updated the vip with session_persistence set to source_ip/app_cookie etc

There was no change in the haproxy config file

root@nodec22:~# neutron lb-pool-list
+--------------------------------------+----------+--------------+-----------+----------+----------------+--------+
| id | name | provider | lb_method | protocol | admin_state_up | status |
+--------------------------------------+----------+--------------+-----------+----------+----------------+--------+
| a479418d-8133-4a97-bd18-23bf8872de4d | sshpool1 | opencontrail | SOURCE_IP | TCP | True | ACTIVE |
+--------------------------------------+----------+--------------+-----------+----------+----------------+--------+
root@nodec22:~# neutron lb-vip-update sshvip --session_persistence type=dict type=APP_COOKIE
Updated vip: sshvip
root@nodec22:~#

haproxy config for the above :

frontend 8e393e98-ac0f-4172-b65a-18c5f374819c
    bind 201.1.1.3:22
    mode tcp
    default_backend a479418d-8133-4a97-bd18-23bf8872de4d

backend a479418d-8133-4a97-bd18-23bf8872de4d
    mode tcp
    balance source
    option httpchk GET /
    http-check expect status 200
    server 8a79e62f-8bcc-47ef-8f19-c10a65d775aa 200.1.1.2:22 weight 1 check inter 5000 rise 1 fall 2
    server c3d55b6a-d7d7-4626-800e-5d0f10a7f510 200.1.1.3:22 weight 1 check inter 5000 rise 1 fall 2

Revision history for this message
Rudra Rugge (rrugge) wrote :
Revision history for this message
Divakar Dharanalakota (ddivakar) wrote :

Commit 890b3d0b2c51d7587e9d9b85eb609148cd49b27b has fixed this issue.
-Divakar

Revision history for this message
Divakar Dharanalakota (ddivakar) wrote :

Commit I44a2b5c750f2ab62221d5bd43925df3de2dc85cd has this the issue in mainline.
-Divakar

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/3836
Committed: http://github.org/Juniper/contrail-controller/commit/f41bf2a79fd85403241ee1113ceb11780afcfd8a
Submitter: Zuul
Branch: master

commit f41bf2a79fd85403241ee1113ceb11780afcfd8a
Author: Divakar <email address hidden>
Date: Tue Oct 14 04:38:21 2014 -0700

Bug:#1380771 Adding the load balancer session persistence parameters fro Service Instance's Virtual ip. The session persistense type and name are written to haproxy configuration file in the backend section

Change-Id: I44a2b5c750f2ab62221d5bd43925df3de2dc85cd

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.