]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fix LVM logging error.
authorAvishay Traeger <avishay@il.ibm.com>
Tue, 11 Jun 2013 06:10:37 +0000 (09:10 +0300)
committerAvishay Traeger <avishay@il.ibm.com>
Tue, 11 Jun 2013 06:10:37 +0000 (09:10 +0300)
Missed a %s, which caused an exception.

Change-Id: Ib6fcabebdcf70430f3e46095da6c5e13b3e3a4ff
Fixes: bug 1189455
cinder/volume/drivers/lvm.py

index f9fc569022abbfec8426cb14ad5a4b3278324ef9..a9390b98e90a36b50958959faf433b11718509d8 100644 (file)
@@ -581,7 +581,7 @@ class LVMISCSIDriver(LVMVolumeDriver, driver.ISCSIDriver):
                                      self.configuration.volume_group,
                                      run_as_root=True)
         except exception.ProcessExecutionError as exc:
-            LOG.error(_("Error retrieving volume status: "), exc.stderr)
+            LOG.error(_("Error retrieving volume status: %s"), exc.stderr)
             out = False
 
         if out: