Bug closed due to lack of activity, please feel free to reopen if needed. ** Changed in: neutron Status: Incomplete => Won't Fix
-- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1521117 Title: fixed_ip of floatingip is not updated. Status in neutron: Won't Fix Bug description: When update fixed_ip of a port that associated with floatingip, the fixed_ip of the floatingip is not updated. How to reproduce: (1) create a port $ neutron port-show 9b11ce55-a404-4ae4-941d-ea0db555c331 +-----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | 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 | | device_id | | | device_owner | | | dns_assignment | {"hostname": "host-10-0-0-11", "ip_address": "10.0.0.11", "fqdn": "host-10-0-0-11.openstacklocal."} | | | {"hostname": "host-fdcb-a2eb-ab3e-0-f816-3eff-fe90-aa8e", "ip_address": "fdcb:a2eb:ab3e:0:f816:3eff:fe90:aa8e", "fqdn": "host-fdcb-a2eb-ab3e-0-f816-3eff-fe90-aa8e.openstacklocal."} | | dns_name | | | extra_dhcp_opts | | | fixed_ips | {"subnet_id": "fedeed6a-b2fc-41f8-8382-6a7ebc34ff1a", "ip_address": "10.0.0.11"} | | | {"subnet_id": "68cbe554-0b26-4d6c-992d-4d8889cfb49f", "ip_address": "fdcb:a2eb:ab3e:0:f816:3eff:fe90:aa8e"} | | id | 9b11ce55-a404-4ae4-941d-ea0db555c331 | | mac_address | fa:16:3e:90:aa:8e | | name | test-port | | network_id | e82b8c93-ba6a-4c52-a87f-f9790c7e2087 | | port_security_enabled | True | | security_groups | c5db5c24-0d5a-48b6-beae-b9b307a486c4 | | status | DOWN | | tenant_id | 2f0d8f4be9bc498296c49d23fbb030fa | +-----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ (2) create a floatingip $ neutron floatingip-show 8bd3581f-3ab1-4e03-9a7b-574fb91f07c1 +---------------------+--------------------------------------+ | Field | Value | +---------------------+--------------------------------------+ | fixed_ip_address | | | floating_ip_address | 172.24.4.3 | | floating_network_id | 9c2bc1e1-a5ad-41b7-9352-6f2339b383f9 | | id | 8bd3581f-3ab1-4e03-9a7b-574fb91f07c1 | | port_id | | | router_id | | | status | DOWN | | tenant_id | 2f0d8f4be9bc498296c49d23fbb030fa | +---------------------+--------------------------------------+ (3) associate above port and floatingip $ neutron floatingip-associate 8bd3581f-3ab1-4e03-9a7b-574fb91f07c1 9b11ce55-a404-4ae4-941d-ea0db555c331 Associated floating IP 8bd3581f-3ab1-4e03-9a7b-574fb91f07c1 (4) confirm fixed_ip of floatingip $ neutron floatingip-show 8bd3581f-3ab1-4e03-9a7b-574fb91f07c1 +---------------------+--------------------------------------+ | Field | Value | +---------------------+--------------------------------------+ | fixed_ip_address | 10.0.0.11 | | floating_ip_address | 172.24.4.3 | | floating_network_id | 9c2bc1e1-a5ad-41b7-9352-6f2339b383f9 | | id | 8bd3581f-3ab1-4e03-9a7b-574fb91f07c1 | | port_id | 9b11ce55-a404-4ae4-941d-ea0db555c331 | | router_id | 8ce89b39-627c-4745-8789-7979b8af0283 | | status | ACTIVE | | tenant_id | 2f0d8f4be9bc498296c49d23fbb030fa | +---------------------+--------------------------------------+ (5) change fixed_ip of the port $ neutron port-update --fixed-ip subnet_id=fedeed6a-b2fc-41f8-8382-6a7ebc34ff1a,ip_address=10.0.0.20 9b11ce55-a404-4ae4-941d-ea0db555c331 Updated port: 9b11ce55-a404-4ae4-941d-ea0db555c331 (6) confirm fixed_ip of floatingip (it has been updated) $ neutron port-show 9b11ce55-a404-4ae4-941d-ea0db555c331 +-----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | 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 | | device_id | | | device_owner | | | dns_assignment | {"hostname": "host-10-0-0-20", "ip_address": "10.0.0.20", "fqdn": "host-10-0-0-20.openstacklocal."} | | | {"hostname": "host-fdcb-a2eb-ab3e-0-f816-3eff-fe90-aa8e", "ip_address": "fdcb:a2eb:ab3e:0:f816:3eff:fe90:aa8e", "fqdn": "host-fdcb-a2eb-ab3e-0-f816-3eff-fe90-aa8e.openstacklocal."} | | dns_name | | | extra_dhcp_opts | | | fixed_ips | {"subnet_id": "fedeed6a-b2fc-41f8-8382-6a7ebc34ff1a", "ip_address": "10.0.0.20"} | | | {"subnet_id": "68cbe554-0b26-4d6c-992d-4d8889cfb49f", "ip_address": "fdcb:a2eb:ab3e:0:f816:3eff:fe90:aa8e"} | | id | 9b11ce55-a404-4ae4-941d-ea0db555c331 | | mac_address | fa:16:3e:90:aa:8e | | name | test-port | | network_id | e82b8c93-ba6a-4c52-a87f-f9790c7e2087 | | port_security_enabled | True | | security_groups | c5db5c24-0d5a-48b6-beae-b9b307a486c4 | | status | DOWN | | tenant_id | 2f0d8f4be9bc498296c49d23fbb030fa | +-----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ (7) confirm fixed_ip of the floatingip (it has not been updated) $ neutron floatingip-show 8bd3581f-3ab1-4e03-9a7b-574fb91f07c1 +---------------------+--------------------------------------+ | Field | Value | +---------------------+--------------------------------------+ | fixed_ip_address | 10.0.0.11 | | floating_ip_address | 172.24.4.3 | | floating_network_id | 9c2bc1e1-a5ad-41b7-9352-6f2339b383f9 | | id | 8bd3581f-3ab1-4e03-9a7b-574fb91f07c1 | | port_id | 9b11ce55-a404-4ae4-941d-ea0db555c331 | | router_id | 8ce89b39-627c-4745-8789-7979b8af0283 | | status | ACTIVE | | tenant_id | 2f0d8f4be9bc498296c49d23fbb030fa | +---------------------+--------------------------------------+ To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1521117/+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