From 1804a83400b7c3dc07650e09da5224bb999d0940 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 12 Aug 2014 13:53:16 -0700 Subject: [PATCH] ceph-disk: fix log syntax error File "/usr/sbin/ceph-disk", line 303, in command_check_call LOG.info('Running command: %s' % ' '.join(arguments)) TypeError: sequence item 2: expected string, NoneType found Backport: firefly Signed-off-by: Sage Weil (cherry picked from commit 1088d6cd11b476cd67ed30e07edd363c4057a003) --- src/ceph-disk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ceph-disk b/src/ceph-disk index 8d805324d4d46..a8a9f8adffa45 100755 --- a/src/ceph-disk +++ b/src/ceph-disk @@ -300,7 +300,7 @@ def command_check_call(arguments): otherwise. """ arguments = _get_command_executable(arguments) - LOG.info('Running command: %s' % ' '.join(arguments)) + LOG.info('Running command: %s', ' '.join(arguments)) return subprocess.check_call(arguments) -- 2.39.5