From: Eric Harney Date: Mon, 5 Oct 2015 16:55:52 +0000 (-0400) Subject: Fix broken format string in vol mgr log X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=27f2d08c11ab0b4be20b1ad6b30cf973d5a1fcb5;p=openstack-build%2Fcinder-build.git Fix broken format string in vol mgr log "Detected volume stuck in" message is not formatted correctly. Change-Id: Ia2b3797508d8bcbc00f2c85d1d9f8172d923a062 --- diff --git a/cinder/volume/manager.py b/cinder/volume/manager.py index 7dc47d9a3..65f2e9a3f 100644 --- a/cinder/volume/manager.py +++ b/cinder/volume/manager.py @@ -403,7 +403,7 @@ class VolumeManager(manager.SchedulerDependentManager): {'status': 'error'}) elif volume['status'] in ('downloading', 'creating'): LOG.warning(_LW("Detected volume stuck " - "in %s(curr_status)s " + "in %(curr_status)s " "status, setting to ERROR."), {'curr_status': volume['status']}, resource=volume)