Horizon displays floating IPs to allocate from unreachable external networks of other tenants.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Expired
|
Undecided
|
Unassigned | ||
neutron |
Invalid
|
Medium
|
Eugene Nikanorov |
Bug Description
Description of problem:
=======
Horizon displays floating IPs to allocate from unreachable external networks of other tenants.
Those pools are not reachable and cannot be used by a non related tenant.
Version-Release number of selected component (if applicable):
=======
Grizzly, python-
How reproducible:
=================
Always.
Steps to Reproduce:
===================
1. Have two tenants (admin tenant, test tenant)
2. Network for admin tenant:
- Create network named: internal with the subnet 192.168.1.0/24
- Create network named: external with the subnet 10.10.10.0/24 check External Network in Admin tab for this network.
- Create Router named: Router1, Set gateway network: external
3. Network for demo tenant:
- Create network named: internal2 with the subnet 192.168.2.0/24
- Create network named: external2 with the subnet 11.11.11.0/24 check External Network in Admin tab for this network.
- Create Router named: Router2, Set gateway network: external2
4. Launch an instance in admin tenant, attach the 'internal' network.
5. Associate Floating IP to that instance.
5. Click + and select the pool of the other tenant: external2.
6. Click Associate
Actual results:
===============
The IP address (11.11.11.x) suggested belongs to the other tenant pool: external2, which shouldn't be accessible.
Association fails with the following error:
Error: External network d1e2a98f-
Error: Unable to associate IP address 11.11.11.3.
Expected results:
=================
Only IPs allocated to the current tenant should be listed.
Additional Info:
================
I've yet to test if this reproduces in Havana.
tags: | added: neutron |
Changed in neutron: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: horizon |
description: | updated |
Changed in horizon: | |
assignee: | nobody → Akihiro Motoki (amotoki) |
This is how the network topology should look like.