From a5c6cc8bb2e37e6eb18054fbe5996e13c164c7c4 Mon Sep 17 00:00:00 2001 From: Ricardo Marques Date: Fri, 8 Mar 2019 14:45:09 +0000 Subject: [PATCH] mgr/dashboard: Always get iSCSI passwords decrypted Fixes: https://tracker.ceph.com/issues/38630 Signed-off-by: Ricardo Marques --- src/pybind/mgr/dashboard/services/iscsi_client.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pybind/mgr/dashboard/services/iscsi_client.py b/src/pybind/mgr/dashboard/services/iscsi_client.py index 1d616a2a57d..92d3a16e52a 100644 --- a/src/pybind/mgr/dashboard/services/iscsi_client.py +++ b/src/pybind/mgr/dashboard/services/iscsi_client.py @@ -64,7 +64,9 @@ class IscsiClient(RestClient): @RestClient.api_get('/api/config') def get_config(self, request=None): - return request() + return request({ + 'decrypt_passwords': True + }) @RestClient.api_put('/api/target/{target_iqn}') def create_target(self, target_iqn, target_controls, request=None): -- 2.39.5