-.qa/suites/fs/workload/tasks/5-workunit/suites/dbench.yaml
\ No newline at end of file
+.qa/suites/fs/workload/tasks/6-workunit/suites/dbench.yaml
\ No newline at end of file
--- /dev/null
+tasks:
+- quiescer:
-.qa/suites/fs/workload/tasks/5-workunit/suites/blogbench.yaml
\ No newline at end of file
+.qa/suites/fs/workload/tasks/6-workunit/suites/blogbench.yaml
\ No newline at end of file
-.qa/suites/fs/workload/tasks/5-workunit/suites/dbench.yaml
\ No newline at end of file
+.qa/suites/fs/workload/tasks/6-workunit/suites/dbench.yaml
\ No newline at end of file
-.qa/suites/fs/workload/tasks/5-workunit/suites/fsstress.yaml
\ No newline at end of file
+.qa/suites/fs/workload/tasks/6-workunit/suites/fsstress.yaml
\ No newline at end of file
-.qa/suites/fs/workload/tasks/5-workunit/suites/iozone.yaml
\ No newline at end of file
+.qa/suites/fs/workload/tasks/6-workunit/suites/iozone.yaml
\ No newline at end of file
-.qa/suites/fs/workload/tasks/5-workunit/kernel_untar_build.yaml
\ No newline at end of file
+.qa/suites/fs/workload/tasks/6-workunit/kernel_untar_build.yaml
\ No newline at end of file
--- /dev/null
+../.qa/
\ No newline at end of file
--- /dev/null
+tasks:
+- quiescer:
+++ /dev/null
-../.qa/
\ No newline at end of file
+++ /dev/null
-overrides:
- check-counter:
- dry_run: true
-tasks:
-- workunit:
- clients:
- all:
- - direct_io
-
+++ /dev/null
-../.qa/
\ No newline at end of file
+++ /dev/null
-overrides:
- check-counter:
- counters:
- mds:
- - "mds.dir_split"
-tasks:
-- workunit:
- clients:
- all:
- - fs/misc
+++ /dev/null
-overrides:
- check-counter:
- counters:
- mds:
- - "mds.dir_split"
-tasks:
-- workunit:
- clients:
- all:
- - fs/norstats
-overrides:
- kclient:
- rbytes: false
- ceph:
- conf:
- client:
- client dirsize rbytes: false
+++ /dev/null
-overrides:
- check-counter:
- dry_run: true
-tasks:
-- workunit:
- clients:
- all:
- - fs/test_o_trunc.sh
+++ /dev/null
-overrides:
- check-counter:
- counters:
- mds:
- - "mds.dir_split"
-tasks:
-- workunit:
- clients:
- all:
- - kernel_untar_build.sh
+++ /dev/null
-# I would expect setting the context on the postgresql database directories
-# would correctly trickle down to the files created by the postgresql daemon,
-# but this does not appear to work. I would still see denials like:
-
-# type=AVC msg=audit(1655861665.521:21354): avc: denied { create } for pid=131994 comm="postmaster" name="replorigin_checkpoint.tmp" scontext=system_u:system_r:postgresql_t:s0 tcontext=system_u:object_r:cephfs_t:s0 tclass=file permissive=1'
-
-# Instead, we'll just set the context for the mount and be done with it. I've
-# left in the context setting for the directories below.
-
-overrides:
- ceph-fuse:
- client.0:
- mountpoint: /tmp/cephfs
- mntopts: ["context=system_u:object_r:postgresql_db_t:s0"]
- kclient:
- client.0:
- mountpoint: /tmp/cephfs
- mntopts: ["context=system_u:object_r:postgresql_db_t:s0"]
-tasks:
-- exec:
- client.0:
- - sudo ls -l /tmp/cephfs/ && sudo df -h /tmp/cephfs/
- - sudo mkdir -m 755 --context=system_u:system_r:postgresql_t:s0 /tmp/cephfs/postgres && sudo chown postgres:postgres /tmp/cephfs/postgres
- - sudo -u postgres -- mkdir -m 700 --context=system_u:system_r:postgresql_t:s0 /tmp/cephfs/postgres/data
- - sudo semanage fcontext -a -t postgresql_db_t "/tmp/cephfs/postgres(/.*)?"
- - sudo grep -i postgresql /etc/selinux/targeted/contexts/files/file_contexts.local
- - sudo restorecon -R -v /tmp/cephfs/postgres
- - sudo ls -lZaR /tmp/cephfs/postgres/
- - sudo mkdir -p /etc/systemd/system/postgresql.service.d/ && printf '[Service]\nEnvironment=PGDATA=/tmp/cephfs/postgres/data\nEnvironment=PGLOG=/tmp/cephfs/postgres/pgstartup.log\n' | sudo tee /etc/systemd/system/postgresql.service.d/env.conf
- - sudo -u postgres -- postgresql-setup --initdb
- - sudo ls -lZaR /tmp/cephfs/postgres/
- - sudo systemctl start postgresql
- - sudo -u postgres -- pgbench -s 32 -i
- - sudo -u postgres -- pgbench -c 100 -j 4 --progress=5 --time=900
- - sudo systemctl stop postgresql
- - sudo ls -lZaR /tmp/cephfs/postgres/
+++ /dev/null
-../.qa/
\ No newline at end of file
+++ /dev/null
-overrides:
- check-counter:
- counters:
- mds:
- - "mds.dir_split"
-tasks:
-- workunit:
- clients:
- all:
- - suites/blogbench.sh
+++ /dev/null
-tasks:
-- workunit:
- clients:
- all:
- - suites/dbench.sh
+++ /dev/null
-overrides:
- ceph:
- log-ignorelist:
- - SLOW_OPS
- - slow request
- conf:
- osd:
- filestore flush min: 0
- osd heartbeat grace: 60
- check-counter:
- counters:
- mds:
- - "mds.dir_split"
-tasks:
-- workunit:
- clients:
- all:
- - suites/ffsb.sh
+++ /dev/null
-tasks:
-- workunit:
- timeout: 6h
- clients:
- all:
- - suites/fsstress.sh
+++ /dev/null
-overrides:
- check-counter:
- counters:
- mds:
- - "mds.dir_split"
-tasks:
-- workunit:
- clients:
- all:
- - suites/fsx.sh
+++ /dev/null
-overrides:
- check-counter:
- dry_run: true
-tasks:
-- workunit:
- clients:
- all:
- - suites/fsync-tester.sh
+++ /dev/null
-overrides:
- check-counter:
- dry_run: true
-tasks:
-- workunit:
- clients:
- all:
- - suites/iogen.sh
+++ /dev/null
-overrides:
- check-counter:
- dry_run: true
-tasks:
-- workunit:
- clients:
- all:
- - suites/iozone.sh
+++ /dev/null
-overrides:
- ceph:
- conf:
- client:
- fuse set user groups: true
- fuse default permissions: false
-tasks:
-- workunit:
- timeout: 6h
- clients:
- all:
- - suites/pjd.sh
--- /dev/null
+../.qa/
\ No newline at end of file
--- /dev/null
+overrides:
+ check-counter:
+ dry_run: true
+tasks:
+- workunit:
+ clients:
+ all:
+ - direct_io
+
--- /dev/null
+../.qa/
\ No newline at end of file
--- /dev/null
+overrides:
+ check-counter:
+ counters:
+ mds:
+ - "mds.dir_split"
+tasks:
+- workunit:
+ clients:
+ all:
+ - fs/misc
--- /dev/null
+overrides:
+ check-counter:
+ counters:
+ mds:
+ - "mds.dir_split"
+tasks:
+- workunit:
+ clients:
+ all:
+ - fs/norstats
+overrides:
+ kclient:
+ rbytes: false
+ ceph:
+ conf:
+ client:
+ client dirsize rbytes: false
--- /dev/null
+overrides:
+ check-counter:
+ dry_run: true
+tasks:
+- workunit:
+ clients:
+ all:
+ - fs/test_o_trunc.sh
--- /dev/null
+overrides:
+ check-counter:
+ counters:
+ mds:
+ - "mds.dir_split"
+tasks:
+- workunit:
+ clients:
+ all:
+ - kernel_untar_build.sh
--- /dev/null
+# I would expect setting the context on the postgresql database directories
+# would correctly trickle down to the files created by the postgresql daemon,
+# but this does not appear to work. I would still see denials like:
+
+# type=AVC msg=audit(1655861665.521:21354): avc: denied { create } for pid=131994 comm="postmaster" name="replorigin_checkpoint.tmp" scontext=system_u:system_r:postgresql_t:s0 tcontext=system_u:object_r:cephfs_t:s0 tclass=file permissive=1'
+
+# Instead, we'll just set the context for the mount and be done with it. I've
+# left in the context setting for the directories below.
+
+overrides:
+ ceph-fuse:
+ client.0:
+ mountpoint: /tmp/cephfs
+ mntopts: ["context=system_u:object_r:postgresql_db_t:s0"]
+ kclient:
+ client.0:
+ mountpoint: /tmp/cephfs
+ mntopts: ["context=system_u:object_r:postgresql_db_t:s0"]
+tasks:
+- exec:
+ client.0:
+ - sudo ls -l /tmp/cephfs/ && sudo df -h /tmp/cephfs/
+ - sudo mkdir -m 755 --context=system_u:system_r:postgresql_t:s0 /tmp/cephfs/postgres && sudo chown postgres:postgres /tmp/cephfs/postgres
+ - sudo -u postgres -- mkdir -m 700 --context=system_u:system_r:postgresql_t:s0 /tmp/cephfs/postgres/data
+ - sudo semanage fcontext -a -t postgresql_db_t "/tmp/cephfs/postgres(/.*)?"
+ - sudo grep -i postgresql /etc/selinux/targeted/contexts/files/file_contexts.local
+ - sudo restorecon -R -v /tmp/cephfs/postgres
+ - sudo ls -lZaR /tmp/cephfs/postgres/
+ - sudo mkdir -p /etc/systemd/system/postgresql.service.d/ && printf '[Service]\nEnvironment=PGDATA=/tmp/cephfs/postgres/data\nEnvironment=PGLOG=/tmp/cephfs/postgres/pgstartup.log\n' | sudo tee /etc/systemd/system/postgresql.service.d/env.conf
+ - sudo -u postgres -- postgresql-setup --initdb
+ - sudo ls -lZaR /tmp/cephfs/postgres/
+ - sudo systemctl start postgresql
+ - sudo -u postgres -- pgbench -s 32 -i
+ - sudo -u postgres -- pgbench -c 100 -j 4 --progress=5 --time=900
+ - sudo systemctl stop postgresql
+ - sudo ls -lZaR /tmp/cephfs/postgres/
--- /dev/null
+../.qa/
\ No newline at end of file
--- /dev/null
+overrides:
+ check-counter:
+ counters:
+ mds:
+ - "mds.dir_split"
+tasks:
+- workunit:
+ clients:
+ all:
+ - suites/blogbench.sh
--- /dev/null
+tasks:
+- workunit:
+ clients:
+ all:
+ - suites/dbench.sh
--- /dev/null
+overrides:
+ ceph:
+ log-ignorelist:
+ - SLOW_OPS
+ - slow request
+ conf:
+ osd:
+ filestore flush min: 0
+ osd heartbeat grace: 60
+ check-counter:
+ counters:
+ mds:
+ - "mds.dir_split"
+tasks:
+- workunit:
+ clients:
+ all:
+ - suites/ffsb.sh
--- /dev/null
+tasks:
+- workunit:
+ timeout: 6h
+ clients:
+ all:
+ - suites/fsstress.sh
--- /dev/null
+overrides:
+ check-counter:
+ counters:
+ mds:
+ - "mds.dir_split"
+tasks:
+- workunit:
+ clients:
+ all:
+ - suites/fsx.sh
--- /dev/null
+overrides:
+ check-counter:
+ dry_run: true
+tasks:
+- workunit:
+ clients:
+ all:
+ - suites/fsync-tester.sh
--- /dev/null
+overrides:
+ check-counter:
+ dry_run: true
+tasks:
+- workunit:
+ clients:
+ all:
+ - suites/iogen.sh
--- /dev/null
+overrides:
+ check-counter:
+ dry_run: true
+tasks:
+- workunit:
+ clients:
+ all:
+ - suites/iozone.sh
--- /dev/null
+overrides:
+ ceph:
+ conf:
+ client:
+ fuse set user groups: true
+ fuse default permissions: false
+tasks:
+- workunit:
+ timeout: 6h
+ clients:
+ all:
+ - suites/pjd.sh