yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #54762
[Bug 1610645] [NEW] Migrating last HA router to legacy doesn't delete HA network
Public bug reported:
As the title suggests, migrating a tenant's the last HA router from HA
to legacy, doesn't cleanup the HA network.
[stack@js16 ~]$ neutron router-create x --ha=True
Created a new router:
+-------------------------+--------------------------------------+
| Field | Value |
+-------------------------+--------------------------------------+
| admin_state_up | True |
| availability_zone_hints | |
| availability_zones | |
| description | |
| distributed | False |
| external_gateway_info | |
| flavor_id | |
| ha | True |
| id | 2bafaae3-776b-4707-958b-f1df77d832fb |
| name | x |
| revision | 2 |
| routes | |
| status | ACTIVE |
| tenant_id | 20482218062b458589b9cffa3a1bb172 |
+-------------------------+--------------------------------------+
[stack@js16 ~]$ neutron router-update x --admin_state_up=False
Updated router: x
[stack@js16 ~]$ neutron router-update x --ha=False
Updated router: x
[stack@js16 ~]$ neutron router-delete x
Deleted router: x
[stack@js16 ~]$ neutron net-list
+--------------------------------------+----------------------------------------------------+----------------------------------------------------------+
| id | name | subnets |
+--------------------------------------+----------------------------------------------------+----------------------------------------------------------+
| 088ffed2-27a0-422e-b92c-c388e825cf8f | HA network tenant 20482218062b458589b9cffa3a1bb172 | 92ee2c83-8fdb-4767-90b3-bfb69fca452f 169.254.192.0/18 |
| e0e366ee-8a94-4753-8b9a-474bf692fb99 | public | e0933b88-7baf-47a9-84d8-7c98e140f747 172.24.4.0/24 |
| | | 400fa2e9-f373-4c7b-954c-f419d6dfba7b 2001:db8::/64 |
| fa13ed8e-dd44-4499-a3e8-531a25f26256 | private | 26f2f679-c255-4c36-93ac-7f6ec3e98ffe fd22:5205:4fcc::/64 |
| | | ed866867-1611-4919-bb3a-1ff0b4f1d36a 10.0.0.0/24 |
+--------------------------------------+----------------------------------------------------+----------------------------------------------------------+
** Affects: neutron
Importance: Undecided
Assignee: John Schwarz (jschwarz)
Status: New
** Tags: l3-ha
** Changed in: neutron
Assignee: (unassigned) => John Schwarz (jschwarz)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1610645
Title:
Migrating last HA router to legacy doesn't delete HA network
Status in neutron:
New
Bug description:
As the title suggests, migrating a tenant's the last HA router from HA
to legacy, doesn't cleanup the HA network.
[stack@js16 ~]$ neutron router-create x --ha=True
Created a new router:
+-------------------------+--------------------------------------+
| Field | Value |
+-------------------------+--------------------------------------+
| admin_state_up | True |
| availability_zone_hints | |
| availability_zones | |
| description | |
| distributed | False |
| external_gateway_info | |
| flavor_id | |
| ha | True |
| id | 2bafaae3-776b-4707-958b-f1df77d832fb |
| name | x |
| revision | 2 |
| routes | |
| status | ACTIVE |
| tenant_id | 20482218062b458589b9cffa3a1bb172 |
+-------------------------+--------------------------------------+
[stack@js16 ~]$ neutron router-update x --admin_state_up=False
Updated router: x
[stack@js16 ~]$ neutron router-update x --ha=False
Updated router: x
[stack@js16 ~]$ neutron router-delete x
Deleted router: x
[stack@js16 ~]$ neutron net-list
+--------------------------------------+----------------------------------------------------+----------------------------------------------------------+
| id | name | subnets |
+--------------------------------------+----------------------------------------------------+----------------------------------------------------------+
| 088ffed2-27a0-422e-b92c-c388e825cf8f | HA network tenant 20482218062b458589b9cffa3a1bb172 | 92ee2c83-8fdb-4767-90b3-bfb69fca452f 169.254.192.0/18 |
| e0e366ee-8a94-4753-8b9a-474bf692fb99 | public | e0933b88-7baf-47a9-84d8-7c98e140f747 172.24.4.0/24 |
| | | 400fa2e9-f373-4c7b-954c-f419d6dfba7b 2001:db8::/64 |
| fa13ed8e-dd44-4499-a3e8-531a25f26256 | private | 26f2f679-c255-4c36-93ac-7f6ec3e98ffe fd22:5205:4fcc::/64 |
| | | ed866867-1611-4919-bb3a-1ff0b4f1d36a 10.0.0.0/24 |
+--------------------------------------+----------------------------------------------------+----------------------------------------------------------+
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1610645/+subscriptions
Follow ups