← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1405135] Re: Neutron lbaas can't update vip session-persistence's cookie_name

 

** Changed in: neutron
     Assignee: Dongcan Ye (hellochosen) => (unassigned)

** Changed in: neutron
       Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1405135

Title:
  Neutron lbaas can't update vip  session-persistence's cookie_name

Status in neutron:
  Invalid

Bug description:
  When I want to update loadblance vip session_persistence's
  cookie_name, neutron-client returns ok, but the database still shows
  NULL.

  Show the vip info:
  $ neutron lb-vip-show 38f4d333-66a6-4012-8edf-b8549238aa22
  +---------------------+--------------------------------------+
  | Field               | Value                                |
  +---------------------+--------------------------------------+
  | address             | 10.10.136.62                         |
  | admin_state_up      | True                                 |
  | connection_limit    | -1                                   |
  | description         |                                      |
  | id                  | 38f4d333-66a6-4012-8edf-b8549238aa22 |
  | name                | ye_vip                               |
  | pool_id             | 7f4c278b-1630-4299-9478-b8653d345ec6 |
  | port_id             | d213d0e6-557d-4b10-8ee9-b2c70ccdc7a8 |
  | protocol            | HTTP                                 |
  | protocol_port       | 80                                   |
  | session_persistence | {"type": "SOURCE_IP"}                |
  | status              | ACTIVE                               |
  | status_description  |                                      |
  | subnet_id           | b5017991-b63c-4bd0-a7e5-b3eaa8d81c23 |
  | tenant_id           | 5b969b39b06a4528bbd4198315377eb0     |

  Use lb-vip-update command update cookie_name[1]:
  $ neutron lb-vip-update 38f4d333-66a6-4012-8edf-b8549238aa22  --session-persistence type=dict type="SOURCE_IP",[cookie_name="test"]

  
  In database, as we see it still NULL.

  mysql> select * from sessionpersistences where vip_id="38f4d333-66a6-4012-8edf-b8549238aa22";
  +--------------------------------------+-----------+-------------+
  | vip_id                               | type      | cookie_name |
  +--------------------------------------+-----------+-------------+
  | 38f4d333-66a6-4012-8edf-b8549238aa22 | SOURCE_IP | NULL        |
  +--------------------------------------+-----------+-------------+
  1 row in set (0.00 sec)

  [1]https://wiki.openstack.org/wiki/Neutron/LBaaS/CLI

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1405135/+subscriptions


References