link OpenStack Cannot Delete Subnet Or Router← Back

On a fresh OpenStack deployment built from RedHat's RDO, I added a new subnet and floating IP range, but then could not delete the subnet or the router. The solution was to delete the floating IP range from the command line.

  1. SSH as root to the console of your OpenStack server.
  2. Run:
    source /root/keystonerc_admin
  3. Run the following and note the value of the id column:
    neutron floatingip-list
    +--------------------------------------+------------------+---------------------+---------+
    | id                                   | fixed_ip_address | floating_ip_address | port_id |
    +--------------------------------------+------------------+---------------------+---------+
    | e0df4c80-a944-490c-9097-17b1a7bff6ab |                  | 10.1.1.130          |         |
    +--------------------------------------+------------------+---------------------+---------+
  4. Run (replacing the ID with your own value):
    neutron floatingip-delete e0df4c80-a944-490c-9097-17b1a7bff6ab
  5. Now you will be able to delete the subnet.

Comments

There are no comments


Post a comment