DC fix audit sync failure
Added a TODO comment for the fix. Related-Bug: 1802397 Change-Id: I9c008db783fa32c5747e416844f76315bd4dc3ba Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
This commit is contained in:
parent
330cac2691
commit
35606c5f9d
@ -420,6 +420,9 @@ class NetworkSyncThread(SyncThread):
|
|||||||
def same_security_group(self, qc1, qc2):
|
def same_security_group(self, qc1, qc2):
|
||||||
# Fetch the tenant name from the project. Tenant ids are different
|
# Fetch the tenant name from the project. Tenant ids are different
|
||||||
# between regions.
|
# between regions.
|
||||||
|
# TODO(kbujold): This solution only works if we have one domain within
|
||||||
|
# keystone, otherwise we should get the the tenant name from the master
|
||||||
|
# resource database.
|
||||||
qc1_tenant_name = sdk.OpenStackDriver().get_project_by_id(
|
qc1_tenant_name = sdk.OpenStackDriver().get_project_by_id(
|
||||||
qc1['tenant_id']).name
|
qc1['tenant_id']).name
|
||||||
qc2_tenant_name = sdk.OpenStackDriver(
|
qc2_tenant_name = sdk.OpenStackDriver(
|
||||||
|
Loading…
Reference in New Issue
Block a user