commit 96657be885275969a0feadde6255697b43e01590
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/473304 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=96657be8852 75969a0feadde62 55697b43e01590
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit 96657be88527596 9a0feadde625569 7b43e01590
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