← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1574476] Re: lbaasv2 session_persistence or session-persistence?

 

** Project changed: neutron => python-neutronclient

** Changed in: python-neutronclient
       Status: New => Confirmed

** Changed in: python-neutronclient
   Importance: Undecided => Low

** Tags added: low-hanging-fruit

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

Title:
  lbaasv2 session_persistence or session-persistence?

Status in python-neutronclient:
  Confirmed

Bug description:
  problem is in Kilo neutron-lbaas branch.

  When we create a Lbaas pool with --session_persistence it configured ok,
  we create a Lbaas pool with --session-persistence it configured failed.

  But we update a Lbaas pool with --session-persistence  or
  --session_persistence it updated OK.

  
  [root@opencos2 ~(keystone_admin)]# 
  [root@opencos2 ~(keystone_admin)]# neutron lbaas-pool-create --listener listener500-1 --protocol HTTP --lb-algorithm SOURCE_IP pool500-1 --session-persistence type=dict type='SOURCE_IP'
  Invalid values_specs type=SOURCE_IP
  [root@opencos2 ~(keystone_admin)]# 
  [root@opencos2 ~(keystone_admin)]# neutron lbaas-pool-create --listener listener500-1 --protocol HTTP --lb-algorithm SOURCE_IP pool500-1 --session_persistence type=dict type='SOURCE_IP'
  Created a new pool:
  +---------------------+------------------------------------------------+
  | Field               | Value                                          |
  +---------------------+------------------------------------------------+
  | admin_state_up      | True                                           |
  | description         |                                                |
  | healthmonitor_id    |                                                |
  | id                  | 64bed1f2-ff02-4b12-bdfa-1904079786be           |
  | lb_algorithm        | SOURCE_IP                                      |
  | listeners           | {"id": "162c70aa-175d-473a-b13a-e3c335a0a9e1"} |
  | members             |                                                |
  | name                | pool500-1                                      |
  | protocol            | HTTP                                           |
  | session_persistence | {"cookie_name": null, "type": "SOURCE_IP"}     |
  | tenant_id           | be58eaec789d44f296a65f96b944a9f5               |
  +---------------------+------------------------------------------------+
  [root@opencos2 ~(keystone_admin)]# 
  [root@opencos2 ~(keystone_admin)]# 
  [root@opencos2 ~(keystone_admin)]# neutron lbaas-pool-update pool500-1 --session_persistence type=dict type='HTTP_COOKIE'
  Updated pool: pool500-1
  [root@opencos2 ~(keystone_admin)]# 
  [root@opencos2 ~(keystone_admin)]# neutron lbaas-pool-update pool500-1 --session-persistence type=dict type='SOURCE_IP'
  Updated pool: pool500-1
  [root@opencos2 ~(keystone_admin)]# 
  [root@opencos2 ~(keystone_admin)]#

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-neutronclient/+bug/1574476/+subscriptions


References