Instead of raising an exception, the expected behaviour is to return
a tuple indicating that the driver does not support retype operation.
Closes-Bug: #
1430605
Change-Id: I395dfc3213bb560767ac3fc95e5d68c4a87a7640
raise NotImplementedError(msg)
def retype(self, context, volume, new_type, diff, host):
- msg = _("Retype existing volume not implemented.")
- raise NotImplementedError(msg)
+ return False, None
def reenable_replication(self, context, volume):
msg = _("sync_replica not implemented.")