There are several changes made surrounding this bug.
1) When replay is enabled, we should bubble exceptions
for received port create/update/delete post_commit transactions. This was suppressed earlier by
1422738.
2) When an exception is encountered during a
post_commit transaction, the driver will no longer
mark the switch state to inactive to force a replay.
This is no longer needed since 1481856 was introduced.
So from this point on, only the replay thread will
determine the state of the connection to the switch.
3) In addition to accommodating 1 & 2 above, more detail
data verification was added to the test code.
Change-Id: I97e4de2d5f56522eb0212cef4f804aa4a83957ec
Closes-bug: #1481859
(cherry picked from commit 6b86a859db5fcf931df263b01e3bf1bd68f0797f)
Reviewed: https:/ /review. openstack. org/219836 /git.openstack. org/cgit/ openstack/ networking- cisco/commit/ ?id=0050ea7f1fb 3c22214d7ca49cf e641da86123e2c
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit 0050ea7f1fb3c22 214d7ca49cfe641 da86123e2c
Author: Carol Bouchard <email address hidden>
Date: Wed Sep 2 11:10:42 2015 -0400
Bubble up exceptions when Nexus replay enabled
There are several changes made surrounding this bug.
1) When replay is enabled, we should bubble exceptions update/ delete post_commit
transactions. This was suppressed earlier by
for received port create/
1422738.
2) When an exception is encountered during a
post_commit transaction, the driver will no longer
mark the switch state to inactive to force a replay.
This is no longer needed since 1481856 was introduced.
So from this point on, only the replay thread will
determine the state of the connection to the switch.
3) In addition to accommodating 1 & 2 above, more detail
data verification was added to the test code.
Change-Id: I97e4de2d5f5652 2eb0212cef4f804 aa4a83957ec 31df263b01e3bf1 bd68f0797f)
Closes-bug: #1481859
(cherry picked from commit 6b86a859db5fcf9