From 4fc954382048b9f2873a037ea9befd0a366e8c3f Mon Sep 17 00:00:00 2001 From: Andy Ning Date: Thu, 12 Sep 2019 13:26:42 -0400 Subject: [PATCH] Fix dcorch audit_discrepancy() failure In a Distributed Cloud system, when dcorch audit platform, it will failed at audit_discrepancy() function call. This is because sysinv audit_discrepancy() missed the 4th parameter. This update fixed this by adding it in. Change-Id: I72057b3406b4b362808d241fbc2e43bf07d7b677 Closes-Bug: 1843770 Signed-off-by: Andy Ning --- dcorch/engine/sync_services/sysinv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dcorch/engine/sync_services/sysinv.py b/dcorch/engine/sync_services/sysinv.py index d6c8fa345..9c79f4c70 100644 --- a/dcorch/engine/sync_services/sysinv.py +++ b/dcorch/engine/sync_services/sysinv.py @@ -1309,7 +1309,7 @@ class SysinvSyncThread(SyncThread): resource_type), extra=self.log_extra) - def audit_discrepancy(self, resource_type, m_resource): + def audit_discrepancy(self, resource_type, m_resource, sc_resources): # Return true to try the audit_action if resource_type in self.SYSINV_ADD_DELETE_RESOURCES: # It could be that the details are different