Can't display port list on a shared network in "Manage Floating IP Associations" page
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Kevin Benton | ||
Juno |
Fix Released
|
Medium
|
Kevin Benton |
Bug Description
I used below command to configure floating IP. Juno on CentOS 7.
neutron net-create public --shared --router:external True --provider:
neutron subnet-create public --name public-subnet \
--allocation-pool start=125.
--disable-dhcp --gateway 125.2.249.1 --dns-nameserver 125.1.166.20 125.2.249.0/24
neutron net-create --shared OAM120 \
--provider:
neutron subnet-create --name oam120-subnet \
--allocation-pool start=192.
--gateway 192.168.120.254 --dns-nameserver 10.1.1.1 --dns-nameserver 125.1.166.20 OAM120 192.168.120.0/24
neutron router-create my-router
neutron router-
neutron router-gateway-set my-router public
Just checked the dashborad code, It seems that there are some errors in below code.
/usr/share/
def _get_reachable_
# Retrieve subnet list reachable from external network
ext_net_ids = [ext_net.id for ext_net in self.list_pools()]
gw_routers = [r.id for r in router_
return reachable_subnets
Why only list "device_owner = 'network:
Here is my work around:
diff output:
/usr/share/
[root@jn-controller openstack-
413,415c415
< if ((p.device_owner ==
< 'network:
< and (p.device_id in gw_routers))])
---
> if (p.device_
tags: | added: juno-backport-potential |
tags: | added: neutron |
Changed in horizon: | |
assignee: | Vincent Untz (vuntz) → Thomas Bechtold (toabctl) |
Changed in horizon: | |
status: | In Progress → Fix Released |
Changed in horizon: | |
status: | Fix Released → In Progress |
Changed in horizon: | |
assignee: | Thomas Bechtold (toabctl) → Akihiro Motoki (amotoki) |
Changed in horizon: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | kilo-3 → 2015.1.0 |
tags: | removed: in-stable-juno juno-backport-potential |
I think this is likely a regression introduced by the fix from https:/ /bugs.launchpad .net/horizon/ +bug/1388305