yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #51329
[Bug 1564575] Re: DVR router namespaces are deleted when we manually move a DVR router from one SNAT_node to another SNAT_node even though there are active VMs in the node
Reviewed: https://review.openstack.org/300268
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=c198710dc551bc0f79851a7801038b033088a8c2
Submitter: Jenkins
Branch: master
commit c198710dc551bc0f79851a7801038b033088a8c2
Author: Swaminathan Vasudevan <swaminathan.vasudevan@xxxxxxx>
Date: Thu Mar 31 17:48:09 2016 -0700
DVR: Moving router from dvr_snat node removes the qrouters
Removing the router from dvr_snat node removes the qrouters
that are servicing the VM and dhcp ports.
If there are still dvr serviceable ports in the dvr_snat node,
and if router remove command is executed to remove the router
association from the dvr_snat agent then only the snat
functionality should be moved to the the different agent
and the router namespaces should be untouched.
This patch checks if there are any dvr serviceable ports for
the dvr router and if exists, it will not send a router_remove
message to the agent, but instead will send an router_update
message to the agent.
Change-Id: I5a3ba329346ab0d5ea7b0296ec64cc8e5fb4056d
Closes-Bug: #1564575
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1564575
Title:
DVR router namespaces are deleted when we manually move a DVR router
from one SNAT_node to another SNAT_node even though there are active
VMs in the node
Status in neutron:
Fix Released
Bug description:
DVR router namespaces are deleted when we manually move the router
from on dvr_snat node to another dvr_snat node.
It should be only deleting the snat_namespace and not the
router_namespace, since there are 'dhcp' ports and 'vm' ports still
serviced by DVR.
How to reproduce:
Configure a two node setup:
1. I have one node with Controller, compute and networking node with dhcp running in dvr_snat mode.
2. I have another node with compute and networking node without dhcp running in dvr_snat mode.
3. Now create network
4. Create a subnet
5. Create a router and attach the subnet to the router.
6. Also set a gateway to the router.
7. Now you should see that there are three namespaces in the first node.
a. snat_namespace
b. qrouter_namespace
c. dhcp_namespace
8. Now create a VM on the first node.
9. Now try to remove the router from the first agent and assign it to the second agent in the second node.
neutron l3-agent-router-remove agent-id router-id
This currently removes both the snat_namespace and the
router_namespace when there is still a valid vm and dhcp port.
Suspect that checking for available DVR service ports might be causing an issue here.
Will try to find out the root cause.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1564575/+subscriptions
References