qa/suites/rbd: remove baremetal based setup needed for iscsi testing

* replace ceph baremetal deployment with cephadm based deployment

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
This commit is contained in:
Deepika Upadhyay 2021-10-13 11:47:11 +05:30
parent 8a35516294
commit a7952949a8
5 changed files with 34 additions and 40 deletions

View File

@ -1,21 +1,14 @@
use_shaman: True
tasks:
- cephadm:
- cephadm.shell:
host.a:
- ceph orch status
- ceph orch ps
- ceph orch ls
- ceph orch host ls
- ceph orch device ls
- install:
extra_packages:
- iscsi-initiator-utils
- device-mapper-multipath
- ceph:
- install:
packages:
rpm:
- tcmu-runner
project: tcmu-runner
sha1: latest
- install:
packages:
rpm:
- ceph-iscsi
shaman:
force_noarch: True
project: ceph-iscsi
sha1: latest

View File

@ -1,4 +1,19 @@
roles:
- [mon.a, osd.0, osd.1, osd.2, a_gateway.0]
- [mon.b, osd.3, osd.4, osd.5, b_client.0]
- [mon.c, mgr.x, osd.6, osd.7, c_gateway.1]
- - host.a
- mon.a
- mgr.x
- osd.0
- osd.1
- client.0
- ceph.iscsi.iscsi.a
- - mon.b
- osd.2
- osd.3
- osd.4
- client.1
- - mon.c
- osd.5
- osd.6
- osd.7
- client.2
- ceph.iscsi.iscsi.b

View File

@ -1 +0,0 @@
../.qa/

View File

@ -1,12 +0,0 @@
overrides:
ceph:
log-ignorelist:
- overall HEALTH_
- \(CACHE_POOL_NEAR_FULL\)
- \(CACHE_POOL_NO_HIT_SET\)
tasks:
- exec:
a_gateway.0:
- sudo ceph osd pool create rbd 4
- sudo ceph osd pool create datapool 4
- sudo ceph osd pool application enable datapool rbd

View File

@ -1,22 +1,21 @@
tasks:
- ceph_iscsi:
gateways: [a_gateway.0, c_gateway.1]
clients: [b_client.0]
- ceph_iscsi_client:
clients: [client.1]
- cram:
parallel: False
clients:
a_gateway.0:
client.0:
- src/test/cli-integration/rbd/gwcli_create.t
b_client.0:
client.1:
- src/test/cli-integration/rbd/iscsi_client.t
c_gateway.1:
client.2:
- src/test/cli-integration/rbd/gwcli_delete.t
- cram:
parallel: False
clients:
a_gateway.0:
client.0:
- src/test/cli-integration/rbd/rest_api_create.t
b_client.0:
client.1:
- src/test/cli-integration/rbd/iscsi_client.t
c_gateway.1:
client.2:
- src/test/cli-integration/rbd/rest_api_delete.t