← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1725656] Re: FIP list_target_id_by_instance should check IP version of IP address of the port

 

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

commit 07e2e0af921ad6b3f1f40b526274ec96faea3f45
Author: Akihiro Motoki <amotoki@xxxxxxxxx>
Date:   Sat Oct 21 11:30:04 2017 +0000

    Make list_targets_by_instance look up IPv4 address as target
    
    Previously list_targets_by_instance extracts the first IP address
    of a network port. There is no guarantee that the first IP address
    is IPv4 address. It may be an IPv6 address, but IPv6 cannot be used
    as a target of floating IP.
    
    Closes-Bug: #1725656
    Change-Id: Ibd958dde42731aec2a2d80c0d172b7bfbb5c954e


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1725656

Title:
  FIP list_target_id_by_instance should check IP version of IP address
  of the port

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  FloatingIpManager.list_target_id_by_instance() returns a list of
  target neutron ports for FIP association, but it just extract the
  first IP address of each port. Only IPv4 address of a port can be
  associated with FIP, so the IP version check is mandatory.

  The same thing applies to FloatingIpManager.get_target_id_by_instance.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1725656/+subscriptions


References