Comment 6 for bug 1425898

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/8476
Committed: http://github.org/Juniper/contrail-controller/commit/1424bc23d11fa1659f1861214e292803cd7381d6
Submitter: Zuul
Branch: R2.1

commit 1424bc23d11fa1659f1861214e292803cd7381d6
Author: Prakash Bailkeri <email address hidden>
Date: Mon Mar 16 23:10:32 2015 -0700

security group rule find tries to access deleted project.

During _security_group_rule_find, project list is queried and looped to get all
security groups belonging to it. In the meanwhile if the project is deleted,
exception will be thrown and loop is aborted

Fix is to query the list of security group beloging to a
project(for not adming context) or all security groups in the system
(for admin context)

Change-Id: Ic3e3dddb8c082d563b0bf5b43f57afbe41d8ef73
Closes-Bug: 1425898