From 24a1e9b44c5d98903593b38eb482011efc617d7b Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Sat, 26 Jan 2019 00:28:22 +0100 Subject: [PATCH] Mitigated issue with failing port retrieval Signed-off-by: Andreas Maier --- zhmc_ansible_modules/zhmc_adapter.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zhmc_ansible_modules/zhmc_adapter.py b/zhmc_ansible_modules/zhmc_adapter.py index 47eb42161..cfca69a54 100644 --- a/zhmc_ansible_modules/zhmc_adapter.py +++ b/zhmc_ansible_modules/zhmc_adapter.py @@ -516,7 +516,9 @@ def ensure_set(params, check_mode): ports = adapter.ports.list() result_ports = list() for port in ports: - port.pull_full_properties() + # TODO: Disabling the following line mitigates the recent issue + # with HTTP error 404,4 when retrieving port properties. + # port.pull_full_properties() result_ports.append(port.properties) result['ports'] = result_ports