commit 8b7e5997dae54a03ad2850c43b7070bc00c90273
Author: Hong Hui Xiao <email address hidden>
Date: Tue Dec 8 01:17:54 2015 -0500
Separate the command for replace_port to delete and add
When a port has been added to router namespace, trying to replace the
port by adding del-port and add-port in one command, will not bring
the new port to kernel. Even if the port is updated in ovs db and can
be found on br-int, system can't see the new port. This will break
the following actions, which will manipulate the new port by ip
commands. A mail list has been filed to discuss this issue at [1].
The problem here will break the scenario that namespace is deleted
unexpectedly, and l3-agent tries to rebuild the namespace at restart.
Separating replace_port to two commands: del-port and add-port,
matches the original logic and has been verified that it can resolve
the problem here.
Reviewed: https:/ /review. openstack. org/254579 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=8b7e5997dae 54a03ad2850c43b 7070bc00c90273
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8b7e5997dae54a0 3ad2850c43b7070 bc00c90273
Author: Hong Hui Xiao <email address hidden>
Date: Tue Dec 8 01:17:54 2015 -0500
Separate the command for replace_port to delete and add
When a port has been added to router namespace, trying to replace the
port by adding del-port and add-port in one command, will not bring
the new port to kernel. Even if the port is updated in ovs db and can
be found on br-int, system can't see the new port. This will break
the following actions, which will manipulate the new port by ip
commands. A mail list has been filed to discuss this issue at [1].
The problem here will break the scenario that namespace is deleted
unexpectedly, and l3-agent tries to rebuild the namespace at restart.
Separating replace_port to two commands: del-port and add-port,
matches the original logic and has been verified that it can resolve
the problem here.
[1] http:// openvswitch. org/pipermail/ discuss/ 2015-December/ 019667. html
Change-Id: If36bcf5a0cccb6 67f3087aea1e9ea 9f20eb3a563
Closes-Bug: #1519926