Francesco Romani has uploaded a new change for review.

Change subject: vm: enable disk stats collection on recovery
......................................................................

vm: enable disk stats collection on recovery

In the recovery path we never enable the disk
stats collection.
This patch fixes that.

Change-Id: Ibd7d32373f5a0a7dd4ef88c5a0ad5a9f3d52938c
Signed-off-by: Francesco Romani <[email protected]>
---
M vdsm/virt/vm.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/06/32406/1

diff --git a/vdsm/virt/vm.py b/vdsm/virt/vm.py
index 89ebb41..48d0ff9 100644
--- a/vdsm/virt/vm.py
+++ b/vdsm/virt/vm.py
@@ -2896,6 +2896,7 @@
             for drive in devices[DISK_DEVICES]:
                 if drive['device'] == 'disk' and isVdsmImage(drive):
                     self.sdIds.append(drive['domainID'])
+            self.startDisksStatsCollection()
 
         for devType, devClass in self.DeviceMapping:
             for dev in devices[devType]:


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibd7d32373f5a0a7dd4ef88c5a0ad5a9f3d52938c
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to