]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Remove update_volume_status log message from NFS driver
authorEric Harney <eharney@redhat.com>
Fri, 5 Apr 2013 14:50:31 +0000 (10:50 -0400)
committerEric Harney <eharney@redhat.com>
Fri, 5 Apr 2013 14:53:03 +0000 (10:53 -0400)
The manager logs an INFO message when this action occurs already,
and it not called by anyone else, so don't log twice:

INFO [cinder.volume.manager] Updating volume status
DEBUG [cinder.volume.drivers.nfs] Updating volume status

Change-Id: Id99be0c0e50837c2b59963d983b9a7db3d25919a

cinder/volume/drivers/nfs.py

index 767a26efaf6deceff31fa29350463fbb9161cfcb..9939fcfecd027b3fff5bc4ca46e1d2cd7dab592a 100755 (executable)
@@ -336,7 +336,6 @@ class NfsDriver(RemoteFsDriver):
     def _update_volume_status(self):
         """Retrieve status info from volume group."""
 
-        LOG.debug(_("Updating volume status"))
         data = {}
         backend_name = self.configuration.safe_get('volume_backend_name')
         data["volume_backend_name"] = backend_name or 'Generic_NFS'