If we have any instance which has floating ip associated with it,
So after deleting that instance floating ip status should be DOWN,
but after deleting the instance floating ip status remains ACTIVE.
As you can see in the below example we deleted an instance and this floating ip status still shows the ACTIVE.
neutron floatingip-show 6487e391-a048-45f6-84f3-2367539a7b32
+---------------------+--------------------------------------+
| Field | Value |
+---------------------+--------------------------------------+
| created_at | 2021-10-29T07:58:27Z |
| description | |
| dns_domain | |
| dns_name | |
| fixed_ip_address | |
| floating_ip_address | 10.10.202.14 |
| floating_network_id | 95d75f9e-b25e-414b-a829-83913d8c1652 |
| id | 6487e391-a048-45f6-84f3-2367539a7b32 |
| port_id | |
| project_id | fe0142ab8d2f4ed09e768cfef858c2f0 |
| revision_number | 24 |
| router_id | |
| status | ACTIVE |
| tags | |
| tenant_id | fe0142ab8d2f4ed09e768cfef858c2f0 |
| updated_at | 2021-12-27T08:45:17Z |
+---------------------+--------------------------------------+
After deleting the Instance Status of floating IP still ACTIVE.
Related:
https://github.com/openstack/neutron/blob/e99d9a9d0697a21ba7ec84465f415f60041f3767/neutron/db/l3_db.py#L1695-L1706
Patch: https:/ /review. opendev. org/c/openstack /neutron/ +/822091