Nir Soffer has posted comments on this change.

Change subject: iscsi: checking image size against VG free space
......................................................................


Patch Set 11:

(2 comments)

http://gerrit.ovirt.org/#/c/34940/11/src/plugins/ovirt-hosted-engine-setup/vm/image.py
File src/plugins/ovirt-hosted-engine-setup/vm/image.py:

Line 89:         estimate_gb = None
Line 90:         if self.environment[
Line 91:             ohostedcons.StorageEnv.BDEVICE_SIZE_GB
Line 92:         ] is not None:
Line 93:             # conservative estimate
Is this really "Done"?

See 
http://gerrit.ovirt.org/#/c/34940/10..11/src/plugins/ovirt-hosted-engine-setup/vm/image.py
Line 94:             estimate_gb = int(self.environment[
Line 95:                 ohostedcons.StorageEnv.BDEVICE_SIZE_GB
Line 96:             ]) - ohostedcons.Const.STORAGE_DOMAIN_OVERHEAD_GIB
Line 97: 


Line 186:         if self.environment[ohostedcons.StorageEnv.DOMAIN_TYPE] in (
Line 187:             ohostedcons.DomainTypes.ISCSI,
Line 188:         ):
Line 189:             # Double check for available VG space on the block device 
where
Line 190:             # we have to preallocate the image
You did not address my comment in 
http://gerrit.ovirt.org/#/c/34940/10..11/src/plugins/ovirt-hosted-engine-setup/vm/image.py
Line 191:             vginfo = serv.s.getVGInfo(
Line 192:                 self.environment[ohostedcons.StorageEnv.VG_UUID]
Line 193:             )
Line 194:             self.logger.debug(vginfo)


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I17f861a053f6ac38983967ffb07ecca9ff9b8de1
Gerrit-PatchSet: 11
Gerrit-Project: ovirt-hosted-engine-setup
Gerrit-Branch: master
Gerrit-Owner: Simone Tiraboschi <stira...@redhat.com>
Gerrit-Reviewer: Lev Veyde <lve...@redhat.com>
Gerrit-Reviewer: Nir Soffer <nsof...@redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbona...@redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stira...@redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <d...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to