yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #32887
[Bug 1454986] [NEW] neutron lbaas-member-list with pool id shows all members
Public bug reported:
In neutron, when using cli command "lbaas-member-list" with pool id as a parameter expecting to get only members of the specific pool, all members are shown
same problem for lbaas-member-show CLI command
members are shown whithout minding their pool belonging
Example:
mysql> select id, pool_id from lbaas_members;
+--------------------------------------+--------------------------------------+
| id | pool_id |
+--------------------------------------+--------------------------------------+
| 479db14d-6368-4a9a-9892-4c19dc07c291 | 4ca0a46f-640c-497f-9860-89f705d955f8 |
| b0b6b998-6031-4dfb-b6b3-0a77a3052d1c | 4ca0a46f-640c-497f-9860-89f705d955f8 |
| dcdf3b94-16c7-4d3a-a80c-24ce727fb508 | 95e87b8f-2d6e-442d-b761-87ea3a446f17 |
| b77a2059-7950-4355-9409-1af7bef9057f | 95e87b8f-2d6e-442d-b761-87ea3a446f17 |
+--------------------------------------+--------------------------------------+
First 2 members belong to pool 4ca0a46f-640c-497f-9860-89f705d955f8
Last 2 members belong to pool 95e87b8f-2d6e-442d-b761-87ea3a446f17
CLI commands output:
neutron lbaas-pool-list
+--------------------------------------+------------+----------+----------------+
| id | name | protocol | admin_state_up |
+--------------------------------------+------------+----------+----------------+
| 4ca0a46f-640c-497f-9860-89f705d955f8 | HTTP pool | HTTP | True |
| 95e87b8f-2d6e-442d-b761-87ea3a446f17 | HTTPS pool | HTTP | True |
+--------------------------------------+------------+----------+----------------+
neutron lbaas-member-list 4ca0a46f-640c-497f-9860-89f705d955f8
+--------------------------------------+---------------+---------------+--------+--------------------------------------+----------------+
| id | address | protocol_port | weight | subnet_id | admin_state_up |
+--------------------------------------+---------------+---------------+--------+--------------------------------------+----------------+
| 479db14d-6368-4a9a-9892-4c19dc07c291 | 192.168.23.3 | 80 | 1 | 2ed7e070-89bf-401d-b8d9-4a61522d0101 | True |
| b0b6b998-6031-4dfb-b6b3-0a77a3052d1c | 192.168.23.38 | 80 | 1 | 2ed7e070-89bf-401d-b8d9-4a61522d0101 | True |
| b77a2059-7950-4355-9409-1af7bef9057f | 192.168.23.40 | 80 | 1 | 2ed7e070-89bf-401d-b8d9-4a61522d0101 | True |
| dcdf3b94-16c7-4d3a-a80c-24ce727fb508 | 192.168.23.39 | 80 | 1 | 2ed7e070-89bf-401d-b8d9-4a61522d0101 | True |
+--------------------------------------+---------------+---------------+--------+--------------------------------------+----------------+
All members are shown
neutron lbaas-member-show 479db14d-6368-4a9a-9892-4c19dc07c291 95e87b8f-2d6e-442d-b761-87ea3a446f17
+----------------+--------------------------------------+
| Field | Value |
+----------------+--------------------------------------+
| address | 192.168.23.3 |
| admin_state_up | True |
| id | 479db14d-6368-4a9a-9892-4c19dc07c291 |
| protocol_port | 80 |
| subnet_id | 2ed7e070-89bf-401d-b8d9-4a61522d0101 |
| tenant_id | 2d83e8e0f4584e3cacab9b2c38ac9e5e |
| weight | 1 |
+----------------+--------------------------------------+
Same here, member is shown while it actually belongs to other pool
** Affects: neutron
Importance: Undecided
Status: New
** Tags: lbaas
** Description changed:
In neutron, when using cli command "lbaas-member-list" with pool id as a parameter expecting to get only members of the specific pool, all members are shown
- same problem for lbaas-member-list CLI command
- members are shown whithout minding theit pool belonging
+ same problem for lbaas-member-show CLI command
+ members are shown whithout minding their pool belonging
Example:
-
mysql> select id, pool_id from lbaas_members;
+--------------------------------------+--------------------------------------+
| id | pool_id |
+--------------------------------------+--------------------------------------+
| 479db14d-6368-4a9a-9892-4c19dc07c291 | 4ca0a46f-640c-497f-9860-89f705d955f8 |
| b0b6b998-6031-4dfb-b6b3-0a77a3052d1c | 4ca0a46f-640c-497f-9860-89f705d955f8 |
| dcdf3b94-16c7-4d3a-a80c-24ce727fb508 | 95e87b8f-2d6e-442d-b761-87ea3a446f17 |
| b77a2059-7950-4355-9409-1af7bef9057f | 95e87b8f-2d6e-442d-b761-87ea3a446f17 |
+--------------------------------------+--------------------------------------+
First 2 members belong to pool 4ca0a46f-640c-497f-9860-89f705d955f8
- Last 2 members belong to pool 95e87b8f-2d6e-442d-b761-87ea3a446f17
+ Last 2 members belong to pool 95e87b8f-2d6e-442d-b761-87ea3a446f17
CLI commands output:
neutron lbaas-pool-list
+--------------------------------------+------------+----------+----------------+
| id | name | protocol | admin_state_up |
+--------------------------------------+------------+----------+----------------+
| 4ca0a46f-640c-497f-9860-89f705d955f8 | HTTP pool | HTTP | True |
| 95e87b8f-2d6e-442d-b761-87ea3a446f17 | HTTPS pool | HTTP | True |
+--------------------------------------+------------+----------+----------------+
neutron lbaas-member-list 4ca0a46f-640c-497f-9860-89f705d955f8
+--------------------------------------+---------------+---------------+--------+--------------------------------------+----------------+
| id | address | protocol_port | weight | subnet_id | admin_state_up |
+--------------------------------------+---------------+---------------+--------+--------------------------------------+----------------+
| 479db14d-6368-4a9a-9892-4c19dc07c291 | 192.168.23.3 | 80 | 1 | 2ed7e070-89bf-401d-b8d9-4a61522d0101 | True |
| b0b6b998-6031-4dfb-b6b3-0a77a3052d1c | 192.168.23.38 | 80 | 1 | 2ed7e070-89bf-401d-b8d9-4a61522d0101 | True |
| b77a2059-7950-4355-9409-1af7bef9057f | 192.168.23.40 | 80 | 1 | 2ed7e070-89bf-401d-b8d9-4a61522d0101 | True |
| dcdf3b94-16c7-4d3a-a80c-24ce727fb508 | 192.168.23.39 | 80 | 1 | 2ed7e070-89bf-401d-b8d9-4a61522d0101 | True |
+--------------------------------------+---------------+---------------+--------+--------------------------------------+----------------+
All members are shown
neutron lbaas-member-show 479db14d-6368-4a9a-9892-4c19dc07c291 95e87b8f-2d6e-442d-b761-87ea3a446f17
+----------------+--------------------------------------+
| Field | Value |
+----------------+--------------------------------------+
| address | 192.168.23.3 |
| admin_state_up | True |
| id | 479db14d-6368-4a9a-9892-4c19dc07c291 |
| protocol_port | 80 |
| subnet_id | 2ed7e070-89bf-401d-b8d9-4a61522d0101 |
| tenant_id | 2d83e8e0f4584e3cacab9b2c38ac9e5e |
| weight | 1 |
+----------------+--------------------------------------+
Same here, member is shown while it actually belongs to other pool
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1454986
Title:
neutron lbaas-member-list with pool id shows all members
Status in OpenStack Neutron (virtual network service):
New
Bug description:
In neutron, when using cli command "lbaas-member-list" with pool id as a parameter expecting to get only members of the specific pool, all members are shown
same problem for lbaas-member-show CLI command
members are shown whithout minding their pool belonging
Example:
mysql> select id, pool_id from lbaas_members;
+--------------------------------------+--------------------------------------+
| id | pool_id |
+--------------------------------------+--------------------------------------+
| 479db14d-6368-4a9a-9892-4c19dc07c291 | 4ca0a46f-640c-497f-9860-89f705d955f8 |
| b0b6b998-6031-4dfb-b6b3-0a77a3052d1c | 4ca0a46f-640c-497f-9860-89f705d955f8 |
| dcdf3b94-16c7-4d3a-a80c-24ce727fb508 | 95e87b8f-2d6e-442d-b761-87ea3a446f17 |
| b77a2059-7950-4355-9409-1af7bef9057f | 95e87b8f-2d6e-442d-b761-87ea3a446f17 |
+--------------------------------------+--------------------------------------+
First 2 members belong to pool 4ca0a46f-640c-497f-9860-89f705d955f8
Last 2 members belong to pool 95e87b8f-2d6e-442d-b761-87ea3a446f17
CLI commands output:
neutron lbaas-pool-list
+--------------------------------------+------------+----------+----------------+
| id | name | protocol | admin_state_up |
+--------------------------------------+------------+----------+----------------+
| 4ca0a46f-640c-497f-9860-89f705d955f8 | HTTP pool | HTTP | True |
| 95e87b8f-2d6e-442d-b761-87ea3a446f17 | HTTPS pool | HTTP | True |
+--------------------------------------+------------+----------+----------------+
neutron lbaas-member-list 4ca0a46f-640c-497f-9860-89f705d955f8
+--------------------------------------+---------------+---------------+--------+--------------------------------------+----------------+
| id | address | protocol_port | weight | subnet_id | admin_state_up |
+--------------------------------------+---------------+---------------+--------+--------------------------------------+----------------+
| 479db14d-6368-4a9a-9892-4c19dc07c291 | 192.168.23.3 | 80 | 1 | 2ed7e070-89bf-401d-b8d9-4a61522d0101 | True |
| b0b6b998-6031-4dfb-b6b3-0a77a3052d1c | 192.168.23.38 | 80 | 1 | 2ed7e070-89bf-401d-b8d9-4a61522d0101 | True |
| b77a2059-7950-4355-9409-1af7bef9057f | 192.168.23.40 | 80 | 1 | 2ed7e070-89bf-401d-b8d9-4a61522d0101 | True |
| dcdf3b94-16c7-4d3a-a80c-24ce727fb508 | 192.168.23.39 | 80 | 1 | 2ed7e070-89bf-401d-b8d9-4a61522d0101 | True |
+--------------------------------------+---------------+---------------+--------+--------------------------------------+----------------+
All members are shown
neutron lbaas-member-show 479db14d-6368-4a9a-9892-4c19dc07c291 95e87b8f-2d6e-442d-b761-87ea3a446f17
+----------------+--------------------------------------+
| Field | Value |
+----------------+--------------------------------------+
| address | 192.168.23.3 |
| admin_state_up | True |
| id | 479db14d-6368-4a9a-9892-4c19dc07c291 |
| protocol_port | 80 |
| subnet_id | 2ed7e070-89bf-401d-b8d9-4a61522d0101 |
| tenant_id | 2d83e8e0f4584e3cacab9b2c38ac9e5e |
| weight | 1 |
+----------------+--------------------------------------+
Same here, member is shown while it actually belongs to other pool
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1454986/+subscriptions
Follow ups
References