Valentyn Khalin | bdf3ba9 | 2018-07-13 18:14:20 +0300 | [diff] [blame] | 1 | # LOGGING PART. USE IT BY DEFAULT. |
| 2 | logging: |
| 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 |
| 31 | collect_info: true |
| 32 | var_dir_root: /tmp/perf_tests |
| 33 | settings_dir: ~/.wally |
| 34 | connect_timeout: 30 |
| 35 | max_time_diff_ms: 5000 |
| 36 | rpc_log_level: DEBUG |
| 37 | default_test_local_folder: "/tmp/wally_{name}_{uuid}" |
| 38 | keep_raw_files: false # don't change this value, keep is not supported atm |
| 39 | download_rpc_logs: true |
| 40 | results_storage: /tmp/disk_perf_reports |
| 41 | ceph_opts: nodeep-scrub, noscrub |
| 42 | |
| 43 | # default optional roles |
| 44 | default_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 |
| 52 | nodes: |
| 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 |
| 58 | sensors: |
| 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 |
| 68 | tests: |
| 69 | - fio: |
| 70 | load: ceph |
| 71 | use_system_fio: true |
| 72 | use_sudo: true |
| 73 | params: |
| 74 | FILENAME: /mnt/fio |
| 75 | FILESIZE: 400G |
| 76 | |