some link between router and an external network is not displayed in network-topology pane

Bug #1131082 reported by Akihiro Motoki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Toshiyuki Hayashi

Bug Description

When a project has two routers (router1 and router2) and both routers connect to an external network "ext_net",
a link between router1 and ext_net is not displayed.
The screenshot is here: https://www.dropbox.com/s/e7yvj6tvnvkj8xl/network-topology.PNG

The detail of the resources of quantum is available at http://paste.openstack.org/show/32188/

Tags: quantum
Akihiro Motoki (amotoki)
summary: - router is not connected when multiple routers are connected to an
- external network
+ router is not connected in network-topology pane when multiple routers
+ are connected to an external network
summary: - router is not connected in network-topology pane when multiple routers
- are connected to an external network
+ some link between router and an external network is not displayed in
+ network-topology pane
Changed in horizon:
status: New → Confirmed
Akihiro Motoki (amotoki)
tags: added: quantum
Revision history for this message
Toshiyuki Hayashi (hayashi) wrote :

I checked this issue, but it wasn't replicated in my environment.
https://dl.dropbox.com/u/7098/stuff/nt.png
both routers connected to external network.

Could you teach me the detail process to replicate this bug?

Revision history for this message
Akihiro Motoki (amotoki) wrote :

I checked the more detail condition to reproduce this issue.

Could you login with 'demo' user rather than 'admin' user?
In my test, this issue only happens when I logged in with 'demo' user.

In a regular user, a router gateway port is not seen to the user. It may be the cause.
If the network topology is constructed from a port list, it is reasonable that a link between ext_net and a router is not displayed. We can know an external network of a router from router['external_gateway_info'].get('network_id').

I hope it help you.

Revision history for this message
Toshiyuki Hayashi (hayashi) wrote :

Thank you very much for the information. it really helps me. I'll fix this bug soon.

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/24115

Changed in horizon:
assignee: nobody → Toshiyuki Hayashi (hayashi)
status: Confirmed → In Progress
Changed in horizon:
importance: Undecided → Low
milestone: none → grizzly-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/24115
Committed: http://github.com/openstack/horizon/commit/9fcbbe39bd958cee46a687e45aed884da5e86d17
Submitter: Jenkins
Branch: master

commit 9fcbbe39bd958cee46a687e45aed884da5e86d17
Author: Toshiyuki Hayashi <email address hidden>
Date: Mon Mar 11 11:14:30 2013 -0700

    Display port link between router and extra network

    A port link between router and extra network was not displayed
    with demo account. This commit fixed the bug. Also remove dead
    link when port has no link.

    fixes bug 1131082

    Change-Id: I50c469e55e0b8435b95f03b191a04e27017fc37e

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: grizzly-rc1 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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