]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa: add basic Ceph on Windows integration test 45933/head
authorIonut Balutoiu <ibalutoiu@cloudbasesolutions.com>
Wed, 6 Apr 2022 18:21:39 +0000 (21:21 +0300)
committerIonut Balutoiu <ibalutoiu@cloudbasesolutions.com>
Tue, 19 Apr 2022 14:21:52 +0000 (17:21 +0300)
commit80541997871fabae785bea989acf62ef99a6946e
tree880fe4cc2e6bbe243a26f68202925f3b8916da20
parent6f773621e1edef7e376d484d3c7de120dc37112b
qa: add basic Ceph on Windows integration test

Due to lack of Windows support in the Teuthology, the test case adopts
the following workaround:

* Deploy baremetal machine with `ubuntu_latest.yaml` and
  configure it with libvirt KVM.
* Create a libvirt VM and provision it with Windows Server 2019, using
  the official ISO from Microsoft.
* Configure SSH in the Windows VM, and run the tests remotely via SSH.

The implementation of the test case consists of workunit scripts.

`qa/workunits/windows/test_rbd_wnbd.py` is the main Python script
to test Ceph on Windows basic functionality. This is executed in the
libvirt VM configured with Windows Server 2019.

Co-authored-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
Co-authored-by: Daniel Vincze <dvincze@cloudbasesolutions.com>
Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
17 files changed:
qa/suites/windows/.qa [new symlink]
qa/suites/windows/basic/% [new file with mode: 0644]
qa/suites/windows/basic/.qa [new symlink]
qa/suites/windows/basic/clusters/.qa [new symlink]
qa/suites/windows/basic/clusters/fixed-1.yaml [new symlink]
qa/suites/windows/basic/install/.qa [new symlink]
qa/suites/windows/basic/install/install.yaml [new file with mode: 0644]
qa/suites/windows/basic/tasks/.qa [new symlink]
qa/suites/windows/basic/tasks/rbd_wnbd.yaml [new file with mode: 0644]
qa/suites/windows/basic/ubuntu_latest.yaml [new symlink]
qa/workunits/windows/libvirt_vm/autounattend.xml [new file with mode: 0644]
qa/workunits/windows/libvirt_vm/first-logon.ps1 [new file with mode: 0644]
qa/workunits/windows/libvirt_vm/setup.ps1 [new file with mode: 0644]
qa/workunits/windows/libvirt_vm/setup.sh [new file with mode: 0755]
qa/workunits/windows/libvirt_vm/utils.ps1 [new file with mode: 0644]
qa/workunits/windows/run-rbd-wnbd-tests.sh [new file with mode: 0755]
qa/workunits/windows/test_rbd_wnbd.py [new file with mode: 0644]