-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmain.yml
201 lines (146 loc) · 6.1 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
---
# Which group is used for authentication
rs_auth_group: retrace
# Force to use HTTPS - only disable on trusted network
rs_require_https: true
# Allow to delete task data via HTTP API (https://server/<task_id>/delete)
rs_allow_api_delete: false
# Allow interactive tasks (security risk, do not use on public systems)
rs_allow_interactive: false
# Allow X-CoreFileDirectory header
rs_allow_external_dir: false
# Expose metrics for monitoring via Prometheus
rs_allow_metrics: true
# Allow to create tasks owned by task manager (security risk)
rs_allow_task_manager: false
# Allow to create VMCore tasks in the task manager
rs_allow_vmcore_task: true
# Allow to create VMCore tasks in the task manager
rs_allow_usrcore_task: true
# If white list is disabled, anyone can delete tasks
rs_task_manager_auth_delete: false
# Whitespace-separated list of users allowed to delete tasks
rs_task_manager_delete_users:
# If set to non-empty string, makes the case number clickable in task manager
# The string is expanded by python, with the case number passed
# as the only argument, do not forget %d
rs_case_number_url:
# Verify GPG signatures of installed packages
rs_require_gpg_check: true
# Maximum tasks running at one moment
rs_max_parallel_tasks: 5
# Maximum size of archive uploaded by user (MB)
rs_max_packed_size: 50
# Maximum size of archive contents (MB)
rs_max_unpacked_size: 1024
# Minimal storage left on WorkDir FS after unpacking archive (MB)
rs_min_storage_left: 1024
# Delete old tasks after (hours); <= 0 means never
# This is mutually exclusive with ArchiveTasksAfter (see below)
# The one that occurs first removes the task from the system
# In case DeleteTaskAfter = ArchiveTaskAfter, archiving executes first
rs_delete_task_after: 0
# Delete old failed tasks after (hours); <= 0 means never
# This is useful for cleanup of failed tasks before the standard
# mechanisms do (DeleteTaskAfter or ArchiveTaskAfter)
# In case DeleteFailedTaskAfter > DeleteTaskAfter
# or DeleteFailedTaskAfter > ArchiveTaskAfter, this option does nothing
rs_delete_failed_task_after: 0
# Archive old task after (hours); <= 0 means never
# This is mutually exclusive with DeleteTasksAfter (see above)
# The one that occurs first removes the task from the system
# In case DeleteTaskAfter = ArchiveTaskAfter, archiving executes first
rs_archive_task_after: 0
# SQLite statistics DB filename
rs_db_file: stats.db
# Log directory
rs_log_dir: /var/log/retrace-server
# Local repos directory
rs_repo_dir: /var/cache/retrace-server
# Directory where the crashes and results are saved
rs_save_dir: /var/spool/retrace-server
# Directory where old tasks are moved
rs_drop_dir: /srv/retrace/archive
# Whether to use createrepo's --update option (faster, but requires a lot of memory)
rs_use_createrepo_update: false
# How many latest packages to keep for rawhide
rs_keep_rawhide_latest: 3
# Repo used to install chroot for vmcores
rs_kernel_chroot_repo: http://dl.fedoraproject.org/pub/fedora/linux/releases/16/Everything/$ARCH/os/
# Path to the kernel (vmcore) debugger
rs_kernel_debugger_path: /usr/bin/crash
# Koji directory structure can be used to search for kernel debuginfo
rs_koji_root: /mnt/koji
# Whether task manager should look to an external FTP for task data
rs_use_ftp_tasks: false
# FTP connection parameters
rs_ftp_ssl: false
rs_ftp_host:
rs_ftp_user:
rs_ftp_password:
rs_ftp_dir: /
# Size of buffer for downloading from FTP (MB)
rs_ftp_buffer_size: 16
# Whether to use wget as a fallback to finding kernel debuginfos
rs_wget_kernel_debuginfos: false
# Where to download kernel debuginfos from
# $VERSION $RELEASE and $ARCH are replaced by the appropriate value
# kernel-debuginfo-VRA.rpm is appended to the end
rs_kernel_debuginfo_url: http://kojipkgs.fedoraproject.org/packages/$BASENAME/$VERSION/$RELEASE/$ARCH/
# Run makedumpfile with specified dumplevel; <= 0 or >= 32 means disabled
rs_vmcore_dump_level: 0
# EXPERIMENTAL! Use ABRT Server's storage to map build-ids
# into debuginfo packages and resolve dependencies
# Requires support from ABRT Server
rs_use_faf_packages: false
# Spool directory for FAF packages
faf_spool_dir: /var/spool/faf
# Run the retrace in a Mock chroot (default), a Podman container,
# or on the native machine.
# (mock|podman|native)
rs_retrace_environment: podman
# Whether to enable e-mail notifications
rs_email_notify: false
# Who sends the e-mail notifications
rs_email_notify_from_user: retrace
# Calculate md5sum for remote resources - changeable on manager page
rs_calculate_md5: 0
# URL of Bugzilla
rs_bugzilla_url: "https://bugzilla.redhat.com"
# Custom path to the file with Bugzilla credentials, stored in format:
# [bugzilla.yoursite.com]
# user =
# password =
# If not set checks for credentials in:
# ~/.config/python-bugzilla/bugzillarc, ~/.bugzillarc, /etc/bugzillarc
rs_bugzilla_credentials_path:
# Clean up tasks with assigned bugzilla bugs in following states
# NEW, ASSIGNED, ON_DEV, POST, MODIFIED, ON_QA, VERIFIED, RELEASE_PENDING, CLOSED
rs_bugzilla_status: "VERIFIED, RELEASE_PENDING, CLOSED"
# Search query options for bugzilla bugs
rs_bugzilla_product: "Red Hat Enterprise Linux 7"
rs_bugzilla_component: "kernel"
# Number and order of values in TriggerWords and RegExes should be identical
# Trigger words to look for in the text of bugzilla bugs
rs_bugzilla_triggerwords: "retrace-server-interact, retrace/tasks"
# Regular expressions used to get task numbers from the text of bugzilla bugs
rs_bugzilla_regexes: "retrace-server-interact\\s+([0-9]{9}), /var/spool/retrace-server/([0-9]{9})/crash/vmcore"
# Timeout (in seconds) for communication with any process
rs_process_communicate_timeout: 3600
rs_archhosts:
- { arch: i386, url: }
- { arch: x86_64, url: }
- { arch: ppc64, url: }
- { arch: armhfp, url: }
- { arch: s390x, url: }
# Force package reinstall
rs_force_reinstall: false
# Check server health after installation
rs_check_health: true
# Hostname
hostname: example.org
# Path to the executable hook scripts
# see https://github.com/abrt/retrace-server/wiki/Hook-scripts
rs_executable_hooks_path: "/usr/libexec/retrace-server/hooks/"
# Global time limit for hook scripts (in seconds)
rs_global_hook_timeout: 300