Change in vdsm[master]: vm: added missing diskReplicate slot in Drive class

derez at redhat.com derez at redhat.com
Mon May 26 20:28:29 UTC 2014


Daniel Erez has uploaded a new change for review.

Change subject: vm: added missing diskReplicate slot in Drive class
......................................................................

vm: added missing diskReplicate slot in Drive class

Following commit I6e8dadabdd02d3b44606f215c4bc7b7e306a591a,
added missing 'diskReplicate' slot in VM -> Drive class.

Currently, live storage migration fails due to an exception [1]
on 'diskReplicateStart' method.

[1] AttributeError: 'Drive' object has no attribute 'diskReplicate'

Change-Id: Iffd1e8605786c41920f5c5f171e42fb9a12474dc
Signed-off-by: Daniel Erez <derez at redhat.com>
---
M vdsm/virt/vm.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/31/28131/1

diff --git a/vdsm/virt/vm.py b/vdsm/virt/vm.py
index a862ef4..8881d27 100644
--- a/vdsm/virt/vm.py
+++ b/vdsm/virt/vm.py
@@ -1027,7 +1027,7 @@
                  'propagateErrors', 'address', 'apparentsize', 'volumeInfo',
                  'index', 'name', 'optional', 'shared', 'truesize',
                  'volumeChain', 'baseVolumeID', 'serial', 'reqsize', 'cache',
-                 '_blockDev', 'extSharedState', 'drv', 'sgio', 'GUID')
+                 '_blockDev', 'extSharedState', 'drv', 'sgio', 'GUID', 'diskReplicate')
     VOLWM_CHUNK_MB = config.getint('irs', 'volume_utilization_chunk_mb')
     VOLWM_FREE_PCT = 100 - config.getint('irs', 'volume_utilization_percent')
     VOLWM_CHUNK_REPLICATE_MULT = 2  # Chunk multiplier during replication


-- 
To view, visit http://gerrit.ovirt.org/28131
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iffd1e8605786c41920f5c5f171e42fb9a12474dc
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <derez at redhat.com>


More information about the vdsm-patches mailing list