yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #08832
[Bug 1244126] Re: "neutron lb-pool-list" running by admin returns also non-admin load balancer pools which appear later in horizon's admin project
** Changed in: horizon
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/1244126
Title:
"neutron lb-pool-list" running by admin returns also non-admin load
balancer pools which appear later in horizon's admin project
Status in OpenStack Dashboard (Horizon):
Fix Released
Status in OpenStack Dashboard (Horizon) havana series:
In Progress
Status in OpenStack Neutron (virtual network service):
Won't Fix
Bug description:
Version
=======
Havana on rhel
Description
===========
"neutron lb-pool-list" should return the list of load balancer pools in the user's tenant, however when running it with admin - it prints the list of all tenant's pools.
The side effect is that the horizon's "Project"->"Load Balancers" tab while logging-in with the admin user contains load balancers that has nothing to do with the admin tenant.
# keystone tenant-list
+----------------------------------+----------+---------+
| id | name | enabled |
+----------------------------------+----------+---------+
| abd7d9c464814aff98652c3e235a799b | admin | True |
| e86dccb5c751465a8d338f6e3aeb8228 | services | True |
| 43029e52371247ca9dc771780a8f41b5 | vlan_211 | True |
| 0b3607a0807a4d928b0eab794b291198 | vlan_212 | True |
| 783c402f63c94545b270177661631eac | vlan_213 | True |
| 8bfe5effe4e942c2a5d4f41e46f2e09d | vlan_214 | True |
+----------------------------------+----------+---------+
# neutron lb-pool-list
+--------------------------------------+---------------+-------------+----------+----------------+--------+
| id | name | lb_method | protocol | admin_state_up | status |
+--------------------------------------+---------------+-------------+----------+----------------+--------+
| 2c16a5cf-6ee7-4948-85cd-0faa9fc5eef4 | pool_vlan_214 | ROUND_ROBIN | HTTP | True | ACTIVE |
+--------------------------------------+---------------+-------------+----------+----------------+--------+
# neutron lb-pool-list --all-tenant
+--------------------------------------+---------------+-------------+----------+----------------+--------+
| id | name | lb_method | protocol | admin_state_up | status |
+--------------------------------------+---------------+-------------+----------+----------------+--------+
| 2c16a5cf-6ee7-4948-85cd-0faa9fc5eef4 | pool_vlan_214 | ROUND_ROBIN | HTTP | True | ACTIVE |
+--------------------------------------+---------------+-------------+----------+----------------+--------+
# neutron lb-pool-list --tenant-id abd7d9c464814aff98652c3e235a799b
<empty output>
# neutron lb-pool-list --tenant-id 8bfe5effe4e942c2a5d4f41e46f2e09d
+--------------------------------------+---------------+-------------+----------+----------------+--------+
| id | name | lb_method | protocol | admin_state_up | status |
+--------------------------------------+---------------+-------------+----------+----------------+--------+
| 2c16a5cf-6ee7-4948-85cd-0faa9fc5eef4 | pool_vlan_214 | ROUND_ROBIN | HTTP | True | ACTIVE |
+--------------------------------------+---------------+-------------+----------+----------------+--------+
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1244126/+subscriptions