Merge "Dell SC: Log FO state more clearly"

This commit is contained in:
Jenkins 2016-11-08 04:44:46 +00:00 committed by Gerrit Code Review
commit 268da28330
1 changed files with 5 additions and 0 deletions

View File

@ -679,6 +679,11 @@ class DellCommonDriver(driver.ConsistencyGroupVD, driver.ManageableVD,
if refresh:
self._update_volume_stats()
# Take this opportunity to report our failover state.
if self.failed_over:
LOG.debug('%(source)s has been failed over to %(dest)s',
{'source': self.backend_name,
'dest': self.active_backend_id})
return self._stats
def _update_volume_stats(self):