From d6bc06d57b00631881d2f02465f78121bb4f77d5 Mon Sep 17 00:00:00 2001 From: Lucian Petrut Date: Wed, 2 Aug 2023 13:08:01 +0000 Subject: [PATCH] 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 (cherry picked from commit 8d294f948a78d7f98392fe2a3bf123f583eb9757) --- qa/workunits/windows/py_tests/internal/rbd_image.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qa/workunits/windows/py_tests/internal/rbd_image.py b/qa/workunits/windows/py_tests/internal/rbd_image.py index 772819ee804af..e7599383321cc 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 -- 2.39.5