blob: 3204009f2b60b4d6dd0b11c8163157bd8e6ab455 [file] [log] [blame]
Valentyn Khalinbdf3ba92018-07-13 18:14:20 +03001# LOGGING PART. USE IT BY DEFAULT.
2logging:
3 version: 1
4 disable_existing_loggers: true
5 formatters:
6 simple:
7 format: "%(asctime)s - %(levelname)s - %(message)s"
8 datefmt: "%H:%M:%S"
9 handlers:
10 console:
11 level: INFO
12 class: logging.StreamHandler
13 formatter: simple
14 stream: "ext://sys.stdout"
15 log_file:
16 level: DEBUG
17 class: logging.FileHandler
18 formatter: simple
19 filename: null
20 loggers:
21 cmd: {"level": "DEBUG", "handlers": ["console", "log_file"]}
22 storage: {"level": "DEBUG", "handlers": ["console", "log_file"]}
23 rpc: {"level": "DEBUG", "handlers": ["console", "log_file"]}
24 cephlib: {"level": "DEBUG", "handlers": ["console", "log_file"]}
25 collect: {"level": "DEBUG", "handlers": ["console", "log_file"]}
26 agent: {"level": "DEBUG", "handlers": ["console", "log_file"]}
27 wally: {"level": "DEBUG", "handlers": ["console", "log_file"]}
28
29# default parameters copied from default.yaml
30# to avoid including useless parameters for particular load test
31collect_info: true
32var_dir_root: /tmp/perf_tests
33settings_dir: ~/.wally
34connect_timeout: 30
35max_time_diff_ms: 5000
36rpc_log_level: DEBUG
37default_test_local_folder: "/tmp/wally_{name}_{uuid}"
38keep_raw_files: false # don't change this value, keep is not supported atm
39download_rpc_logs: true
40results_storage: /tmp/disk_perf_reports
41ceph_opts: nodeep-scrub, noscrub
42
43# default optional roles
44default_dev_roles:
45 - role=testnode:
46 - type=cpu: client_cpu
47 - type=block: client_disk
48 - type=eth: client_net
49 - type=weth: client_net
50
51# predefined nodes or VM's to benchmark Ceph on them
52nodes:
53 "ssh://<SSH_USER>@<INSTANCE_IP>::<PRIV_KEY>": testnode
54 "ssh://<SSH_USER>@<INSTANCE_IP>::<PRIV_KEY>": testnode
55 "ssh://<SSH_USER>@<INSTANCE_IP>::<PRIV_KEY>": testnode
56
57# system-cpu, block-io, net-io sensors are used by default
58sensors:
59 online: true
60 roles_mapping:
61 testnode: system-cpu, system-ram, perprocess-cpu, perprocess-ram, block-io, net-io
62
63# tests to run on VM's
64# use_system_fio set to true to launch fio
65# that was installed manually on testnodes
66# use_sudo for sudo rights
67# as not always it has access to mounted drive
68tests:
69 - fio:
70 load: ceph
71 use_system_fio: true
72 use_sudo: true
73 params:
74 FILENAME: /mnt/fio
75 FILESIZE: 400G
76