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)
Reviewed: https:/ /review. opencontrail. org/8476 github. org/Juniper/ contrail- controller/ commit/ 1424bc23d11fa16 59f1861214e2928 03cd7381d6
Committed: http://
Submitter: Zuul
Branch: R2.1
commit 1424bc23d11fa16 59f1861214e2928 03cd7381d6
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: Ic3e3dddb8c082d 563b0bf5b43f57a fbe41d8ef73
Closes-Bug: 1425898