** Changed in: neutron
       Status: Fix Committed => Fix Released

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

Title:
  lbaas: vip connection limit can be set to value less than -1 in
  openstack cli

Status in neutron:
  Fix Released

Bug description:
  In openstack kilo setup with ubuntu 14.04,  in openstack neutron cli,
  lb vip connection limit can be set to a value less than -1, this is
  forbidden via dashboard.

  1. create a lb pool in admin tenant.
  2. create vip for this pool and set connection limit to -2.

  
  [root@nsj1 ~]# neutron lb-vip-create --connection-limit -2 --description vip  
--name lb_vip --protocol-port 80 --protocol TCP --subnet-id 
0f27a0a7-5a43-48f6-bcd3-e03dd7b39254 uat-lb-alan
  Created a new vip:
  +---------------------+--------------------------------------+
  | Field               | Value                                |
  +---------------------+--------------------------------------+
  | address             | 10.90.2.19                           |
  | admin_state_up      | True                                 |
  | connection_limit    | -2                                   |                
>>>>>>>>>>>>>>>on dashboard, if the value is less than -1, it will rejected.
  | description         | vip                                  |
  | id                  | 344a0679-21ec-4ec5-87f9-87441b246fd8 |
  | name                | lb_vip                               |
  | pool_id             | eb912b41-42e5-462c-8391-608f919a528b |
  | port_id             | 7d4a41bf-f655-4721-8914-b24c54176b04 |
  | protocol            | TCP                                  |
  | protocol_port       | 80                                   |
  | session_persistence |                                      |
  | status              | PENDING_CREATE                       |
  | status_description  |                                      |
  | subnet_id           | 0f27a0a7-5a43-48f6-bcd3-e03dd7b39254 |
  | tenant_id           | b901c52cb2984ad0bc9914140e3ba54d     |
  +---------------------+--------------------------------------+

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to