From 5b68201324a8e7f1caff8ae579815570821bd56a Mon Sep 17 00:00:00 2001 From: zhufl Date: Tue, 16 Apr 2019 15:33:08 +0800 Subject: [PATCH] Fix missing print format error Missing print format will cause 'ValueError: unsupported format character' error, this is to fix it. Change-Id: I78f8f3d13257b58c4327522c3617990b38933957 --- cinder/volume/drivers/nexenta/ns5/nfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/volume/drivers/nexenta/ns5/nfs.py b/cinder/volume/drivers/nexenta/ns5/nfs.py index 85de95aa9db..155112b0669 100644 --- a/cinder/volume/drivers/nexenta/ns5/nfs.py +++ b/cinder/volume/drivers/nexenta/ns5/nfs.py @@ -316,7 +316,7 @@ class NexentaNfsDriver(nfs.NfsDriver): if capabilities['free_capacity_gb'] < volume['size']: LOG.error('There is not enough space available on the ' - 'host %(host)s to migrate volume %(volume), ' + 'host %(host)s to migrate volume %(volume)s, ' 'free space: %(free)d, required: %(size)d', {'host': host, 'volume': volume['name'], 'free': capabilities['free_capacity_gb'],