Merge pull request #48428 from zmc/cephadm-smoke-small

qa/suites: Add orch/cephadm/smoke-small suite

Reviewed-by: Adam King <adking@redhat.com>
This commit is contained in:
Adam King 2023-01-24 09:08:44 -05:00 committed by GitHub
commit 4d0cc762d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 62 additions and 0 deletions

View File

View File

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

View File

@ -0,0 +1 @@
../.qa/distros/container-hosts/centos_8.stream_container_tools_crun.yaml

View File

@ -0,0 +1 @@
.qa/overrides/nvme_loop.yaml

View File

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

View File

@ -0,0 +1,5 @@
overrides:
ceph:
conf:
mgr:
mgr/cephadm/use_agent: false

View File

@ -0,0 +1,5 @@
overrides:
ceph:
conf:
mgr:
mgr/cephadm/use_agent: true

View File

@ -0,0 +1,29 @@
roles:
- - mon.a
- mgr.y
- osd.0
- client.0
- ceph.rgw.foo.a
- node-exporter.a
- alertmanager.a
- - mon.b
- mgr.x
- osd.1
- client.1
- prometheus.a
- grafana.a
- node-exporter.b
- - mon.c
- mgr.z
- osd.2
- client.2
- node-exporter.c
openstack:
- volumes: # attached to each instance
count: 1
size: 10 # GB
overrides:
ceph:
conf:
osd:
osd shutdown pgref assert: true

View File

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

View File

@ -0,0 +1,16 @@
tasks:
- cephadm:
conf:
mgr:
debug ms: 1
debug mgr: 20
- cephadm.shell:
mon.a:
- stat -c '%u %g' /var/log/ceph | grep '167 167'
- ceph orch status
- ceph orch ps
- ceph orch ls
- ceph orch host ls
- ceph orch device ls
- ceph orch ls --format yaml
- ceph orch ls | grep '^osd '

View File

@ -512,6 +512,8 @@ def ceph_bootstrap(ctx, config):
'/etc/ceph/{}.client.admin.keyring'.format(cluster_name),
'--output-pub-ssh-key', '{}/{}.pub'.format(testdir, cluster_name),
]
if config.get("no_cgroups_split") is True:
cmd.insert(cmd.index("bootstrap"), "--no-cgroups-split")
if config.get('registry-login'):
registry = config['registry-login']