floating ip on inactive port not shown in Horizon UI floating ip details

Bug #2047132 reported by Vincent Gerris
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
In Progress
Undecided
Unassigned

Bug Description

When setting up a port that is not bound and assinging a Floating IP (FIP) to it, the FIP gets associated but the Horizon UI does not show the IP of the port, instead it shows a - .

The terraform/tofu snippet for the setup:

resource "openstack_networking_floatingip_associate_v2" "fip_1" {
                  floating_ip = data.openstack_networking_floatingip_v2.fip_1.address
                  port_id = openstack_networking_port_v2.port_vip.id
                }
resource "openstack_networking_port_v2" "port_vip" {
                  name = "port_vip"
                  network_id = data.openstack_networking_network_v2.network_1.id
                  fixed_ip {
                    subnet_id = data.openstack_networking_subnet_v2.subnet_1.id
                    ip_address = "192.168.56.30"
                  }
                }

Example from UI :

 185.102.215.242 floatit stack1-config-barssl-3-hostany-bootstrap-1896c992-3e17-4fab-b084-bb642c517cbe 192.168.56.20 europe-se-1-1a-net0 Active
 193.93.250.171 - europe-se-1-1a-net0 Active

The top one is a port that is asigned to a host that looks as expected, the second is not and corresponds to the terraform snippet. ( it is being used as a floating IP internal for load balancing )

Expected is to see the IP 192.168.56.30 that is set at creation.

Revision history for this message
Vincent Gerris (vgerris) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/horizon/+/904172

Changed in horizon:
status: New → In Progress
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.