summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorDavid McNally <dave.mcnally@hp.com>2012-08-01 15:51:29 +0100
committerDavid McNally <dave.mcnally@hp.com>2012-08-10 13:02:23 +0100
commit2afbbab23a9d845cde511baa1e574fdcf5ab5171 (patch)
tree0a557f73ffb6a3d751f6690c7775dfd1163c90eb /nova/openstack
parent55cf5c308508435eb40f3d45bbe9b4e4e0ff3ea5 (diff)
downloadnova-2afbbab23a9d845cde511baa1e574fdcf5ab5171.tar.gz
nova-2afbbab23a9d845cde511baa1e574fdcf5ab5171.tar.xz
nova-2afbbab23a9d845cde511baa1e574fdcf5ab5171.zip
Making security group refresh more specific
Fixes bug 1029495 The trigger_members_refresh method in compute.api.py specifies a group id in the call to refresh_security_group_members. This is just the last group id seen and ignores the fact that a refresh may impact members of multiple groups. This is masked by the fact that on the host the group id is ignored and all instances have their security rules refreshed regardless of if they are part of the changed group or not. This change modifies the logic surrounding refreshes so we send a refresh request for each instance which is affected by a security group change, this ensures we aren't spending time refreshing unaffected instances and also removes the possibility of refreshing an instance multiple times if it is a member of more than one group. Also changed to be instance-centric is the refresh carried out when a rule is added/removed to a security group. Change-Id: Iec98e9aed818fdc4ecc88c8dcdd4ee5fa9386e00
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions