Public bug reported: A port whose device_owner is floatingip has an IPv6 fixed_ip. This is an old issue, but I haven't focused on it.
Steps to reproduce: 1.create an external network: openstack network create --provider-network-type vlan --provider-physical-network physnet1 --external pubbbb 2.create an ipv4 subnet: openstack subnet create --network pubbbb --subnet-range 172.133.10.0/24 pubbbb 3.create an ipv6 subnet: openstack subnet create --network pubbbb --ip-version 6 --subnet-range 2011::/64 --dhcp --ipv6-ra-mode dhcpv6-stateful --ipv6-address-mode dhcpv6-stateful pubbbb 4.create an floating ip with the external network: neutron floatingip-create pubbbb Created a new floatingip: +---------------------+--------------------------------------+ | Field | Value | +---------------------+--------------------------------------+ | created_at | 2024-10-15T03:05:20Z | | description | | | dns_domain | | | dns_name | | | extra_fields | {} | | fixed_ip_address | | | floating_ip_address | 172.133.10.43 | | floating_network_id | 63b02c2d-007b-4096-8923-f63a8c993b7b | | id | 9fb736b4-a0c3-429c-a59b-f82450d496e4 | | port_details | | | port_id | | | project_id | d2ee4ab6e0344563812cabb655aeb9c3 | | qos_policy_id | | | revision_number | 0 | | router_id | | | status | DOWN | | tags | | | tenant_id | d2ee4ab6e0344563812cabb655aeb9c3 | | updated_at | 2024-10-15T03:05:20Z | +---------------------+--------------------------------------+ 5.we can find the floating ip port has an ipv6 address: neutron port-show 77e4caa2-2953-48d2-bbfe-9d658de42a35 +-----------------------+--------------------------------------------------------------------------------------+ | Field | Value | +-----------------------+--------------------------------------------------------------------------------------+ | admin_state_up | True | | allowed_address_pairs | | | binding:host_id | | | binding:profile | {} | | binding:vif_details | {} | | binding:vif_type | unbound | | binding:vnic_type | normal | | created_at | 2024-10-15T03:05:20Z | | description | | | device_id | 9fb736b4-a0c3-429c-a59b-f82450d496e4 | | device_owner | network:floatingip | | extra_dhcp_opts | | | fixed_ips | {"subnet_id": "5a70bc02-7017-4aa6-a879-4cb4a9b19ccf", "ip_address": "172.133.10.43"} | | | {"subnet_id": "6853c78f-8083-40c5-ac8a-0a76a9a1261d", "ip_address": "2011::a9"} | | id | 77e4caa2-2953-48d2-bbfe-9d658de42a35 | | mac_address | fa:16:3e:5f:9a:48 | | name | | | network_id | 63b02c2d-007b-4096-8923-f63a8c993b7b | | port_security_enabled | False | | project_id | d2ee4ab6e0344563812cabb655aeb9c3 | | qos_network_policy_id | | | qos_policy_id | | | resource_request | | | revision_number | 2 | | security_groups | | | status | N/A | | tags | | | tenant_id | d2ee4ab6e0344563812cabb655aeb9c3 | | updated_at | 2024-10-15T03:05:21Z | +-----------------------+--------------------------------------------------------------------------------------+ To fix this issue, we could create a port with IPv4 subnets if the user only specifies the network_id when creating a floating IP. ** Affects: neutron Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/2084538 Title: FIP port has an IPv6 fixed_ip Status in neutron: New Bug description: A port whose device_owner is floatingip has an IPv6 fixed_ip. This is an old issue, but I haven't focused on it. Steps to reproduce: 1.create an external network: openstack network create --provider-network-type vlan --provider-physical-network physnet1 --external pubbbb 2.create an ipv4 subnet: openstack subnet create --network pubbbb --subnet-range 172.133.10.0/24 pubbbb 3.create an ipv6 subnet: openstack subnet create --network pubbbb --ip-version 6 --subnet-range 2011::/64 --dhcp --ipv6-ra-mode dhcpv6-stateful --ipv6-address-mode dhcpv6-stateful pubbbb 4.create an floating ip with the external network: neutron floatingip-create pubbbb Created a new floatingip: +---------------------+--------------------------------------+ | Field | Value | +---------------------+--------------------------------------+ | created_at | 2024-10-15T03:05:20Z | | description | | | dns_domain | | | dns_name | | | extra_fields | {} | | fixed_ip_address | | | floating_ip_address | 172.133.10.43 | | floating_network_id | 63b02c2d-007b-4096-8923-f63a8c993b7b | | id | 9fb736b4-a0c3-429c-a59b-f82450d496e4 | | port_details | | | port_id | | | project_id | d2ee4ab6e0344563812cabb655aeb9c3 | | qos_policy_id | | | revision_number | 0 | | router_id | | | status | DOWN | | tags | | | tenant_id | d2ee4ab6e0344563812cabb655aeb9c3 | | updated_at | 2024-10-15T03:05:20Z | +---------------------+--------------------------------------+ 5.we can find the floating ip port has an ipv6 address: neutron port-show 77e4caa2-2953-48d2-bbfe-9d658de42a35 +-----------------------+--------------------------------------------------------------------------------------+ | Field | Value | +-----------------------+--------------------------------------------------------------------------------------+ | admin_state_up | True | | allowed_address_pairs | | | binding:host_id | | | binding:profile | {} | | binding:vif_details | {} | | binding:vif_type | unbound | | binding:vnic_type | normal | | created_at | 2024-10-15T03:05:20Z | | description | | | device_id | 9fb736b4-a0c3-429c-a59b-f82450d496e4 | | device_owner | network:floatingip | | extra_dhcp_opts | | | fixed_ips | {"subnet_id": "5a70bc02-7017-4aa6-a879-4cb4a9b19ccf", "ip_address": "172.133.10.43"} | | | {"subnet_id": "6853c78f-8083-40c5-ac8a-0a76a9a1261d", "ip_address": "2011::a9"} | | id | 77e4caa2-2953-48d2-bbfe-9d658de42a35 | | mac_address | fa:16:3e:5f:9a:48 | | name | | | network_id | 63b02c2d-007b-4096-8923-f63a8c993b7b | | port_security_enabled | False | | project_id | d2ee4ab6e0344563812cabb655aeb9c3 | | qos_network_policy_id | | | qos_policy_id | | | resource_request | | | revision_number | 2 | | security_groups | | | status | N/A | | tags | | | tenant_id | d2ee4ab6e0344563812cabb655aeb9c3 | | updated_at | 2024-10-15T03:05:21Z | +-----------------------+--------------------------------------------------------------------------------------+ To fix this issue, we could create a port with IPv4 subnets if the user only specifies the network_id when creating a floating IP. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/2084538/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp