From 27f2d08c11ab0b4be20b1ad6b30cf973d5a1fcb5 Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Mon, 5 Oct 2015 12:55:52 -0400 Subject: [PATCH] Fix broken format string in vol mgr log "Detected volume stuck in" message is not formatted correctly. Change-Id: Ia2b3797508d8bcbc00f2c85d1d9f8172d923a062 --- cinder/volume/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.45.2