From 99f3ce38e9ad1e272a4a04858ff1acc709e7c9cb Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Tue, 17 Dec 2013 07:29:46 -0500 Subject: [PATCH] make delete recovery messages debug level lvm.delete has recovery logic within it to do a second attempt if it should fail the first time. It is currently however logging those second attempts at error and warn levels. However, as this is normal flow these should be debug level instead. This is currently causing a few resets in the gate because this is a non whitelisted error. Change-Id: Ie684331d9d97c089ec23569d06981e90eb7f6a67 Closes-Bug: #1261731 --- cinder/brick/local_dev/lvm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cinder/brick/local_dev/lvm.py b/cinder/brick/local_dev/lvm.py index 11d89e07d53..8772d1c1c66 100644 --- a/cinder/brick/local_dev/lvm.py +++ b/cinder/brick/local_dev/lvm.py @@ -574,9 +574,9 @@ class LVM(executor.Executor): mesg = (_('Error reported running lvremove: CMD: %(command)s, ' 'RESPONSE: %(response)s') % {'command': err.cmd, 'response': err.stderr}) - LOG.error(mesg) + LOG.debug(mesg) - LOG.warning(_('Attempting udev settle and retry of lvremove...')) + LOG.debug(_('Attempting udev settle and retry of lvremove...')) self._execute('udevadm', 'settle', root_helper=self._root_helper, run_as_root=True)