When the neutron server is down/busy the agent is not able to get any
port info. After the agent restarts, it will not install any new flow.
Cleaning the existing flows will break all networking until the agent
succeeds to sync with the neturon server.
This patch ensures the agent cleans the stale flows only after it
succeeds to sync with the neturon server.
Change-Id: I763fc06a73b6d2f010da65e74241182636dda44d
Closes-bug: #1515075
(cherry picked from commit 0c8121ee68085d67a7b865b5b25c4b3880defc89)
Reviewed: https:/ /review. openstack. org/244465 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=943b156c36f 8b8d02c2a720189 f0b4769df6a210
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 943b156c36f8b8d 02c2a720189f0b4 769df6a210
Author: Jian Wen <email address hidden>
Date: Wed Nov 11 11:32:20 2015 +0800
More graceful ovs-agent restart
When the neutron server is down/busy the agent is not able to get any
port info. After the agent restarts, it will not install any new flow.
Cleaning the existing flows will break all networking until the agent
succeeds to sync with the neturon server.
This patch ensures the agent cleans the stale flows only after it
succeeds to sync with the neturon server.
Change-Id: I763fc06a73b6d2 f010da65e742411 82636dda44d 7a7b865b5b25c4b 3880defc89)
Closes-bug: #1515075
(cherry picked from commit 0c8121ee68085d6