Comment 8 for bug 1696874

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/ocata)

Reviewed: https://review.openstack.org/473304
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=96657be885275969a0feadde6255697b43e01590
Submitter: Jenkins
Branch: stable/ocata

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)