Incorrect argument order passed to swap_volume
swap_volume method in _ComputeV4Proxy has incorrect argument ordering, due to which attach volume migration is failing with AttributeError Modified the _ComputeV4Proxy detach_volume to have correct argument ordering. Change-Id: I899c053246f9eb4ac9b13a8434161a82193d1cef Closes-Bug: #1451860
This commit is contained in:
parent
c3a85120c7
commit
80832d9bb4
|
@ -6828,8 +6828,8 @@ class _ComputeV4Proxy(object):
|
|||
return self.manager.set_host_enabled(ctxt, enabled)
|
||||
|
||||
def swap_volume(self, ctxt, instance, old_volume_id, new_volume_id):
|
||||
return self.manager.swap_volume(ctxt, instance, old_volume_id,
|
||||
new_volume_id)
|
||||
return self.manager.swap_volume(ctxt, old_volume_id, new_volume_id,
|
||||
instance)
|
||||
|
||||
def get_host_uptime(self, ctxt):
|
||||
return self.manager.get_host_uptime(ctxt)
|
||||
|
|
Loading…
Reference in New Issue