Floating IPs from other tenants are listed when with admin tenant

Bug #1226224 reported by Akihiro Motoki
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Akihiro Motoki
Grizzly
Fix Released
Medium
Julie Pichon

Bug Description

From bug 1212256,

Same problem seems to exist with the Floating IP tab in the Access and Security panel. It is showing all floating IP addresses assigned to any tenant when the user has the admin role assigned to it.

This can be fixed by updating api/neutron.py FlaotingIPManager

Tags: neutron
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/46804

Changed in horizon:
status: New → In Progress
Akihiro Motoki (amotoki)
Changed in horizon:
importance: Undecided → Medium
Julie Pichon (jpichon)
tags: added: grizzly-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/46804
Committed: http://github.com/openstack/horizon/commit/3827a7e73ab1daf317e3fbf903a57c31f95bf293
Submitter: Jenkins
Branch: master

commit 3827a7e73ab1daf317e3fbf903a57c31f95bf293
Author: Akihiro MOTOKI <email address hidden>
Date: Tue Sep 17 05:01:19 2013 +0900

    Don't display non-tenant Floating IP in Floating IP project tab

    Previously Floating IPs from all tenants are displayed when logged
    in as a user with admin role and Neutron is enabled. Neutron API
    returns resources from all tenants when the API is called with admin
    role, so we need to call the API with additional filter parameter to
    limit the results to a given tenant.

    Closes-Bug: #1226224
    Change-Id: I47ddf77cd3c5d4c6141a67cb32c22cc917b485e6

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/grizzly)

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/50406

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/grizzly)

Reviewed: https://review.openstack.org/50406
Committed: http://github.com/openstack/horizon/commit/3f81d70d4b34ecd02576bd368740ee64f0333357
Submitter: Jenkins
Branch: stable/grizzly

commit 3f81d70d4b34ecd02576bd368740ee64f0333357
Author: Akihiro MOTOKI <email address hidden>
Date: Tue Sep 17 05:01:19 2013 +0900

    Don't display non-tenant Floating IP in Floating IP project tab

    Previously Floating IPs from all tenants are displayed when logged
    in as a user with admin role and Neutron is enabled. Neutron API
    returns resources from all tenants when the API is called with admin
    role, so we need to call the API with additional filter parameter to
    limit the results to a given tenant.

    Conflicts:
     openstack_dashboard/api/neutron.py
    (cherry picked from commit 3827a7e73ab1daf317e3fbf903a57c31f95bf293)

    Closes-Bug: #1226224
    Change-Id: I47ddf77cd3c5d4c6141a67cb32c22cc917b485e6

Thierry Carrez (ttx)
Changed in horizon:
milestone: havana-rc1 → 2013.2
Alan Pevec (apevec)
tags: removed: grizzly-backport-potential
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.