Currently we pass in a dictionary of the volume properties, but not the
actual volume model. This dictionary is missing some of the properties
like ‘name’ which backends may required for volume operations.
Change-Id: Idcb7b2c8313360a77ba336f3b7534d8fa7431a41
Closes-Bug: #
1491585
:param secondary: Specifies rep target to fail over to
"""
try:
+ volume = self.db.volume_get(context, volume['id'])
volume_updates = self.driver.replication_failover(context,
volume,
secondary)
"""
try:
+ volume = self.db.volume_get(context, volume['id'])
replication_targets = self.driver.list_replication_targets(context,
volume)