]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa: fix test_rbd_wnbd.py
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Thu, 17 Nov 2022 08:29:48 +0000 (10:29 +0200)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Wed, 23 Nov 2022 10:59:30 +0000 (12:59 +0200)
commit5bab166663da3ab96f846566f743feeeaffeefaf
tree7289de202d9f2f4c96d4a84246036f11eff47918
parente070ec36f7907e6de87bcf3b75859188dad84fe4
qa: fix test_rbd_wnbd.py

The rbd-wnbd Python test now fails as the wnbd driver changed
the bus type from "virtual" to "SAS" in order to accommodate
Microsoft Failover Cluster.

SAS is considered a shared bus, so with the default SAN policy
(offlineShared), the disks will be offline/read-only by
default[1][2].

That being considered, we're updating the test to set the rw disk
flag before attempting any write operations.

[1] https://learn.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/microsoft-windows-partitionmanager-sanpolicy
[2] https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/san

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
qa/workunits/windows/test_rbd_wnbd.py