Skip to content

Instantly share code, notes, and snippets.

@yuvalif
Last active October 26, 2023 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuvalif/d6a722ea3ebf1eda5fdec1e87db487d9 to your computer and use it in GitHub Desktop.
Save yuvalif/d6a722ea3ebf1eda5fdec1e87db487d9 to your computer and use it in GitHub Desktop.
archive_path: /home/<username>/archive_dir
verbose: true
interactive-on-error: true
## wait_for_scrub being false makes locked runs go a lot faster
wait_for_scrub: false
owner: scheduled_<username>@teuthology
kernel:
kdb: true
sha1: distro
overrides:
admin_socket:
branch: <branch name>
ceph:
conf:
client:
debug rgw: 20
rgw crypt require ssl: false
rgw crypt s3 kms backend: testing
rgw crypt s3 kms encryption keys: testkey-1=YmluCmJvb3N0CmJvb3N0LWJ1aWxkCmNlcGguY29uZgo=
testkey-2=aWIKTWFrZWZpbGUKbWFuCm91dApzcmMKVGVzdGluZwo=
rgw lc debug interval: 10
rgw torrent flag: true
setgroup: ceph
setuser: ceph
mgr:
debug mgr: 20
debug ms: 1
mon:
debug mon: 20
debug ms: 1
debug paxos: 20
osd:
bdev async discard: true
bdev enable discard: true
bluestore allocator: bitmap
bluestore block size: 96636764160
bluestore fsck on mount: true
debug bluefs: 1/20
debug bluestore: 1/20
debug ms: 1
debug osd: 20
debug rocksdb: 4/10
mon osd backfillfull_ratio: 0.85
mon osd full ratio: 0.9
mon osd nearfull ratio: 0.8
osd failsafe full ratio: 0.95
osd objectstore: bluestore
flavor: default
fs: xfs
log-ignorelist:
- \(MDS_ALL_DOWN\)
- \(MDS_UP_LESS_THAN_MAX\)
- \(PG_AVAILABILITY\)
- \(PG_DEGRADED\)
sha1: <branch sha1>
wait-for-scrub: false
ceph-deploy:
bluestore: true
conf:
client:
log file: /var/log/ceph/ceph-$name.$pid.log
mon:
osd default pool size: 2
osd:
bdev async discard: true
bdev enable discard: true
bluestore block size: 96636764160
bluestore fsck on mount: true
debug bluefs: 1/20
debug bluestore: 1/20
debug rocksdb: 4/10
mon osd backfillfull_ratio: 0.85
mon osd full ratio: 0.9
mon osd nearfull ratio: 0.8
osd failsafe full ratio: 0.95
osd objectstore: bluestore
install:
ceph:
flavor: default
sha1: <branch sha1>
openssl_keys:
rgw.client.0:
ca: root
client: client.0
embed-key: true
root:
client: client.0
cn: teuthology
install:
- client.0
key-type: rsa:4096
rgw:
client.0:
ssl certificate: rgw.client.0
compression type: random
datacache: true
datacache_path: /tmp/rgw_datacache
ec-data-pool: false
frontend: beast
storage classes: LUKEWARM, FROZEN
s3tests:
force-branch: ceph-master
selinux:
whitelist:
- scontext=system_u:system_r:logrotate_t:s0
thrashosds:
bdev_inject_crash: 2
bdev_inject_crash_probability: 0.5
workunit:
branch: <branch name>
sha1: <branch sha1>
roles:
- - mon.a
- mon.b
- mgr.x
- osd.0
- osd.1
- client.0
repo: https://github.com/ceph/ceph-ci.git
sha1: <branch sha1>
suite_branch: <branch name>
suite_relpath: qa
suite_repo: https://github.com/ceph/ceph-ci.git
suite_sha1: <branch sha1>
tasks:
- ceph: null
- openssl_keys: null
- rgw:
client.0: null
- lua-tests:
client.0:
rgw_server: client.0
@yuvalif
Copy link
Author

yuvalif commented Oct 26, 2023

lock a machine:

teuthology-lock --lock-many 1 --machine-type smithi > targets.yaml

run the test:

teuthology -v --archive archive_dir targets.yaml orig.config.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment