From e58247b2c9c2c89a4001985b8f59f4181623d20c Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 23 Aug 2018 16:12:45 -0400 Subject: [PATCH] Correct probles in the servicedata attempt When testing in actual environment, problems were detected. Change-Id: I07fdd296c05a4e76a4c00f6a8a3ac1f70f218ff1 --- pyghmi/ipmi/command.py | 2 +- pyghmi/ipmi/oem/lenovo/imm.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyghmi/ipmi/command.py b/pyghmi/ipmi/command.py index 48c5c93a..8a408939 100644 --- a/pyghmi/ipmi/command.py +++ b/pyghmi/ipmi/command.py @@ -433,7 +433,7 @@ class Command(object): def get_diagnostic_data(self, savefile, progress=None): self.oem_init() - return self._oem.get_diagnostic_data(savefile) + return self._oem.get_diagnostic_data(savefile, progress) def get_description(self): """Get physical attributes for the system, e.g. for GUI use diff --git a/pyghmi/ipmi/oem/lenovo/imm.py b/pyghmi/ipmi/oem/lenovo/imm.py index bdcb8cbd..23755f8a 100644 --- a/pyghmi/ipmi/oem/lenovo/imm.py +++ b/pyghmi/ipmi/oem/lenovo/imm.py @@ -748,7 +748,7 @@ class XCCClient(IMMClient): {'Generate_FFDC_status': 1}) self._refresh_token() if progress: - progress({'phase': 'generate', 'progress': float(percent)}) + progress({'phase': 'initializing', 'progress': float(percent)}) percent = result['progress'] while 'FileName' not in result: result = self.wc.grab_json_response('/api/providers/ffdc',