← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1596162] [NEW] lbaasv2:Member can be created with the same ip as vip in loadbalancer

 

Public bug reported:

Create a loadbalancer:
[root@CrtlNode247 ~(keystone_admin)]# neutron lbaas-loadbalancer-show ebe0a748-7797-44fa-be09-1890ca2f5c1f
+---------------------+------------------------------------------------+
| Field               | Value                                          |
+---------------------+------------------------------------------------+
| admin_state_up      | True                                           |
| description         |                                                |
| id                  | ebe0a748-7797-44fa-be09-1890ca2f5c1f           |
| listeners           | {"id": "3cfe5262-7e25-4433-a342-93eb118049f9"} |
|                     | {"id": "a7c014d4-8c57-43ee-aeab-539847a37f43"} |
|                     | {"id": "794efa5b-1e5d-4182-857a-6d8415973007"} |
|                     | {"id": "6b64350e-335f-4aa5-b2dd-e86adcdbc0b3"} |
| name                | lb1                                            |
| operating_status    | ONLINE                                         |
| provider            | zxveglb                                        |
| provisioning_status | ACTIVE                                         |
| tenant_id           | 6403670bcb0f45cba4cb732a9a936da4               |
| vip_address         | 193.168.1.200                                  |
| vip_port_id         | f401e0ae-2537-4018-9252-742c16fc22ef           |
| vip_subnet_id       | 73bee51e-7ea3-44ea-8d98-cf778cd171e0           |
+---------------------+------------------------------------------------+

vip address is 193.168.1.200.
Then create a listener and pool.
Then create a member,the ip of member is assigned to 193.168.1.200
[root@CrtlNode247 ~(keystone_admin)]# neutron lbaas-member-create --subnet 73bee51e-7ea3-44ea-8d98-cf778cd171e0 --address 193.168.1.200 --protocol-port 80 pool1
Created a new member:
+----------------+--------------------------------------+
| Field          | Value                                |
+----------------+--------------------------------------+
| address        | 193.168.1.200                        |
| admin_state_up | True                                 |
| id             | e377f7a5-e2d8-493d-ad61-c2ab25ed7c0b |
| protocol_port  | 80                                   |
| subnet_id      | 73bee51e-7ea3-44ea-8d98-cf778cd171e0 |
| tenant_id      | 6403670bcb0f45cba4cb732a9a936da4     |
| weight         | 1                                    |
+----------------+--------------------------------------+
It runs OK.

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  lbaasv2:Member can be created with the same ip as vip in loadbalancer

Status in neutron:
  New

Bug description:
  Create a loadbalancer:
  [root@CrtlNode247 ~(keystone_admin)]# neutron lbaas-loadbalancer-show ebe0a748-7797-44fa-be09-1890ca2f5c1f
  +---------------------+------------------------------------------------+
  | Field               | Value                                          |
  +---------------------+------------------------------------------------+
  | admin_state_up      | True                                           |
  | description         |                                                |
  | id                  | ebe0a748-7797-44fa-be09-1890ca2f5c1f           |
  | listeners           | {"id": "3cfe5262-7e25-4433-a342-93eb118049f9"} |
  |                     | {"id": "a7c014d4-8c57-43ee-aeab-539847a37f43"} |
  |                     | {"id": "794efa5b-1e5d-4182-857a-6d8415973007"} |
  |                     | {"id": "6b64350e-335f-4aa5-b2dd-e86adcdbc0b3"} |
  | name                | lb1                                            |
  | operating_status    | ONLINE                                         |
  | provider            | zxveglb                                        |
  | provisioning_status | ACTIVE                                         |
  | tenant_id           | 6403670bcb0f45cba4cb732a9a936da4               |
  | vip_address         | 193.168.1.200                                  |
  | vip_port_id         | f401e0ae-2537-4018-9252-742c16fc22ef           |
  | vip_subnet_id       | 73bee51e-7ea3-44ea-8d98-cf778cd171e0           |
  +---------------------+------------------------------------------------+

  vip address is 193.168.1.200.
  Then create a listener and pool.
  Then create a member,the ip of member is assigned to 193.168.1.200
  [root@CrtlNode247 ~(keystone_admin)]# neutron lbaas-member-create --subnet 73bee51e-7ea3-44ea-8d98-cf778cd171e0 --address 193.168.1.200 --protocol-port 80 pool1
  Created a new member:
  +----------------+--------------------------------------+
  | Field          | Value                                |
  +----------------+--------------------------------------+
  | address        | 193.168.1.200                        |
  | admin_state_up | True                                 |
  | id             | e377f7a5-e2d8-493d-ad61-c2ab25ed7c0b |
  | protocol_port  | 80                                   |
  | subnet_id      | 73bee51e-7ea3-44ea-8d98-cf778cd171e0 |
  | tenant_id      | 6403670bcb0f45cba4cb732a9a936da4     |
  | weight         | 1                                    |
  +----------------+--------------------------------------+
  It runs OK.

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


Follow ups