From: Lucian Petrut Date: Wed, 2 Aug 2023 13:08:01 +0000 (+0000) Subject: qa: update rbd-wnbd test, using MBR instead of GPT X-Git-Tag: v20.0.0~1915^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F52560%2Fhead;p=ceph.git qa: update rbd-wnbd test, using MBR instead of GPT We're getting the following error while initializing 64MB disks on WS 2019: "The disk is not large enough to support a GPT partition style.". For this reason, we'll use MBR instead. Signed-off-by: Lucian Petrut --- diff --git a/qa/workunits/windows/py_tests/internal/rbd_image.py b/qa/workunits/windows/py_tests/internal/rbd_image.py index 772819ee804a..e7599383321c 100644 --- a/qa/workunits/windows/py_tests/internal/rbd_image.py +++ b/qa/workunits/windows/py_tests/internal/rbd_image.py @@ -185,7 +185,8 @@ class RbdImage(object): @Tracer.trace @utils.retry_decorator() def _init_disk(self): - cmd = f"Get-Disk -Number {self.disk_number} | Initialize-Disk" + cmd = (f"Get-Disk -Number {self.disk_number} | " + "Initialize-Disk -PartitionStyle MBR") utils.ps_execute(cmd) @Tracer.trace