]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
added downstream_config dir
authorRachanaben Patel <racpatel@redhat.com>
Tue, 5 Nov 2019 04:38:44 +0000 (20:38 -0800)
committerrakeshgm <rakeshgm014@gmail.com>
Mon, 24 Feb 2020 08:55:52 +0000 (14:25 +0530)
Signed-off-by: Rachanaben Patel <racpatel@redhat.com>
14 files changed:
qa/downstream-config/clusters/extra-client.yaml [new file with mode: 0644]
qa/downstream-config/clusters/fixed-1.yaml [new file with mode: 0644]
qa/downstream-config/clusters/fixed-2.yaml [new file with mode: 0644]
qa/downstream-config/clusters/fixed-3-cephfs.yaml [new file with mode: 0644]
qa/downstream-config/clusters/fixed-3.yaml [new file with mode: 0644]
qa/downstream-config/clusters/fixed-4.yaml [new file with mode: 0644]
qa/downstream-config/clusters/fixed-6.yaml [new file with mode: 0644]
qa/downstream-config/config/rados.yaml [new file with mode: 0644]
qa/downstream-config/mon_kv_backend/leveldb.yaml [new file with mode: 0644]
qa/downstream-config/mon_kv_backend/rocksdb.yaml [new file with mode: 0644]
qa/downstream-config/objectstore/bluestore-bitmap.yaml [new file with mode: 0644]
qa/downstream-config/objectstore/bluestore-comp.yaml [new file with mode: 0644]
qa/downstream-config/objectstore/bluestore.yaml [new file with mode: 0644]
qa/downstream-config/objectstore/filestore-xfs.yaml [new file with mode: 0644]

diff --git a/qa/downstream-config/clusters/extra-client.yaml b/qa/downstream-config/clusters/extra-client.yaml
new file mode 100644 (file)
index 0000000..d3da15f
--- /dev/null
@@ -0,0 +1,14 @@
+roles:
+- [mon.a, mon.c, osd.0, osd.1, osd.2]
+- [mon.b, mgr.x, mds.a, osd.3, osd.4, osd.5]
+- [client.0]
+- [client.1]
+openstack:
+- volumes: # attached to each instance
+    count: 3
+    size: 10 # GB
+overrides:
+  ceph:
+    conf:
+      osd:
+        osd shutdown pgref assert: true
diff --git a/qa/downstream-config/clusters/fixed-1.yaml b/qa/downstream-config/clusters/fixed-1.yaml
new file mode 100644 (file)
index 0000000..d8e5898
--- /dev/null
@@ -0,0 +1,14 @@
+overrides:
+  ceph-deploy:
+    conf:
+      global:
+        osd pool default size: 2
+        osd crush chooseleaf type: 0
+        osd pool default pg num:  128
+        osd pool default pgp num:  128
+  ceph:
+    conf:
+      osd:
+        osd shutdown pgref assert: true
+roles:
+- [mon.a, mgr.x, osd.0, osd.1, osd.2, client.0]
diff --git a/qa/downstream-config/clusters/fixed-2.yaml b/qa/downstream-config/clusters/fixed-2.yaml
new file mode 100644 (file)
index 0000000..5d5fcca
--- /dev/null
@@ -0,0 +1,12 @@
+roles:
+- [mon.a, mon.c, mgr.y, osd.0, osd.1, osd.2, osd.3, client.0]
+- [mon.b, mgr.x, osd.4, osd.5, osd.6, osd.7, client.1]
+openstack:
+- volumes: # attached to each instance
+    count: 4
+    size: 10 # GB
+overrides:
+  ceph:
+    conf:
+      osd:
+        osd shutdown pgref assert: true
diff --git a/qa/downstream-config/clusters/fixed-3-cephfs.yaml b/qa/downstream-config/clusters/fixed-3-cephfs.yaml
new file mode 100644 (file)
index 0000000..6c06a27
--- /dev/null
@@ -0,0 +1,16 @@
+roles:
+- [mon.a, mds.a, mgr.x, osd.0, osd.1]
+- [mon.b, mds.a-s, mon.c, mgr.y, osd.2, osd.3]
+- [client.0]
+openstack:
+- volumes: # attached to each instance
+    count: 2
+    size: 10 # GB
+log-rotate:
+  ceph-mds: 10G
+  ceph-osd: 10G
+overrides:
+  ceph:
+    conf:
+      osd:
+        osd shutdown pgref assert: true
diff --git a/qa/downstream-config/clusters/fixed-3.yaml b/qa/downstream-config/clusters/fixed-3.yaml
new file mode 100644 (file)
index 0000000..8dcb9ac
--- /dev/null
@@ -0,0 +1,13 @@
+roles:
+- [mon.a, mon.c, mgr.x, osd.0, osd.1, osd.2]
+- [mon.b, mgr.y, osd.3, osd.4, osd.5]
+- [osd.6, osd.7, osd.8, client.0]
+openstack:
+- volumes: # attached to each instance
+    count: 4
+    size: 10 # GB
+overrides:
+  ceph:
+    conf:
+      osd:
+        osd shutdown pgref assert: true
diff --git a/qa/downstream-config/clusters/fixed-4.yaml b/qa/downstream-config/clusters/fixed-4.yaml
new file mode 100644 (file)
index 0000000..8eb39a4
--- /dev/null
@@ -0,0 +1,10 @@
+roles: 
+- [mon.a, mgr.y, osd.0, osd.4, osd.8, osd.12]
+- [mon.b, osd.1, osd.5, osd.9, osd.13] 
+- [mon.c, osd.2, osd.6, osd.10, osd.14] 
+- [mgr.x, osd.3, osd.7, osd.11, osd.15, client.0]
+overrides:
+  ceph:
+    conf:
+      osd:
+        osd shutdown pgref assert: true
diff --git a/qa/downstream-config/clusters/fixed-6.yaml b/qa/downstream-config/clusters/fixed-6.yaml
new file mode 100644 (file)
index 0000000..de0cf0d
--- /dev/null
@@ -0,0 +1,15 @@
+roles:
+- [mon.a, mon.b, mgr.x, osd.0, osd.1, osd.2, osd.3, client.0]
+- [mon.c, mgr.y, client.1]
+- [osd.4, osd.5, client.2]
+- [osd.6, osd.7]
+
+openstack:
+- volumes: # attached to each instance
+    count: 4
+    size: 10 # GB
+overrides:
+  ceph:
+    conf:
+      osd:
+        osd shutdown pgref assert: true
diff --git a/qa/downstream-config/config/rados.yaml b/qa/downstream-config/config/rados.yaml
new file mode 100644 (file)
index 0000000..eb24e5e
--- /dev/null
@@ -0,0 +1,8 @@
+overrides:
+  ceph:
+    conf:
+      osd:
+        osd op queue: debug_random
+        osd op queue cut off: debug_random
+        osd debug verify missing on start: true
+        osd debug verify cached snaps: true
diff --git a/qa/downstream-config/mon_kv_backend/leveldb.yaml b/qa/downstream-config/mon_kv_backend/leveldb.yaml
new file mode 100644 (file)
index 0000000..270220e
--- /dev/null
@@ -0,0 +1,5 @@
+overrides:
+  ceph:
+    conf:
+      mon:
+        mon keyvaluedb: leveldb
diff --git a/qa/downstream-config/mon_kv_backend/rocksdb.yaml b/qa/downstream-config/mon_kv_backend/rocksdb.yaml
new file mode 100644 (file)
index 0000000..d37efa7
--- /dev/null
@@ -0,0 +1,7 @@
+overrides:
+  ceph:
+    conf:
+      global:
+        enable experimental unrecoverable data corrupting features: '*'
+      mon:
+        mon keyvaluedb: rocksdb
diff --git a/qa/downstream-config/objectstore/bluestore-bitmap.yaml b/qa/downstream-config/objectstore/bluestore-bitmap.yaml
new file mode 100644 (file)
index 0000000..bb007f6
--- /dev/null
@@ -0,0 +1,38 @@
+overrides:
+  thrashosds:
+    bdev_inject_crash: 2
+    bdev_inject_crash_probability: .5
+  ceph:
+    fs: xfs
+    conf:
+      osd:
+        osd objectstore: bluestore
+        bluestore block size: 96636764160
+        debug bluestore: 20
+        debug bluefs: 20
+        debug rocksdb: 10
+        bluestore fsck on mount: true
+        bluestore allocator: bitmap
+        # lower the full ratios since we can fill up a 100gb osd so quickly
+        mon osd full ratio: .9
+        mon osd backfillfull_ratio: .85
+        mon osd nearfull ratio: .8
+        osd failsafe full ratio: .95
+# this doesn't work with failures bc the log writes are not atomic across the two backends
+# #        bluestore bluefs env mirror: true
+  ceph-deploy:
+    fs: xfs
+    bluestore: yes
+    conf:
+      osd:
+        osd objectstore: bluestore
+        bluestore block size: 96636764160
+        debug bluestore: 20
+        debug bluefs: 20
+        debug rocksdb: 10
+        bluestore fsck on mount: true
+        # lower the full ratios since we can fill up a 100gb osd so quickly
+        mon osd full ratio: .9
+        mon osd backfillfull_ratio: .85
+        mon osd nearfull ratio: .8
+        osd failsafe full ratio: .95
diff --git a/qa/downstream-config/objectstore/bluestore-comp.yaml b/qa/downstream-config/objectstore/bluestore-comp.yaml
new file mode 100644 (file)
index 0000000..7984ec3
--- /dev/null
@@ -0,0 +1,23 @@
+overrides:
+  thrashosds:
+    bdev_inject_crash: 2
+    bdev_inject_crash_probability: .5
+  ceph:
+    fs: xfs
+    conf:
+      osd:
+        osd objectstore: bluestore
+        bluestore block size: 96636764160
+        debug bluestore: 20
+        debug bluefs: 20
+        debug rocksdb: 10
+        bluestore compression mode: aggressive
+        bluestore fsck on mount: true
+        # lower the full ratios since we can fill up a 100gb osd so quickly
+        mon osd full ratio: .9
+        mon osd backfillfull_ratio: .85
+        mon osd nearfull ratio: .8
+        osd failsafe full ratio: .95
+
+# this doesn't work with failures bc the log writes are not atomic across the two backends
+# #        bluestore bluefs env mirror: true
diff --git a/qa/downstream-config/objectstore/bluestore.yaml b/qa/downstream-config/objectstore/bluestore.yaml
new file mode 100644 (file)
index 0000000..178cc9d
--- /dev/null
@@ -0,0 +1,37 @@
+overrides:
+  thrashosds:
+    bdev_inject_crash: 2
+    bdev_inject_crash_probability: .5
+  ceph:
+    fs: xfs
+    conf:
+      osd:
+        osd objectstore: bluestore
+        bluestore block size: 96636764160
+        debug bluestore: 20
+        debug bluefs: 20
+        debug rocksdb: 10
+        bluestore fsck on mount: true
+        # lower the full ratios since we can fill up a 100gb osd so quickly
+        mon osd full ratio: .9
+        mon osd backfillfull_ratio: .85
+        mon osd nearfull ratio: .8
+        osd failsafe full ratio: .95
+# this doesn't work with failures bc the log writes are not atomic across the two backends
+# #        bluestore bluefs env mirror: true
+  ceph-deploy:
+    fs: xfs
+    bluestore: yes
+    conf:
+      osd:
+        osd objectstore: bluestore
+        bluestore block size: 96636764160
+        debug bluestore: 20
+        debug bluefs: 20
+        debug rocksdb: 10
+        bluestore fsck on mount: true
+        # lower the full ratios since we can fill up a 100gb osd so quickly
+        mon osd full ratio: .9
+        mon osd backfillfull_ratio: .85
+        mon osd nearfull ratio: .8
+        osd failsafe full ratio: .95
diff --git a/qa/downstream-config/objectstore/filestore-xfs.yaml b/qa/downstream-config/objectstore/filestore-xfs.yaml
new file mode 100644 (file)
index 0000000..108052c
--- /dev/null
@@ -0,0 +1,18 @@
+overrides:
+  ceph:
+    fs: xfs
+    conf:
+      osd:
+        osd objectstore: filestore
+        osd sloppy crc: true
+        osd max object name len: 400
+        osd max object namespace len: 64
+  ceph-deploy:
+    fs: xfs
+    filestore: True
+    conf:
+      osd:
+        osd objectstore: filestore
+        osd sloppy crc: true
+        osd max object name len: 400
+        osd max object namespace len: 64