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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
|
options:
basedir:
default: "daisy.ubuntu.com"
type: string
description: Base directory for code
instance_type:
default: "production"
type: string
description: Instance type
user_code_runner:
default: "whoopsie"
type: string
description: The user that runs the code
group_code_runner:
default: "whoopsie"
type: string
description: The group that runs the code
user_code_owner:
default: "webops_deploy"
type: string
description: The user that owns the code
group_code_owner:
default: "webops_deploy"
type: string
description: The group that owns the code
amqp-user:
type: string
default: 'daisy'
description: The user to log into the rabbitMQ server.
amqp-vhost:
type: string
default: '/'
description: The vhost in the rabbitMQ server.
daisy-retracer-aws-secret-key:
type: string
default: ''
description: The AWS secret key (EC2_SECRET_KEY).
daisy-retracer-aws-access-key:
type: string
default: ''
description: The AWS access key (EC2_ACCESS_KEY).
daisy-retracer-s3-host:
type: string
default: ''
description: The S3 IP address.
daisy-retracer-s3-bucket:
type: string
default: ''
description: The S3 bucket.
daisy-retracer-openstack-auth-url:
type: string
default: ''
description: |
The OpenStack authentication URL, e.g.:
https://keystone.yourdomain.com:443/v2.0/
daisy-retracer-openstack-username:
type: string
default: ''
description: The OpenStack username to authenticate with.
daisy-retracer-openstack-password:
type: string
default: ''
description: The OpenStack password to authenticate with.
daisy-retracer-openstack-tenant:
type: string
default: ''
description: |
The OpenStack tenant to use, e.g.: yourname_project.
daisy-retracer-openstack-region:
type: string
default: ''
description: The OpenStack region to use.
daisy-retracer-swift-bucket:
type: string
default: ''
description: |
The OpenStack Swift bucket to use, e.g.: daisy_core_files.
Setting this will use Swift instead of S3 for storing core files.
daisy-retracer-cassandra-host:
type: string
default: ''
description: |
Override relations to Cassandra with specific host addresses. This
is a temporary measure until cross-environment relations are ready.
daisy-retracer-architectures:
type: string
default: 'i386 amd64 armhf'
description: Space separated list of architectures for which to process reports.
daisy_code_dirs:
type: int
default: 3
description: |
How many old copies of daisy code to retain (candidates for backouts)
apport_code_dirs:
type: int
default: 3
description: |
How many old copies of apport code to retain (candidates for backouts)
repository:
type: string
default: 'ppa:daisy-pluckers/daisy-seeds'
description: The location for the daisy-dependencies package.
extra-repository:
type: string
default: 'deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/grizzly main'
description: Apt repository required for packages other than daisy-dependencies.
duplicate-database:
type: string
default: 'porter-i386.canonical.com::whoopsie/apport_duplicates.db'
description: The location for the Apport duplicates database.
time-to-retrace-alert:
type: int
default: 86400
description: |
The maximum number of seconds to allow between accepting a core file
and processing it, before we start alerting.
region:
default: "prodstack"
type: string
description: Region deploying to. Used by nrpe to define servicegroup
mailto:
default: 'root'
type: string
description: Where to send mail on failure.
max-disk-usage-pct:
default: 75
type: int
description: |
The maximum amount of free space to use before purging the retracer
caches.
cache-debs:
default: True
type: boolean
description: |
If left True, the default caching of deb files to disk is excecuted by
retracer.py. If False, do not cache deb files to disk by passing
--nocache-debs to retracer.py.
sandbox:
default: False
type: boolean
description: |
If left True, the default use of --sandbox-dir at
/srv/$sitename/$instance-type/cache is used by retracer.py. If False,
the --nouse-sandbox switch is used.
cleanup-sandbox:
default: False
type: boolean
description: |
If True, retracer.py is run with the --cleanup-sandbox options and will
cleanup the sandbox
/srv/$sitename/$instance-type/cache/$release/cache-xyz/sandbox directory
after each retrace. If left False, retracer.py uses the default behavior
of leaving cached chroot data on disk.
cleanup-debs:
default: False
type: boolean
description: |
If True, retracer.py is run with the --cleanup-debs options and will
cleanup the debs cache
/srv/$sitename/$instance-type/cache/$release/cache-xyz/cache directory
after each retrace. If left False, retracer.py uses the default behavior
of leaving cached debs data on disk.
failed-queue:
default: False
type: boolean
description: |
If True, retracer.py is run with the --failed option and will use the
failed to retrace queue to determine core files to process. If left
False, retracer.py will use the queue of core files that have never
been retraced.
daisy-cassandra-username:
type: string
default: ''
description: |
The Cassandra RPC username. Leave blank if one is not needed.
daisy-cassandra-password:
type: string
default: ''
description: |
The Cassandra RPC password. Leave blank if one is not needed.
statsd_host:
type: string
description: statsd collection host
statsd_port:
type: string
description: statsd collection port
volume-ephemeral:
type: boolean
default: true
description: >
If false, the /srv/$site/$instance_type/cache directory will be symlinked
to persistent storage. A configure-error state will be raised if
volume-map[$JUJU_UNIT_NAME] is not set (see "volume-map" below).
If true, /srv/$site/$instance_type/cache will be on the / partition.
All data will be destroyed with the instance.
Note volumes require charmsupport to be installed
volume-map:
type: string
default: '{}'
description: >
YAML map as e.g.
"{ daisy-retracer/0: /dev/vdc, daisy-retracer/1: /dev/vdc}".
Service units will raise a configure-error if volume-persistent is 'true'
and no volume-map value is set. Use 'juju set' to set a value and 'juju
resolved' to complete configuration.
oops-amqp-host:
type: string
default: ''
description: The host in the rabbitMQ server for OOPS reports.
oops-amqp-username:
type: string
default: 'daisy-retracer'
description: The user to log into the rabbitMQ server for OOPS reports.
oops-amqp-password:
type: string
default: 'daisy-retracer'
description: The password for the rabbitMQ server for OOPS reports.
oops-amqp-vhost:
type: string
default: '/'
description: The vhost in the rabbitMQ server for OOPS reports.
oops-amqp-exchange:
type: string
default: ''
description: The exchange for the rabbitMQ server for OOPS reports.
oops-amqp-routing-key:
type: string
default: ''
description: The routing key for the rabbitMQ server for OOPS reports.
service-affecting-packages:
type: string
default: ''
description: |
Packages that may need to be held from automatic upgrades in order to protect service uptime.
Space delimited list of package names.
package-status:
default: "install"
type: string
description: |
The status of service-affecting-packages will be set to this value in the dpkg database.
Useful valid values are "install" and "hold".
nagios-log-file-age-warn:
default: 1800
type: int
description: |
The nagios check warn threshold for the retracer-amd64.log file age check in seconds.
nagios-log-file-age-crit:
default: 3600
type: int
description: |
The nagios check critical threshold for the retracer-amd64.log file age check in seconds.
|