commit 3c0f4b7390e2204eaee9e821baa393a81095c4d5
Author: Kevin Benton <email address hidden>
Date: Thu Jun 8 16:10:45 2017 -0700
Don't iterate updated_rule_sg_ids or updated_sg_members
updated_rule_sg_ids and updated_sg_members can be updated
concurrently by an RPC security_group_updated cast from the
server which will result in a RuntimeError due to set
size changing during iteration.
This adjusts the logic to just iterate over a copy of the set.
Change-Id: I0a7cf13157de256403cfd6196f64fafdfa65f180
Closes-Bug: #1696874
(cherry picked from commit e51ae07aecd14b8270f5e14175f943a5abc8caa6)
Reviewed: https:/ /review. openstack. org/473305 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=3c0f4b7390e 2204eaee9e821ba a393a81095c4d5
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit 3c0f4b7390e2204 eaee9e821baa393 a81095c4d5
Author: Kevin Benton <email address hidden>
Date: Thu Jun 8 16:10:45 2017 -0700
Don't iterate updated_rule_sg_ids or updated_sg_members
updated_ rule_sg_ ids and updated_sg_members can be updated group_updated cast from the
concurrently by an RPC security_
server which will result in a RuntimeError due to set
size changing during iteration.
This adjusts the logic to just iterate over a copy of the set.
Change-Id: I0a7cf13157de25 6403cfd6196f64f afdfa65f180 270f5e14175f943 a5abc8caa6)
Closes-Bug: #1696874
(cherry picked from commit e51ae07aecd14b8