Fix the missing args bug while lvm creates volume failed

Add the missing arg to self.get_all_volume_groups
Closes-bug: #1672577

Change-Id: Id9c20aba4059a7cb7d6359e9aef364e6dadec992
This commit is contained in:
chenhb 2017-03-07 17:27:14 +08:00
parent 5f66f158bf
commit 55deba86db
1 changed files with 2 additions and 1 deletions

View File

@ -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)