diff --git a/HISTORY.rst b/HISTORY.rst index 8758cbe..9470f1c 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -2,6 +2,13 @@ History ======= +0.3.8 (2019-02-XY) +------------------ + +- Bug fixes: + + - Fix exception raising on failed attach + 0.3.7 (2019-02-05) ------------------ diff --git a/cinderlib/objects.py b/cinderlib/objects.py index 0ec0d95..1b45efc 100644 --- a/cinderlib/objects.py +++ b/cinderlib/objects.py @@ -788,7 +788,7 @@ class Connection(Object, LazyVolumeAttr): if error_msg: self.detach(force=True, ignore_errors=True) raise cinder_exception.DeviceUnavailable( - path=self.path, attach_info=self._ovo.connection_information, + path=self.path, attach_info=self._ovo.connection_info, reason=error_msg) if self._volume: self.volume.local_attach = self