diff --git a/cinder/brick/local_dev/lvm.py b/cinder/brick/local_dev/lvm.py index cc2b40d30de..dde0d40f3a7 100644 --- a/cinder/brick/local_dev/lvm.py +++ b/cinder/brick/local_dev/lvm.py @@ -566,7 +566,8 @@ class LVM(executor.Executor): LOG.error('Cmd :%s', err.cmd) LOG.error('StdOut :%s', err.stdout) LOG.error('StdErr :%s', err.stderr) - LOG.error('Current state: %s', self.get_all_volume_groups()) + LOG.error('Current state: %s', + self.get_all_volume_groups(self._root_helper)) raise @utils.retry(putils.ProcessExecutionError)