Federico Simoncelli has posted comments on this change.
Change subject: vm: new parameter 'protected' for vm creation ......................................................................
Patch Set 2:
(1 comment)
.................................................... File vdsm/vm.py Line 2073: def isDisksStatsCollectionEnabled(self): Line 2074: return self._volumesPrepared Line 2075: Line 2076: def isProtected(self): Line 2077: return (config.getboolean('irs', 'use_volume_leases') Maybe best thing would be to set protected = true when the vm is created if use_volume_leases is true. Even better would be removing use_volume_leases completely. Line 2078: or utils.tobool(self.conf.get('protected', 'false'))) Line 2079: Line 2080: def preparePaths(self, drives): Line 2081: domains = set()