api cinder volume_migrate wrong number of params
We were missing the lock_volume parameter, causing the call to volume_migrate to always fail. Change-Id: I8d2b5db9e2cb9551ac4bb47564b1f81c088d4ed3 Co-Authored-By: Dmitry Galkin Closes-bug: #1533663
This commit is contained in:
parent
78bfa9727d
commit
6a8c054097
@ -334,10 +334,12 @@ def volume_get_encryption_metadata(request, volume_id):
|
||||
return cinderclient(request).volumes.get_encryption_metadata(volume_id)
|
||||
|
||||
|
||||
def volume_migrate(request, volume_id, host, force_host_copy=False):
|
||||
def volume_migrate(request, volume_id, host, force_host_copy=False,
|
||||
lock_volume=False):
|
||||
return cinderclient(request).volumes.migrate_volume(volume_id,
|
||||
host,
|
||||
force_host_copy)
|
||||
force_host_copy,
|
||||
lock_volume)
|
||||
|
||||
|
||||
def volume_snapshot_get(request, snapshot_id):
|
||||
|
Loading…
Reference in New Issue
Block a user