From c33290e025c6be4b55b18e33e0aa2a0985f55fac Mon Sep 17 00:00:00 2001 From: Goutham Pacha Ravi Date: Mon, 18 Feb 2019 12:46:55 -0800 Subject: [PATCH] [ZFSOnLinux] Log ZFS options as they are retrieved Aids debugging failures. TrivialFix Change-Id: I34a8da669fa357cc896297f7a40d84ee1747e57d --- manila/share/drivers/zfsonlinux/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manila/share/drivers/zfsonlinux/utils.py b/manila/share/drivers/zfsonlinux/utils.py index 19b23347e6..b6251d50b6 100644 --- a/manila/share/drivers/zfsonlinux/utils.py +++ b/manila/share/drivers/zfsonlinux/utils.py @@ -116,6 +116,8 @@ class ExecuteMixin(driver.ExecuteMixin): data = self.parse_zfs_answer(out) option = data[0]['VALUE'] + msg_payload = {'option': option_name, 'value': option} + LOG.debug("ZFS option %(option)s's value is %(value)s.", msg_payload) return option def parse_zfs_answer(self, string):