From: Jenkins Date: Mon, 15 Sep 2014 04:04:13 +0000 (+0000) Subject: Merge "Don't clear _mounted_shares list in remoteFS while updating" X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=19429c7f766cd400297430f5927cf3c2ae140bc5;p=openstack-build%2Fcinder-build.git Merge "Don't clear _mounted_shares list in remoteFS while updating" --- 19429c7f766cd400297430f5927cf3c2ae140bc5 diff --cc cinder/volume/drivers/remotefs.py index d72d57f5d,d62f14e80..a9fe7f1ad --- a/cinder/volume/drivers/remotefs.py +++ b/cinder/volume/drivers/remotefs.py @@@ -147,10 -147,12 +147,12 @@@ class RemoteFSDriver(driver.VolumeDrive for share in self.shares.keys(): try: self._ensure_share_mounted(share) - self._mounted_shares.append(share) + mounted_shares.append(share) except Exception as exc: - LOG.warning(_('Exception during mounting %s') % (exc,)) + LOG.error(_('Exception during mounting %s') % (exc,)) + self._mounted_shares = mounted_shares + LOG.debug('Available shares %s' % self._mounted_shares) def create_cloned_volume(self, volume, src_vref):