Skip to content

Commit 5c29d44

Browse files
committed
CA-229347: Pool_update.introduce doesn't need dom0 free disk 3 times of update size.
To install an update, we create a VDI and import the corresponding ISO file, which will be mounted. Hence, dom0 no longer needs free disk space 3 times the size of the update. This commit removes this check. Signed-off-by: Hui Zhang <[email protected]>
1 parent 13a2dc0 commit 5c29d44

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ocaml/xapi/xapi_pool_update.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,6 @@ let introduce ~__context ~vdi =
368368
(*If current disk free space is smaller than 1MB raise exception*)
369369
assert_space_available ~multiplier:1L Xapi_globs.host_update_dir (Int64.mul 1024L 1024L);
370370
let update_info = extract_update_info ~__context ~vdi ~verify in
371-
ignore(assert_space_available Xapi_globs.host_update_dir update_info.installation_size);
372371
try
373372
let update = Db.Pool_update.get_by_uuid ~__context ~uuid:update_info.uuid in
374373
let vdi_of_update = Db.Pool_update.get_vdi ~__context ~self:update in

0 commit comments

Comments
 (0)