Fail to add subnet to router if this subnet already add to this router

Bug #1417892 reported by tinytmy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
tinytmy

Bug Description

When we already add the subnet to router, if we click 'Add Interface' again,
we can see the subnet also can select, but if we real to add the subnet, it
report a error. We can hidden the subnet if it already add to the router.

Error: Failed to add_interface: Bad router request: Router already has a port
on subnet d5394fc5-1295-43ed-9336-0362ced9b8d6

Revision history for this message
tinytmy (tangmeiyan77) wrote :
Changed in horizon:
assignee: nobody → tinytmy (tangmeiyan77)
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/154766

Changed in horizon:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/154766
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=ca596187a8cb9009dc1a6c8dffada97f651861df
Submitter: Jenkins
Branch: master

commit ca596187a8cb9009dc1a6c8dffada97f651861df
Author: tinytmy <email address hidden>
Date: Mon Feb 9 21:37:22 2015 +0800

    filter the subnets which already in the router

    When we already add the subnet to router,
    if we click 'Add Interface' again, we can see
    the subnet also can select, but if we real to
    add the subnet, it report a error. We can hidden
    the subnet if it already add to the router.

    Closes-bug:#1417892

    Change-Id: I485608d267b9b235c1e83a990e330dd1ca98f17e

Changed in horizon:
status: In Progress → Fix Committed
Changed in horizon:
importance: Undecided → Low
milestone: none → liberty-1
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: liberty-1 → 8.0.0
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.