cinder/cinder/volume
Zhiteng Huang f4f42c966e Log message cleanup for volume-usage-audit
volume-usage-audit utlis logs unecessary message at for deleted
volumes or exception:

  try:
      LOG.debug('Send notification for vol X')
      _notify_func
  except Exception:
      LOG.exception(...)

In the case when _notify_func raises exception, it logs
'Send notification' and the exception.

This change reduce logs by only logging 'Sent notification' when
there is no exception by:

  try:
      _notify_func
      LOG.debug('Sent notification for vol X')
  except Exception:
      LOG.exception(...)

Also, this change fixes notify_snapshot_usage() for not handling
the case when source volume for the snapshot is deleted.

Closes-bug: #1631561

Change-Id: Iff5448e888ee39bce1ff99c7bf48581d655fb687
2016-10-09 19:27:41 -07:00
..
drivers Merge "Dell SC: Can incorrectly identify if it is failed over" 2016-10-07 19:34:24 +00:00
flows Remove support for 2.x scheduler RPC API 2016-10-05 10:57:58 +02:00
targets fix the %{} when string formating 2016-09-11 13:43:46 +08:00
__init__.py Fix dynamic import of CONF.volume_api_class 2016-02-12 10:50:31 -06:00
api.py Remove support for 2.x scheduler RPC API 2016-10-05 10:57:58 +02:00
configuration.py Remove unused logging import and LOG global var 2016-05-20 17:17:38 +08:00
driver.py Removing deprecated Dell EqualLogic config options 2016-10-03 08:54:30 -07:00
driver_utils.py Give more fine grained access to DriverInitiatorData 2016-06-03 11:06:48 -07:00
group_types.py Add group type and group specs 2016-07-08 14:26:39 -04:00
manager.py Merge "Remove old deprecated driver mappings" 2016-10-07 03:20:56 +00:00
qos_specs.py Fix mistakes introduced with QoSSpecs object 2016-07-28 13:34:24 +02:00
rpcapi.py Remove support for 2.x volume RPC API 2016-10-05 11:00:16 +02:00
throttling.py Fix volume throttling to Python 3 2015-10-02 07:01:03 +00:00
utils.py Log message cleanup for volume-usage-audit 2016-10-09 19:27:41 -07:00
volume_types.py Add combined function get_vol_type_by_name_or_id 2016-09-14 17:42:14 +08:00