Use v2 endpoint with v2 shell for migration
Change the volume migration shell to use the v2 endpoint for v2. Change-Id: I0a902aa5e3f86c0d9562eb75677b11a364f9d371 Closes-Bug: #1230124
This commit is contained in:
@@ -809,7 +809,7 @@ def do_upload_to_image(cs, args):
|
||||
'host-based migration mechanism, bypassing driver '
|
||||
'optimizations (Default=False).',
|
||||
default=False)
|
||||
@utils.service_type('volume')
|
||||
@utils.service_type('volumev2')
|
||||
def do_migrate(cs, args):
|
||||
"""Migrate the volume to the new host."""
|
||||
volume = _find_volume(cs, args.volume)
|
||||
|
||||
Reference in New Issue
Block a user