Associate floating IP pop up shows all the existing ports in the 'port to be associated to' dropdown

Bug #1630412 reported by kiran-vemuri
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Akihiro Motoki

Bug Description

Description:
------------
When I try to associate floating IP by clicking the instance 'actions' drop down and select 'associate floating IP'. In the pop up, in the "Port to be associated" drop down, I see a list of ports of all the instances.

Expected Behaviour:
------------------
Since I am selecting the 'associate floating IP' option by clicking on a specific instance's actions, for a user it makes more sense to show the ports that are related to that specific instance.

Environment:
-----------
OpenStack Mitaka on Ubuntu 14.04 server

Reproduction Steps:
-------------------

Steps from horizon:
1. Create a network/subnet.
2. Create 2 instances attached to the above subnet
3. Click on instance1's actions to associate floating IP and click on the 'ports to be associated' drop down
4. it displays a list of all existing ports related to all the instances

Please refer to the attached screenshots for more details

Thanks,
Kiran Vemuri

Tags: neutron
Revision history for this message
kiran-vemuri (kiran-vemuri) wrote :
Revision history for this message
sean redmond (sean-redmond1) wrote :

I confirmed I can see this in the ocata release, I think this should also filter out IPV6 addresses from the list.

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

#2 is a separate topic. It is reported as bug 1703360.

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

The bug report is still valid as of Queens cycle. It is worth improved.

tags: added: neutron
Changed in horizon:
importance: Undecided → Medium
status: New → Confirmed
Changed in horizon:
assignee: nobody → Akihiro Motoki (amotoki)
status: Confirmed → In Progress
Revision history for this message
Akihiro Motoki (amotoki) wrote :
Ying Zuo (yingzuo)
Changed in horizon:
milestone: none → queens-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/513922
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=d14fbc849e45e7a959c159d460715ece20013a31
Submitter: Zuul
Branch: master

commit d14fbc849e45e7a959c159d460715ece20013a31
Author: Akihiro Motoki <email address hidden>
Date: Sat Oct 21 10:50:48 2017 +0000

    FIP associate: Show only ports from a target server

    Previously when associating an FIP to a server, neutron ports which
    do not belong to a target server were also shown in the target list.
    It is clearer if only neutron ports connected to a target server
    are shown. This commit changes the logic to lookup FIP targets to
    achieve this.

    Closes-Bug: #1630412
    Change-Id: I9901b54e125b6bf09df86537c8308b2bfb1499f2

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 13.0.0.0b2

This issue was fixed in the openstack/horizon 13.0.0.0b2 development milestone.

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

Remote bug watches

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