mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
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:
commit
4d0cc762d7
0
qa/suites/orch/cephadm/smoke-small/%
Normal file
0
qa/suites/orch/cephadm/smoke-small/%
Normal file
1
qa/suites/orch/cephadm/smoke-small/.qa
Symbolic link
1
qa/suites/orch/cephadm/smoke-small/.qa
Symbolic link
@ -0,0 +1 @@
|
||||
../.qa/
|
@ -0,0 +1 @@
|
||||
../.qa/distros/container-hosts/centos_8.stream_container_tools_crun.yaml
|
1
qa/suites/orch/cephadm/smoke-small/0-nvme-loop.yaml
Symbolic link
1
qa/suites/orch/cephadm/smoke-small/0-nvme-loop.yaml
Symbolic link
@ -0,0 +1 @@
|
||||
.qa/overrides/nvme_loop.yaml
|
1
qa/suites/orch/cephadm/smoke-small/agent/.qa
Symbolic link
1
qa/suites/orch/cephadm/smoke-small/agent/.qa
Symbolic link
@ -0,0 +1 @@
|
||||
../.qa/
|
5
qa/suites/orch/cephadm/smoke-small/agent/off.yaml
Normal file
5
qa/suites/orch/cephadm/smoke-small/agent/off.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
overrides:
|
||||
ceph:
|
||||
conf:
|
||||
mgr:
|
||||
mgr/cephadm/use_agent: false
|
5
qa/suites/orch/cephadm/smoke-small/agent/on.yaml
Normal file
5
qa/suites/orch/cephadm/smoke-small/agent/on.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
overrides:
|
||||
ceph:
|
||||
conf:
|
||||
mgr:
|
||||
mgr/cephadm/use_agent: true
|
29
qa/suites/orch/cephadm/smoke-small/fixed-2.yaml
Normal file
29
qa/suites/orch/cephadm/smoke-small/fixed-2.yaml
Normal 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
|
1
qa/suites/orch/cephadm/smoke-small/mon_election
Symbolic link
1
qa/suites/orch/cephadm/smoke-small/mon_election
Symbolic link
@ -0,0 +1 @@
|
||||
.qa/mon_election
|
16
qa/suites/orch/cephadm/smoke-small/start.yaml
Normal file
16
qa/suites/orch/cephadm/smoke-small/start.yaml
Normal 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 '
|
@ -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']
|
||||
|
Loading…
Reference in New Issue
Block a user