]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa: add qa/tasks/nvmeof.py and rbd/nvmeof_basic_task and fio workunits 54959/head
authorVallari Agrawal <val.agl002@gmail.com>
Thu, 1 Feb 2024 13:07:27 +0000 (18:37 +0530)
committerVallari Agrawal <val.agl002@gmail.com>
Mon, 12 Feb 2024 07:30:09 +0000 (13:00 +0530)
commit1713c4852ca66f9ec5023515a26f1f06902a21bc
tree6ede21a0741ba1e9a2270c49b7f43d23d84b9635
parent4a87939b9c1b4a4b90a8b8bb0c84ef06329e44cc
qa: add qa/tasks/nvmeof.py and rbd/nvmeof_basic_task and fio workunits

This is v2 of the rbd/nvmeof test: It deploys 1 gateway and 1 initiator.
Then does basic verification on nvme commands and runs fio.

This commit creates:
1. qa/tasks/nvmeof.py: adds a new 'Nvmeof' task which deploys
    the gateway and shares config with the initiator hosts.
    Sharing config was previously done by 'nvmeof_gateway_cfg' task
    in qa/tasks/cephadm.py (that task is removed in this commit).
2. qa/workunits/rbd/nvmeof_basic_tests.sh:
    Runs nvme commands (discovery, connect, connect-all, disconnect-all,
    and list-subsys) and does basic verification of the output.
3. qa/workunits/rbd/nvmeof_fio_test.sh:
    Runs fio command. Also runs iostat in parallel if IOSTAT_INTERVAL
    variable is set. This variable configures the delay between each iostat
    print.

nvmeof-cli upgrade from v0.0.6 to v0.0.7 introduced major changes
to all nvmeof commands. This commit changes v0.0.6 commands to
v0.0.7 in qa/workunits/rbd/nvmeof_initiator.sh

Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
qa/suites/rbd/nvmeof/base/install.yaml
qa/suites/rbd/nvmeof/cluster/fixed-3.yaml
qa/suites/rbd/nvmeof/workloads/nvmeof_initiator.yaml
qa/tasks/cephadm.py
qa/tasks/nvmeof.py [new file with mode: 0644]
qa/workunits/rbd/nvmeof_basic_tests.sh [new file with mode: 0755]
qa/workunits/rbd/nvmeof_fio_test.sh [new file with mode: 0755]
qa/workunits/rbd/nvmeof_initiator.sh